Closed Bug 71326 Opened 24 years ago Closed 24 years ago

nsMenuBarListener eats all alt-combinations when it shouldn't

Categories

(Core :: XUL, defect)

x86
Windows NT
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla0.8.1

People

(Reporter: Brade, Assigned: mikepinkerton)

References

Details

Attachments

(1 file)

nsMenuBarListener eats all alt-[key] keypress events but it shouldn't if it's not 
handling the event.

in nsMenuBarListener::KeyPress, we return NS_ERROR_BASE if the alt key is pressed 
but we should do this probably only if (active).

This problem prevents alt-backspace from working in Composer (it does work in 
editfields because the events are propagated differently).
Depends on: 61341
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9
kathy, can you try the attached patch and let me know if it helps?
Target Milestone: mozilla0.9 → mozilla0.8.1
r=saari. need to track down an sr 

(oh, and i've fixed the typo - s/non/not - in the comment).
Keywords: patch, review
r=brade (too)
fixed
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Component: XP Toolkit/Widgets: Menus → XUL
QA Contact: jrgmorrison → xptoolkit.widgets
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: