Enable some emacs bindings (CTRL+N/P) in urlbar on linux
Categories
(Firefox :: Address Bar, enhancement, P5)
Tracking
()
People
(Reporter: richardscollin, Assigned: richardscollin)
References
Details
Attachments
(1 file)
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0
Steps to reproduce:
When the urlbar is select and there are results appearing in the pop-up bar a user should be able to move up and down in the results with ctrl+p and ctrl+n respectively on linux.
Actual results:
When the url bar is active these keybindings do the same action as usual on linux ctrl+N will open a new window and ctrl+P will open the print dialog.
Expected results:
using Ctrl-N and Ctrl-P with the urlbar select and results on linux should have the same behavior as on Mac. This was mentioned as possible additional feature request in this bug https://bugzilla.mozilla.org/show_bug.cgi?id=1628655#c9
This can be assigned to me to implement.
Assignee | ||
Comment 1•3 months ago
|
||
This should be simple to implement, as the logic is already there for mac.
Should this be put behind a feature flag?
It could also be selectively enabled only when the emacs gtk is enabled. Chromium has this behavior. (It might be a bit more tricky to implement this way though)
Comment 2•3 months ago
|
||
The Bugbug bot thinks this bug should belong to the 'Firefox::Address Bar' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 3•3 months ago
|
||
(In reply to Collin Richards from comment #1)
It could also be selectively enabled only when the emacs gtk is enabled. Chromium has this behavior. (It might be a bit more tricky to implement this way though)
Right, we should first figure out if we can easily detect that state? We can ask the Widget GTK peers in case.
I'm assigning the bug to your for now, we'll have of course to check this doesn't break other assumptions, but if we can do it only when the feature is enabled in GTK, then it's much easier to avoid issues.
Assignee | ||
Comment 4•3 months ago
|
||
Description
•