Open Bug 1926962 Opened 3 months ago Updated 3 months ago

Enable some emacs bindings (CTRL+N/P) in urlbar on linux

Categories

(Firefox :: Address Bar, enhancement, P5)

enhancement

Tracking

()

ASSIGNED

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.

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)

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.

Component: Untriaged → Address Bar

(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: nobody → richardscollin
Severity: -- → N/A
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Priority: -- → P5
See Also: → 1628655
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: