Usability: Involuntary selection of address bar suggestion if mouse "jumps" while typing.

RESOLVED DUPLICATE of bug 408723

Status

()

Firefox
Address Bar
--
enhancement
RESOLVED DUPLICATE of bug 408723
10 years ago
10 years ago

People

(Reporter: Hans Schmucker, Unassigned)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

10 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b4pre) Gecko/2008021504 Minefield/3.0b4pre
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b4pre) Gecko/2008021504 Minefield/3.0b4pre

This is really only an annoyance (although a fairly major one for me), however it has potential to cause a vulnerability in combination with bug #417798 . Because the address bar and the suggestion list have a common focus pressing Enter while typing will cause the currently selected suggested to be opened instead of the typed in text... unfortunately it's fairly easy to accidentally select a suggestion by bumping against the table or if the mouse cursor jumps a pixel like you see on many cheap mice.

I'd suggest to split the focus for the location bar and the suggestion list... 

---------------------------------------------------------------------------

Location bar focused -> ArrowKeyDown : Suggestion list gets focused. If a suggestion entry is selected, select next entry. Otherwise select first entry.

Location bar focused -> ArrowKeyUp : Suggestion list gets focused. If a suggestion entry is selected, select previous entry. Otherwise select last entry.

Location bar focused -> Enter : Launch currently typed in address.

Location bar focused -> Escape : Unfocus Location bar.

Location bar focused -> OnMouseOver Suggestion List: Select entry but don't focus (dimmed selection).

Location bar focused -> OnClick Suggestion List: Copy entry location to location bar, launch.

---------------------------------------------------------------------------

Suggestion list focused -> ArrowKeyDown: If last entry selected, unselect entry, focus location bar.

Suggestion list focused -> ArrowKeyUp: If first entry selected, unselect entry, focus location bar.

Suggestion list focused -> Enter : Launch currently selected suggestion.

Suggestion list focused -> Escape : Unfocus selection list (dim, but don't remove highlight), focus Location bar.

Suggestion list focused -> OnClick Location bar : Unfocus Suggestion list (dim, but don't remove highlight).

---------------------------------------------------------------------------



That way enter would only mean launch when the Suggestion list is actually active.

Reproducible: Always

Steps to Reproduce:
1. Click on the location bar
2. Move the mouse out of the way downwards
3. Start typing
4. Move the mouse a bit (by bumping against the table or just keep the mouse in your right hand while typing with your left one)
5. Press Enter
Actual Results:  
The suggestion entry over which the mouse is parked gets opened.

Expected Results:  
The typed in address should be opened.
(Reporter)

Updated

10 years ago
Severity: normal → enhancement
Version: unspecified → Trunk
Status: UNCONFIRMED → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 408723
You need to log in before you can comment on or make changes to this bug.