Closed Bug 364299 Opened 19 years ago Closed 9 years ago

[cocoa] Two menu items can't have the same key equivalents (No keybinding set for History->Show In Sidebar, sometimes)

Categories

(Core :: Widget: Cocoa, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: asaf, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: regression)

Setting menuitem's checked attribute removes its key in cocoa widget. STR: 1. Check View->Toolbars->History 2. Open the View->Toolbar menu again -> History item's key (Cmd+Shift+H) is gone. Note: autocheck is set to false for this item.
The real problem here is that two menu items can't have the same key equivalents. The toolbars->history menu item is freaking out because History->"Show in Sidebar" has the same key equiv.
Summary: Setting menuitem's checked attribute removes its key → Two menu items can't have the same key equivalents
Flags: blocking1.9?
Keywords: regression
Summary: Two menu items can't have the same key equivalents → [cocoa] Two menu items can't have the same key equivalents (No keybinding set for History->Show In Sidebar, ometimes)
Summary: [cocoa] Two menu items can't have the same key equivalents (No keybinding set for History->Show In Sidebar, ometimes) → [cocoa] Two menu items can't have the same key equivalents (No keybinding set for History->Show In Sidebar, sometimes)
I don't see why this is a problem.. two menu items shouldn't be able to have the same keybinding, fullstop. Is the actual issue that the "newer/incoming" one overwrites the older one, and then causes the older one to disappear forever?
If you assign the same keybinding to two different cocoa menu items, the behavior is probably going to be random as to which one retains the keybinding and which one doesn't. Unless there is a trick for getting them both to have it, we're just going to have to live with this. Which isn't *that* bad. I have filed a bug with Apple and asked around, but its not looking like we'll find a better solution.
Marking blocking1.9- because it is unlikely that we will fix this, you only get into this situation with questionable UI decisions, and they keyboard commands still work. Still a wanted fix though if we can get it.
Flags: blocking1.9? → blocking1.9-
Assignee: joshmoz → nobody
@Reporter: Please provide update if this is still a concern -Menu functionality has been updated -Command Shift H still works and displays the History Sidebar *Can Close Version 46.0.1 Build ID 20160502172042 User Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:46.0) Gecko/20100101 Firefox/46.0
Flags: needinfo?(asaf)
Resolved WFM
Status: NEW → RESOLVED
Closed: 9 years ago
Flags: needinfo?(asaf)
Resolution: --- → FIXED
Resolution: FIXED → WORKSFORME
You need to log in before you can comment on or make changes to this bug.