Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop hot key customization options #386

Closed
5 of 8 tasks
rugk opened this issue Jan 19, 2019 · 9 comments
Closed
5 of 8 tasks

Drop hot key customization options #386

rugk opened this issue Jan 19, 2019 · 9 comments
Labels
Firefox specific to Firefox fixed issue has been addressed

Comments

@rugk
Copy link

rugk commented Jan 19, 2019

Prerequisites

  • I verified that this is not a filter issue
  • This is not a support issue or a question
  • I performed a cursory search of the issue tracker to avoid opening a duplicate issue
    • Your issue may already be reported.
  • I tried to reproduce the issue when... N/A
    • uBlock Origin is the only extension
    • uBlock Origin with default lists/settings
    • using a new, unmodified browser profile
  • I am running the latest version of uBlock Origin
  • I checked the documentation to understand that the issue I report is not a normal behavior

Description

You currently provide a custom way to adjust hot keys of your extension.

Starting with Firefox 66 Firefox will provide a built-in way of doing so (German article) and thus you can IMHO drop your own customization options.

AFAIK other browsers like Chrome/ium already support that customization as a built-in feature too, so there is no need to reimplement that in your extension anymore.

A specific URL where the issue occurs

N/A

Steps to Reproduce

N/A

Expected behavior:

no built-in hotkey customization tab

New in Firefox 66:
image

Actual behavior:

this tab is there

Old:
image

Your environment

  • uBlock Origin version: v1.17.4
  • Browser Name and version: Firefox 66.0a1 (Nightly, 2019-01-19)
  • Operating System and version: Linux/Fedora 29
@uBlock-user uBlock-user added something to address something to address Firefox specific to Firefox labels Jan 19, 2019
@gorhill
Copy link
Member

gorhill commented Jan 19, 2019

I am aware of this, this will have to wait that the kinks have been fixed before I drop support in FF66.

@uBlock-user
Copy link
Contributor

You could drop support in the nextdev build untill then..

@gorhill
Copy link
Member

gorhill commented Apr 28, 2019

I am using Nightly and I still do not see a way to remove a shortcut. Am I missing something?

@rugk
Copy link
Author

rugk commented Apr 28, 2019

Trying it, I also see no way. I mean, just don't use it, if it is taken…

But yes, found the open issue about that now: https://bugzilla.mozilla.org/show_bug.cgi?id=1520119

@gwarser
Copy link

gwarser commented Apr 9, 2020

I noticed twice already, shortcuts reset to blank after some time. On Nightly. Not sure it's caused by this, but should be checked.

@gorhill
Copy link
Member

gorhill commented Apr 10, 2020

I guess this might be caused by the launch code where shortcuts are loaded and set based on state of µBlock.canUseShortcuts, while the state of µBlock.canUseShortcuts depends on an asynchronous call. I just need to move the shortcut-assigning code to where µBlock.canUseShortcuts's final state is set.

@gorhill gorhill reopened this Apr 10, 2020
@uBlock-user uBlock-user removed the fixed issue has been addressed label Apr 10, 2020
gorhill added a commit to gorhill/uBlock that referenced this issue Apr 10, 2020
@gwarser
Copy link

gwarser commented Apr 12, 2020

No issues anymore. I also tried ESR and was fine.

@gwarser gwarser closed this as completed Apr 12, 2020
@gwarser gwarser added the fixed issue has been addressed label Apr 12, 2020
@gitressa
Copy link

gitressa commented May 5, 2020

I seemed to remember that shortcuts were defined under uBlock Origin settings, but couldn't find it. It took me a bit of digging to realize that add-on shortcuts have been moved from the individual extension to a centralized settings page for add-ons, which can be accessed like this: https://github.com/gorhill/uBlock/wiki/Keyboard-shortcuts

@gitressa
Copy link

gitressa commented May 9, 2020

I have been using the development build for a week or so (currently 1.26.3rc6) and the shortcuts keep getting deleted, after I restart the browser. Should I create a new issue for this, or is this still expected behavior?

EDIT: I just tried to restart my computer, and the shortcuts stuck this time ... so perhaps the reset happens when the installed development build updates itself?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Firefox specific to Firefox fixed issue has been addressed
Projects
None yet
Development

No branches or pull requests

5 participants