Open Bug 214922 Opened 23 years ago Updated 4 years ago

Ctrl+letter should not trigger accesskey in menu

Categories

(Core :: DOM: UI Events & Focus Handling, defect)

x86
Windows XP
defect

Tracking

()

People

(Reporter: aaronlev, Unassigned)

References

Details

(Keywords: access, helpwanted)

Not sure if there is a comparable problem on other platforms, but there probably is. To repro: Enter a menu but don't select a command yet(for example, just type alt to enter the menu bar or bring up a context menu) Hit Ctrl+letter where the letter is an underlined a accesskey in the menu The menu item activates, but it shouldn't For example, if you hit ctrl+w, the window should close, not go to the _W_indow menu. Unmofidifed keys shouldn't activate accesskeys in menus while in a menu.
Alt (or whatever your menu pref is) and Shift modifiers are probably OK.
Bug 232352 and bug 232355 may be related.
After deleting dist/bin and recompiling, bug 232352 and bug 232355 where solved. Aaron, could you try whether this helps in your case, too? On a Linux CVS build from today, CTRL+W doesn't activate the Windows menu (when another menu is open), but it still selects the menu item with the W shortcut (if there is any).
Should be pretty easy to fix somwehere in layout/xul/base/src
Severity: normal → minor
Keywords: helpwanted
*** Bug 275017 has been marked as a duplicate of this bug. ***
This is biting a few users who are focusing bookmarks in the toolbar by right clicking and then trying to hit ctrl+t to open them in a new tab (the t passes through to cut).
Mass un-assigning bugs assigned to Aaron.
Assignee: aaronleventhal → nobody
QA Contact: bugzilla → keyboard.navigation
Component: Keyboard: Navigation → User events and focus handling
Severity: minor → S4
You need to log in before you can comment on or make changes to this bug.