Extension keyboard shortcuts are constantly being lost and must be manually reset
Categories
(WebExtensions :: Untriaged, defect)
Tracking
(Not tracked)
People
(Reporter: jeff, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0
Steps to reproduce:
Firefox 76.01 desktop on Xubuntu 19.10
Ever since the Manage Extension Shortcuts screen was added to the Add-ons page, it has been possible to set shortcuts for various extensions. In my case I am setting them for the uBlock Origin extension.
After setting these and exiting the page, the shortcuts work for a while. However they are not preserved across login sessions and seem to get lost erratically -- possibly when Firefox updates it's engine (??) or when all Firefox sessions terminate and get restarted. I'm unsure about the other conditions that trigger this, but they are definitely gone and need to be manually reset upon a new login session.
I have not been able to determine where these shortcut assignments are saved in the profile folder if they are being saved at all.
Certain extensions seem to have some predefined shortcuts which are persistent. For example, Flagfox assigns Shift+Alt_G to the Geotool and Page Saver WE is invoked with Shift-Alt-I and these shortcuts are persistent. uBlock Origin has no automatic presets and any assigned by the user are always lost.
Actual results:
Extension shortcuts assignments are not preserved.
Expected results:
Extension shortcuts assignments should be preserved.
Comment 1•6 years ago
|
||
Bugbug thinks this bug should belong to this component, but please revert this change in case of error.
Comment 2•6 years ago
|
||
This is hard to figure out with vague STR. Are you experiencing loss of other profile data like history or bookmarks?
Are you able to reproduce with a fresh profile?
Updated•6 years ago
|
| Reporter | ||
Comment 4•6 years ago
|
||
Followup: I was loosing the shortcut settings very frequently and have been trying to find a trigger for it. I was noticing they seemed to stick around for an entire session but seemed to be gone every time I logged in or rebooted. However, I just ran some serious testing against my normal profile with all it's active extensions and a test profile that only had uBlock Origin as the single extension. I've logged out/in multiple times and rebooted. Now I am finding that the extension shortcuts are being preserved. This is in Firefox 77.0.1 which is different from 76.0.1 when I initially reported this problem. So it looks like whatever was triggering the problem is now fixed in version 77 and I agree with the decision to close this. Regards.
Comment 5•6 years ago
|
||
This bug has not been fixed, it's closed because there is another bug that covers the same issue - bug 1639705.
The issue happens when an extension uses the runtime.onUpdateAvailable API. Using that API defers the update, and the bug in Firefox is that this is seen as "uninstall" + "install". The user-facing result is that shortcuts are lost.
When the add-on doesn't update, then the shortcuts won't be reset.
Description
•