Closed Bug 1167479 Opened 9 years ago Closed 9 years ago

Clicking outside of autocomplete popup should not confirm highlighted selection

Categories

(Core :: XUL, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1152517

People

(Reporter: tawn, Unassigned)

References

(Depends on 1 open bug)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; rv:40.0) Gecko/20100101 Firefox/40.0 Build ID: 20150521004003 Steps to reproduce: Originally encountered this in my Addons Manager Hilite add-on which uses a custom autocomplete listbox. But it also occurs in Thunderbird: 1. Add "address1@example.com" and "address2@example.com" to addressbook. 2. Click "Write", write "addr" in "To" field, autocomplete should replace it to "address1@example.com" and show a popup to choose. 3. Move mouse over autocomplete popup entry address1@example.com. 4. Move mouse over autocomplete popup entry address2@example.com. 5. Move mouse down completely out of autocomplete popup . 6. Now click outside of the autocomplete popup. Actual results: The item that was last highlighted before the mouse exited the popup is confirmed just as if it was clicked on. Expected results: The original item in the To: field should stay there and not be replaced by some item that was highlighted but never actually chosen.
Tested in Thunderbird 31.7.0; issue in my Fx extension occurs on Trunk (not sure how long previously). Possibly dup or related to Bug 1106778 ?
Component: Untriaged → XUL
Depends on: 1106778
Component: XUL → XP Toolkit/Widgets: XUL
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
Component: XP Toolkit/Widgets: XUL → XUL
You need to log in before you can comment on or make changes to this bug.