Open Bug 62030 Opened 24 years ago Updated 2 years ago

Mac menu should show accelerator keycode

Categories

(Core :: XUL, defect, P3)

x86
macOS
defect

Tracking

()

REOPENED
mozilla1.1alpha

People

(Reporter: jag+mozbugs, Unassigned)

References

Details

This is a spin-off from bug 47426 to specifically address Mac. saari confirmed
that some keycodes can be shown as accelerators in Mac menus and suggested
adding code which maps between keycode and Mac native.

This here's the bug for that :-)

btw, saari, you could actually peek at the keytext attribute and if it's only
one char, display it, otherwise try the key attribute, or if that's empty (non
existant) try the keycode attribute. How's that sound?
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.0
Blocks: 46466
nominating for dogfood (from sdagley's list of bugs that are good candidates for 
our next release) 
Keywords: nsdogfood
Keywords: nsCatFood
Keywords: nsdogfood
Consider fixing in same manner as bug 70048 ?
Target Milestone: mozilla1.0 → mozilla0.9.8
Target Milestone: mozilla0.9.8 → mozilla1.1
Reading through bug 47426 my guess is that this bug is that Mozilla does not
show the keyboard shortcuts for Back, Forward, and Home in the View menu. Right?
If so, this is still needed, updating OS.

If someone fixes this, please try to fix bug 46466 too (No, it is not fixed on
mac AFAIK).
OS: Mac System 8.0 → MacOS X
Assignee: saari → nobody
Status: ASSIGNED → NEW
QA Contact: jrgmorrison
Was fixed a very long time ago
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
Err, when was this fixed?
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
This bug is about the keycode accelerators not showing up in native mac menus
(not to be confused with the key accelerators).
(In reply to comment #6)
> This bug is about the keycode accelerators not showing up in native mac menus
> (not to be confused with the key accelerators).

Back and forward are now showing, because we're now showing cmd-[/], not the
arrow keys (bug 117186). Home doesn't show anything yet, but I don't know if
this is still necessary (FF should use cmd-shift-H, bug 231248 ; Seamonkey still
uses cmd-home). Are there any other keycodes that need to be shown ?
Jo, this is about the arch problem. That's, even if nither of our apps need this
ability, keycodes should be exposed.
Component: XP Toolkit/Widgets: Menus → XUL
QA Contact: xptoolkit.widgets
is this bug about keytext attributes for keys created with the keycode attribute not showing up? Because if so, this is what I'm seeing:

<key id="someCommand" keycode="VK_F2 keytext="F2" oncommand="doSomething()"/>

does not put the label "F2" next to the menuitem it's associated with on a Mac. keytext doesn't work.
Hardware: PowerPC → x86
The View menu no longer contains commands for Back, Forward, and Home.

Keycodes appear to exist for other commands such as ⇧F2 for Tools > Web Developer > Developer Toolbar.
Seems to work here as well.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.