Closed
Bug 1328604
Opened 8 years ago
Closed 7 years ago
Avoid displaying custom shortcuts next to menu items until bug 429824 is fixed
Categories
(Core :: Widget: Cocoa, defect, P2)
Core
Widget: Cocoa
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: spohl, Assigned: spohl)
References
Details
Attachments
(1 file)
(deleted),
patch
|
mstange
:
review+
|
Details | Diff | Splinter Review |
If a user sets custom shortcuts in system preferences, these will be displayed next to menu items. However, until bug 429824 is fixed, we fail to respect these custom shortcuts. We should avoid displaying custom shortcuts next to the menu items to maintain proper state.
Assignee | ||
Comment 1•8 years ago
|
||
Attachment #8823659 -
Flags: review?(mstange)
Updated•8 years ago
|
Attachment #8823659 -
Flags: review?(mstange) → review+
Assignee | ||
Comment 2•8 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/ee828e9096c7dfce95dafddc9da6cff8b7348f34 Bug 1328604: Avoid displaying custom shortcuts on OSX until bug 429824 is fixed. r=mstange
Comment 3•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/ee828e9096c7
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox53:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla53
Comment 4•8 years ago
|
||
Stephen, I found this bug because my custom keyboard shortcut (CMD+SHIFT+, to open Nightly's "About Nightly" dialog to force a Nightly update) stopped working. But if I am reading bug 429824 correctly, my custom keyboard shortcut never should have worked?? Or is bug 429824 only about overriding a menu item's default keyboard shortcut with a custom one? My custom keyboard shortcut has worked at least since OS X 10.11 and probably earlier.
Flags: needinfo?(spohl.mozilla.bugs)
Assignee | ||
Comment 5•8 years ago
|
||
(In reply to Chris Peterson [:cpeterson] from comment #4) > Stephen, I found this bug because my custom keyboard shortcut (CMD+SHIFT+, > to open Nightly's "About Nightly" dialog to force a Nightly update) stopped > working. But if I am reading bug 429824 correctly, my custom keyboard > shortcut never should have worked?? Or is bug 429824 only about overriding a > menu item's default keyboard shortcut with a custom one? My custom keyboard > shortcut has worked at least since OS X 10.11 and probably earlier. No, it should never have worked based on bug 429824 and my own testing. Keeping n-i to back this out later tonight. We need to investigate this further before we can reland, since there's obviously more going on than what we were aware of before.
Assignee | ||
Comment 6•8 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/0d7224996287e80d2fb78ba163fd97d006a83ee4 Backout ee828e9096c7 (bug 1328604) for causing some custom shortcuts to stop working on OSX. r=backout
Comment 7•8 years ago
|
||
backout bugherder |
https://hg.mozilla.org/mozilla-central/rev/0d7224996287
Updated•8 years ago
|
Status: RESOLVED → REOPENED
status-firefox53:
fixed → ---
Resolution: FIXED → ---
Target Milestone: mozilla53 → ---
Comment 8•8 years ago
|
||
Now that this change has been backed out, my custom keyboard shortcut (CMD+SHIFT+, to open Nightly's "About Nightly" dialog) works again in Nightly 53 build 2017-01-16 on macOS 10.12.
Assignee | ||
Comment 9•7 years ago
|
||
After investigating and confirming with :cpeterson via IRC, the application menu correctly responds to custom shortcuts thanks to [1]. So although menu items in the regular menu bar do not yet respect custom shortcuts (bug 429824), we should not land this patch since that would also disable custom shortcut handling in the application menu (which imo would be worse than the current behavior). [1] https://dxr.mozilla.org/mozilla-central/source/widget/cocoa/nsChildView.mm#5450
Status: REOPENED → RESOLVED
Closed: 8 years ago → 7 years ago
Flags: needinfo?(spohl.mozilla.bugs)
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•