Menu buttons move focus when Down is pressed

RESOLVED FIXED

Status

()

Toolkit
XUL Widgets
RESOLVED FIXED
11 years ago
9 years ago

People

(Reporter: Neil Deakin, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

300 bytes, application/vnd.mozilla.xul+xml
Details
(Reporter)

Description

11 years ago
Created attachment 278433 [details]
testcase

When the down key (Alt+Down on Windows) is pressed while a menubutton (<button type="menu">) is focused, the button's popup opens, yet the focus also shifts to the next focusable element.

This is because the keypress handler in button.xul moves focus when cursor keys are pressed. As an aside, the code in button.xul should be checking to ensure that modifiers are not pressed, but it doesn't.

One possible fix is just not do any navigation for menu buttons.
(Reporter)

Updated

10 years ago
Depends on: 467360
(Reporter)

Comment 1

9 years ago
Fixed by 467360.
Status: NEW → RESOLVED
Last Resolved: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.