about:keyboard shows "(cannot be changed)" instead of "(set in macOS keyboard settings)" for unchangeable shortcuts assigned in System Settings
Categories
(Firefox :: Keyboard Navigation, defect)
Tracking
()
People
(Reporter: spohl, Assigned: spohl)
References
(Depends on 1 open bug)
Details
Attachments
(2 external files)
On macOS, a shortcut can be assigned to a Firefox menu item in System Settings (bug 1333781). about:keyboard then shows "(set in macOS keyboard settings)" below the action, but for the shortcuts it marks as unchangeable (Undo, Redo, Cut, Copy, Paste, Select All, Settings, Hide, Quit and Minimize) it keeps showing "(cannot be changed)" instead, while the shortcut column shows the assigned shortcut.
Steps:
- In System Settings > "Keyboard" > "Keyboard Shortcuts…" > "App Shortcuts", assign a shortcut to "Settings…" for Firefox Nightly.
- Open about:keyboard and find "Settings".
Expected: "(set in macOS keyboard settings)" below "Settings", as for other shortcuts assigned in System Settings.
Actual: "(cannot be changed)".
about:keyboard should show where the shortcut comes from for these shortcuts too. Found by QA while testing bug 1333781 (QA-5854).
| Assignee | ||
Comment 1•14 days ago
|
||
| Assignee | ||
Comment 2•13 days ago
|
||
The built-in shortcuts of Undo, Redo, Cut, Copy, Paste and Select All are handled in ShortcutKeyDefinitions.cpp, because their key elements, or the commands those point to as in the Library window, are internal. So rewriting the key element did not stop them, and both the assigned and the built-in shortcut worked. While another shortcut is assigned to such an item, the menu bar now stops its built-in shortcut, so the key does nothing.
| Assignee | ||
Comment 3•13 days ago
|
||
(Trying to add a QA whiteboard tag to have this picked up as part of QA-5854 test coverage. Monica, please adjust if I didn't do this right. Thank you!)
| Assignee | ||
Comment 4•13 days ago
|
||
Comment 5•8 days ago
|
||
Removing the NI from me as I mentioned to Stephen on slack, that the treeherder build did not worked for me.
Comment 7•1 day ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/d093f5bc7b3c
https://hg.mozilla.org/mozilla-central/rev/8babe70ccb9c
Comment 8•1 day ago
|
||
The patch landed in nightly and beta is affected.
:spohl, please make an uplift decision for beta:
- For beta, nominate the patch for beta uplift approval if the fix should be included in this release, or set
status-firefox161towontfixif the fix can wait for the next release.
Uplift requests can be submitted from Lando: D337342, D337857.
See Requesting an Uplift for documentation on how to request an uplift.
For more information, please visit BugBot documentation.
| Assignee | ||
Comment 9•1 day ago
|
||
I don't believe that this needs to be uplifted and can probably ride the trains.
Description
•