Pressing Option + Up / Down should open unified search button
Categories
(Firefox :: Address Bar, enhancement, P2)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox146 | --- | verified |
People
(Reporter: daleharvey, Assigned: daleharvey)
References
(Blocks 1 open bug)
Details
(Whiteboard: [sng-scotchbonnet-followon][scotchbonnet-unifiedsearchbutton])
Attachments
(1 file)
Updated•9 months ago
|
Updated•9 months ago
|
Updated•9 months ago
|
Updated•9 months ago
|
Comment 1•9 months ago
|
||
Hi Dale!
I tried to implement this one, but it might be impossible to do on the current element we are using.
My approach was to add the key event listener to the component and scroll when we detect the event.
We changed the popup component from <panel> to <menupopup> in bug 1934410 though, it seems that we can't detect key events for the menupopup element. Also, looks like there is no way to change the scroll behavior for inside of menupopup.
Thus, I don't think we can do it by my approach, but do you have another approach?
Updated•8 months ago
|
Updated•8 months ago
|
| Comment hidden (advocacy) |
| Comment hidden (advocacy) |
Same bug, (slightly) broader scope :
Like the current search menu works, pressing the Up and Down arrow keys should seamlessly navigate between search suggestions and the list of search engines
(As not every keyboard user is a power user, keyboard navigation of the search menu should not require previous knowledge an obscure shortcut like Option + Up/Down)
Comment 6•6 months ago
|
||
(In reply to gui97cham from comment #5)
Same bug, (slightly) broader scope :
Like the current search menu works, pressing the Up and Down arrow keys should seamlessly navigate between search suggestions and the list of search engines
(As not every keyboard user is a power user, keyboard navigation of the search menu should not require previous knowledge an obscure shortcut like Option + Up/Down)
I agree, this is a very important aspect. π Just plain up/down would also return the keyboard shortcut feature to how it was before 138, thus making it easier for users.
| Assignee | ||
Comment 7•6 months ago
|
||
Hey Daisuke
Apologies for taking so long to get to this, so I think if we want the wrap around behaviour here we probably need to talk to someone more familiar with the popup / menulist components.
However I am not sure the wrap around behaviour is the most important part, I think one of the main benefits here is to open the unified search popup while the urlbar is focused without having to alt+tab to the actual button, once the popup is open then up / down can be used to scroll the engines and the OPTION is ignored. I think that code is somewhere around https://searchfox.org/mozilla-central/source/browser/components/urlbar/UrlbarController.sys.mjs#304
I think that along is worth fixing, dropped the ball here so happy to pick it up if unless you want to go again? Cheers
Comment 8•5 months ago
|
||
(In reply to Dale Harvey (:daleharvey) from comment #7)
I think that along is worth fixing, dropped the ball here so happy to pick it up if unless you want to go again? Cheers
Hey Daisuke, are you going to pick this up again?
Comment 9•5 months ago
|
||
Hi DΓ£o, thank you very much for your ping!
Dale, if it is possible to do this after fixing realtime suggestions, I want to do this.
If this is urgent, could you take this one, unfortunately?
Comment 10•5 months ago
|
||
(In reply to Daisuke Akatsuka (:daisuke) from comment #9)
If this is urgent, could you take this one, unfortunately?
From my perspective, it would be nice to have this in preparation for the new search bar implementation where we intend to also bring in the unified search button instead of one-off search buttons.
| Assignee | ||
Comment 11•5 months ago
|
||
No worries I will give it a shot
| Assignee | ||
Comment 12•3 months ago
|
||
Comment 13•3 months ago
|
||
Comment 14•3 months ago
|
||
| bugherder | ||
Updated•3 months ago
|
Updated•3 months ago
|
Comment 15•3 months ago
|
||
Reproduced with Firefox 145.0a1 (2025-10-29) on macOS 15.
Verified as fixed with Firefox 146.0a1 (20251028094950) on macOS 15, Win 10 and Ubuntu 22.
Description
•