Deleting autocomplete result and hitting Enter should not load the deleted URL
Categories
(Firefox :: Address Bar, defect, P3)
Tracking
()
People
(Reporter: jwatt, Unassigned)
References
Details
(Whiteboard: [unifiedcomplete][fxsearch])
If I type something into the address bar, use the arrow keys to highlight one of the suggestions, delete it (using the Del key on win/linux or shift+backspace on mac), then hit Enter immediately, the URL of the deleted entry is loaded. I would /guess/ whats happening here is that when using the arrow keys to highlight an entry some state for "URL to load" is updated, but when an entry is deleted that URL is not updated to the URL for the item that is now selected. If someone can point me to the relevant code I'd be happy to submit a patch.
Reporter | ||
Comment 1•13 years ago
|
||
Uh, where the "some state" is the address bar itself, of course.
Reporter | ||
Comment 3•13 years ago
|
||
Please describe what you did, and what happened to the address in the address bar when you deleted an entry from the suggestions.
Comment 4•13 years ago
|
||
I misread comment 0, can reproduce it now. Involved code: http://mxr.mozilla.org/mozilla-central/source/toolkit/content/widgets/autocomplete.xml#498 http://mxr.mozilla.org/mozilla-central/source/toolkit/components/autocomplete/nsAutoCompleteController.cpp#545
Still in FF9, minor bug but annoying during the daily use of the awesome bar. As FF selects/highligths the next URL following the deleted URL, the location bar should display this URL or nothing (blank) if there is no next URL.
Comment 7•13 years ago
|
||
An add-on fixes this annoyance[1]. Perhaps someone could turn it into an actual patch. [1] https://addons.mozilla.org/en-US/firefox/addon/bug669129/
Updated•12 years ago
|
Comment 11•11 years ago
|
||
Still confirmed in FF 18.0.2
Comment 12•10 years ago
|
||
Gijs, I CC'd you to this bug, I know you work on location bar, so maybe one day in the future, you'll have cycles and time to work on it. It's a minor bug but annoying sometimes.
Comment 13•10 years ago
|
||
rb, I'm assuming you're no longer working on this... please let us know if you are still.
Comment 14•10 years ago
|
||
Actually, this bug seems to be gone by now.
Comment 15•10 years ago
|
||
No, it's still here in FF37.
Updated•9 years ago
|
Updated•9 years ago
|
Updated•8 years ago
|
Comment 17•8 years ago
|
||
would be interesting to retest this and blocked bugs after bug 1236364 is in a nightly.
Comment 18•8 years ago
|
||
(In reply to Marco Bonardo [::mak] from comment #17) > would be interesting to retest this and blocked bugs after bug 1236364 is in > a nightly. Sadly, doesn't seem fixed to me on Nightly... can you doublecheck?
Comment 19•8 years ago
|
||
yep, looks like there's more. Off-hand sounds like we don't update the input field synchronously on a removal.
Comment 20•5 years ago
|
||
I can't reproduce in Quantum Bar (tested in Nightly, but Beta should be the same(. Feel free to reopen if you still see this. Note now you must use SHIFT+DEL to remove an entry.
Comment 21•5 years ago
|
||
(In reply to Marco Bonardo [::mak] from comment #20)
I can't reproduce in Quantum Bar (tested in Nightly, but Beta should be the same(. Feel free to reopen if you still see this. Note now you must use SHIFT+DEL to remove an entry.
No wonder since deleting an item doesn't work at all. It's broken, or not implemented.
Comment 22•5 years ago
|
||
(In reply to avada from comment #21)
No wonder since deleting an item doesn't work at all. It's broken, or not implemented.
Did you notice that it is now shift-del rather than just delete? It has been working fine for us. If you still have issues, please file a new bug preferably a screenshot and any messages appearing on the browser console when you're attempting to open up the address bar results and then shift-delete.
Comment 23•5 years ago
|
||
(In reply to Mark Banner (:standard8) from comment #22)
(In reply to avada from comment #21)
No wonder since deleting an item doesn't work at all. It's broken, or not implemented.
Did you notice that it is now shift-del rather than just delete? It has been working fine for us. If you still have issues, please file a new bug preferably a screenshot and any messages appearing on the browser console when you're attempting to open up the address bar results and then shift-delete.
I see. It's a counter intuitive change, but the the bug is in fact not present now.
Description
•