Closed
Bug 230677
Opened 21 years ago
Closed 19 years ago
Pressing Enter in autocomplete goes to selected URL instead of URL in address bar
Categories
(Firefox :: Address Bar, defect, P3)
Tracking
()
RESOLVED
DUPLICATE
of bug 255116
People
(Reporter: jruderman, Unassigned)
Details
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7a) Gecko/20040108 Firebird/0.8.0+ (MozJF) Steps to reproduce: 1. Start typing a URL into the address bar. 2. Down-arrow into address bar autocomplete. 3. Press Home. 4. Add something to the beginning of the URL. Result: Autocomplete doesn't go away or update. Expected: Autocomplete should go away (since I'm making changes not at the end of the URL). 5. Press enter. Result: Firebird goes to the URL I selected in autocomplete. Expected: Firebird goes to the URL in the address bar.
Reporter | ||
Comment 1•21 years ago
|
||
The same bug exists in form autocomplete. It has recently been made more annoying by the fix for bug 20022. If my cursor happens to be just below the textbox, pressing Enter selects the item under the cursor instead of submitting the form. (Before the fix for bug 20022, I had to move the cursor at least a pixel to make the bug show up.)
Assignee: hewitt → bugs
Reporter | ||
Comment 2•21 years ago
|
||
See also bug 233327, same bug for using the up/down arrow keys (instead of pressing enter).
Reporter | ||
Comment 4•21 years ago
|
||
I think Firefox has forked autocomplete code.
Reporter | ||
Comment 5•20 years ago
|
||
One reason this bug is annoying: it happens whenever I right-click the address bar, select "Paste", and hit the enter key on the numpad with my right hand while it's still on the mouse.
Updated•20 years ago
|
Flags: blocking1.0? → blocking1.0+
Updated•20 years ago
|
Priority: -- → P3
Updated•20 years ago
|
Assignee: bugs → firefox
Comment 6•20 years ago
|
||
seems related to 255461 and 255324, especially 255461. after patch them, i can't reproduce the bug. Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040812
Comment 7•20 years ago
|
||
If we're going to fix this for 1.0, I think it should work like this: If the last thing you did was hit up or down arrow, you're clearly choosing something from the autocomplete dropdown, so enter should take you to that url. Otherwise, if you did pretty much anything else that would move the cursor in the urlbar, such as left/right arrow, home, end, or pressing a key, you're back into edit-the-url mode and pressing enter should take you to the url. It's important that we get this behavior correct and that this be implemented properly. If it's too hard to get this just right, we should minus it for 1.0.
Assignee: firefox → p_ch
Comment 8•20 years ago
|
||
blake, could you pls. review 255461?
Comment 9•20 years ago
|
||
annoying but Not a "blocker"
Flags: blocking-aviary1.0+ → blocking-aviary1.0-
Comment 10•19 years ago
|
||
Pressing Home now closes the autocomplete popup (bug 255116), so it seems to me as the behavior described in Blake's comment 7 is now the current behavior. Jesse, Fixed?
Assignee: p_ch → nobody
QA Contact: davidpjames → location.bar
Reporter | ||
Comment 11•19 years ago
|
||
*** This bug has been marked as a duplicate of 255116 ***
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•