Closed
Bug 1477367
Opened 6 years ago
Closed 6 years ago
Pressing F1 in open meatball door-hanger menu does not close the menu
Categories
(DevTools :: General, defect, P3)
DevTools
General
Tracking
(firefox63 verified)
VERIFIED
FIXED
Firefox 63
Tracking | Status | |
---|---|---|
firefox63 | --- | verified |
People
(Reporter: Abe_LV, Assigned: mantaroh)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
Steps to reproduce: 1. Open door-hanger menu 2. Press F1 3. Observe: Settings open 4. Press F1 again 5. Observe: the door-hanger menu is still open 6. Click Settings menu item 7. Observe: the menu is closes Expected Result: Door-hanger menu should be closed once settings menu is opened. Actual Result: Pressing F1 does not close the door-hanger menu. The user needs additional action to close the menu. Clicking the [Settings] menu item closes the door-hanger menu, which is good.
Updated•6 years ago
|
Priority: -- → P3
Assignee | ||
Comment 1•6 years ago
|
||
We can prevent this by handling the F1 key in menu button. WIP: https://hg.mozilla.org/try/rev/44053c25c0ef9dd8c51bee83bc4b41b24d2d58ef
Assignee: nobody → mantaroh
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•6 years ago
|
||
I think that the MenuButton needs to independent from devtools implementation and closing the menu with the F1 key is based on the devtools specification. So I updated the patch to close the popup menu via event emitter. If other operations need to close the menu, we can use this emit the event. (e.g., Ctrl + Shift + S will open the debugger panel. If we open the meatball menu and press this shortcut, devtools doesn't close the meatball menu at the moment. So we can use this event in this case.) WIP: https://hg.mozilla.org/try/rev/06f1791e627eb204e3ab42b332ae3bf76b327c16 The chevron menu creates the component when changing the panel, so I think that we don't need to apply it to the chevron menu at the moment.
Assignee | ||
Comment 3•6 years ago
|
||
Pressing the F1 key make the toolbox panel to options panel, However, popup menu doesn't closed at the moment. This patch will close the popup menu in this case.
Comment 4•6 years ago
|
||
Comment on attachment 8998383 [details] Bug 1477367 - Close the popup menu before changing the panel to options panel. r?birtles Brian Birtles (:birtles) has approved the revision.
Attachment #8998383 -
Flags: review+
Pushed by mantaroh@gmail.com: https://hg.mozilla.org/integration/autoland/rev/a5569f1c67c0 Close the popup menu before changing the panel to options panel. r=birtles
Comment 6•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/a5569f1c67c0
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox63:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 63
Reporter | ||
Comment 7•6 years ago
|
||
I tested this on mac, windows, and Ubuntu with the latest nightly. F1 key is working as intended. So this is verified as fixed.
Status: RESOLVED → VERIFIED
Reporter | ||
Updated•6 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•