Closed
Bug 815735
Opened 13 years ago
Closed 7 years ago
Ctrl+P and Ctrl+N do the wrong thing in the URL bar on a mac
Categories
(Firefox :: Address Bar, defect, P5)
Tracking
()
RESOLVED
DUPLICATE
of bug 1389221
People
(Reporter: tjmart1, Unassigned, Mentored)
References
Details
(Keywords: parity-chrome)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:20.0) Gecko/20.0 Firefox/20.0
Build ID: 20121126030823
Steps to reproduce:
Type something in the URL bar, and attempt to use Ctrl+P and Ctrl+N to navigate among the results.
Actual results:
The cursor jumps to the beginning/end of the line.
Expected results:
In all other browsers, Ctrl+P/N navigates between results like the up/down arrow keys do. In general, they function as up and down in most contexts, including firefox text inputs.
Updated•13 years ago
|
Status: UNCONFIRMED → NEW
Component: Untriaged → Location Bar
Ever confirmed: true
Comment 1•8 years ago
|
||
This is still true in Firefox 57. Quite annoying for power users of the developer edition.
Comment 2•8 years ago
|
||
unhelpful |
Shouldn't this be an easy fix? Is there something I'm missing? I would like to try to fix this myself, but compiling firefox locally is very very daunting.
Updated•7 years ago
|
Keywords: parity-chrome
Priority: -- → P5
Comment 4•7 years ago
|
||
This is not a Chrome-parity thing, btw. It's how every native Mac app behaves.
Marco, how could we get this moving? Would this be a good mentored bug?
Flags: needinfo?(mak77)
Comment 6•7 years ago
|
||
does it work the same in content autocomplete fields too?
Because the problem is that actually (hopefully not in the future) the urlbar code is shared with normal autocomplete code, and the UP/DOWN/... keys are handled at the nsAutoCompleteController.cpp level. It is surely possible to intercept and replace the keycode and avoid to change the controller though. But it all depends on whether this behavior (in other browser) happens only in the urlbar or in any autocomplete field. Then the code to touch may differ.
It's not a good-first-bug patch, but it's likely mentorable, once someone does the due diligence to investigate the above detail. Depending on the outcome of that investigation we'll take different paths.
Mentor: mak77
Flags: needinfo?(mak77)
Updated•7 years ago
|
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•