Closed Bug 331803 Opened 19 years ago Closed 19 years ago

Missing modifiers in menuitems

Categories

(Core :: XUL, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: stefanh, Assigned: emk)

Details

(Keywords: fixed1.8.1, regression)

Attachments

(4 files)

Firefox and Seamonkey trunk, Mac OS 10.3.9 In context menus that displays shortcuts, accel keys (Commmand etc) are missing. This makes the menuitems look a bit odd - it's just the accel key that is missing. Instead of, for instance, "Command" and "C" you now only see "C". Steps to repro: 1) Launch Chatzilla from a Firefox trunk build and Ctrl-click in the content area 2) Look at the right side of the menupopup and note that menuitems only displays a single character for the shortcut ("C" instead of "Command C") First seen: Firefox trunk 2006022306 Does not appear in Firefox trunk 2006022205 This affects Firefox (at least when running Chatzilla), SeaMonkey (Help window context menu, MailNews) and probably Thunderbird (iirc there are shortcuts in some mail folder/threadpane context menus)
Summary: Missing accelkeys in context menus → Missing modifiers in context menus
Is this really mac-only?
Flags: blocking1.9a1?
I cannot confirm this bug on Windows neither with the SeaMonkey nightly of 2006041208, nor with my debug build of 20060304(sic!). I do, however, see it with my SM Mac debug build of 20060409. Classic theme on both systems.
Summary: Missing modifiers in context menus → Missing modifiers in menuitems
Attached file Testcase
This is not restricted to context menus, it appears that we don't show modifiers in XUL menuitems...
> First seen: Firefox trunk 2006022306 > Does not appear in Firefox trunk 2006022205 Using the testcase, this seems to be correct.
jshin, it seems that the patch in bug 205387 have caused this. Backing out This seems to be a regression from bug 205387 - backing out the changes in gfx/src/mac that was checked in 2006-02-22 18:37 (attachment #212815 [details] [diff] [review]) fixes this.
Depends on: 205387
Attached patch patch (xpfe)Splinter Review
Requesting review since Mac developers said OK. See bug 205387 comment #51 (and following comments).
Assignee: nobody → VYV03354
Status: NEW → ASSIGNED
Attachment #219348 - Flags: review?(neil)
Attached patch patch (toolkit)Splinter Review
Same as above, except that this is a toolkit part.
Attachment #219349 - Flags: review?(bryner)
Neil doesn't have a mac (he should be able to sr the patch, though), but I can imagine Mano can take a look at this.
Are these character codes correct? Only the first one looks right to me: ⇧⌠␀⌆
Comment on attachment 219348 [details] [diff] [review] patch (xpfe) My fault; I meant to type ⇧⌃⌥⌘ which is of course correct.
Attachment #219348 - Flags: review?(neil) → review+
Attachment #219348 - Flags: review?(bugs.mano)
Changing dependency. This patch doesn't require the change of bug 205387. neil: Can I treat your r+ as sr+ per comment #9?
No longer depends on: 205387
Comment on attachment 219349 [details] [diff] [review] patch (toolkit) r=mano on the toolkit patch, checked in on trunk. Checking in platformKeys.properties; /cvsroot/mozilla/toolkit/locales/en-US/chrome/global-platform/mac/platformKeys.properties,v <-- platformKeys.properties new revision: 1.3; previous revision: 1.2 done
Attachment #219349 - Flags: review?(bryner) → review+
Comment on attachment 219348 [details] [diff] [review] patch (xpfe) r=mano.
Attachment #219348 - Flags: review?(bugs.mano) → review+
(In reply to comment #12) >Can I treat your r+ as sr+ per comment #9? Sure; do you need that checked in?
(In reply to comment #15) > >Can I treat your r+ as sr+ per comment #9? > Sure; do you need that checked in? Thank you. Please check in.
Since both patches are now checked in, resolving as fixed on trunk.
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Flags: blocking1.9a1?
Comment on attachment 219349 [details] [diff] [review] patch (toolkit) > #the shift key - open up arrow symbol (ctrl-e) >-VK_SHIFT=\u0005 >+VK_SHIFT=\u21e7 I guess '(ctrl-e)', '(ctrl-g)', etc are not necessary any more.
Comment on attachment 219349 [details] [diff] [review] patch (toolkit) Asking for branch approval. This is 'the right' thing to do and will prevent a regression when bug 205387 is fixed on branch.
Attachment #219349 - Flags: approval-branch-1.8.1?
Attachment #219349 - Flags: approval-branch-1.8.1? → approval-branch-1.8.1+
both xpfe and toolkit patches were landed on 1.8.1 branch. btw, Kimura-san, I'm sorry I forgot to credit you with the patch in cvs check-in comment. another btw, I got rid of '(ctrl-....)'.
Keywords: fixed1.8.1
Component: XP Toolkit/Widgets: Menus → XUL
QA Contact: xptoolkit.menus → xptoolkit.widgets
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: