Closed Bug 467189 Opened 17 years ago Closed 17 years ago

Enter key selects unrelated autocomplete entry instead of submitting web form

Categories

(Firefox :: Address Bar, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 458385

People

(Reporter: a.nielsen, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-GB; rv:1.9.0.3) Gecko/2008110115 Gentoo Firefox/3.0.3 Build Identifier: Mozilla/5.0 (X11; U; Linux x86_64; en-GB; rv:1.9.0.3) Gecko/2008110115 Gentoo Firefox/3.0.3 If you type something into a web form (e.g. a Google search) and the autocomplete list pops up, and you move the mouse over the autocomplete list so that one of the entries is selected, you can keep typing in the form but the autocomplete entry remains selected, even though it is no longer related to what you're typing. When you then press Enter to submit the form, what actually happens is your text gets replaced with the autocomplete entry, which is now completely different to what you typed in. Reproducible: Always Steps to Reproduce: 1. Go to www.google.com 2. Search for "this is a test" 3. Use the back button to go back to the Google homepage 4. Click on the "a" in "this is a test" 5. Observe the autocomplete list pops up 6. Move the mouse cursor out of the way, so that it passes over the autocomplete list. 7. Observe that an autocomplete entry becomes selected, but the mouse is now nowhere near the field or the autocomplete list. 8. Type in "not", so that the search text becomes "this is not a test" 9. Press Enter (or use an arrow key) and your text will suddenly revert back to "this is a test" and you will have to type in "not" again. Actual Results: When Enter or an arrow key is pressed, the currently selected autocomplete entry is used, even though it was never supposed to be selected. Expected Results: Once the mouse cursor left the autocomplete list ("onmouseout" in JavaScript terminology) any autocomplete entry should have been deselected, to prevent this behaviour. It's very frustrating! :-)
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.