Closed
Bug 417930
Opened 18 years ago
Closed 18 years ago
Usability: Involuntary selection of address bar suggestion if mouse "jumps" while typing.
Categories
(Firefox :: Address Bar, enhancement)
Firefox
Address Bar
Tracking
()
RESOLVED
DUPLICATE
of bug 408723
People
(Reporter: hansschmucker, Unassigned)
Details
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•18 years ago
|
Severity: normal → enhancement
Version: unspecified → Trunk
Updated•18 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•