Open Bug 1154300 Opened 5 years ago Updated 10 months ago

Search Box searches executed with keyboard take into account mouse position


(Firefox :: Search, defect, P3)




Tracking Status
firefox38 --- wontfix
firefox38.0.5 --- wontfix
firefox39 --- wontfix
firefox40 --- wontfix
firefox41 --- wontfix


(Reporter: tomklemnyc, Unassigned)



(Whiteboard: [fxsearch])

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:37.0) Gecko/20100101 Firefox/37.0
Build ID: 20150402191859

Steps to reproduce:

Type in searches in search box and hit enter.

Actual results:

1) Uses random search instead of default search (Google)


2) A window pops up asking me to select my default search engine when I already have.


3) Works as it should, giving me the default Google search.

There is no discernible pattern to which it does.

Expected results:

My default (Google search) should run.
Does this also happen when you start Firefox in a brand new profile?
Component: Untriaged → Search
Flags: needinfo?(tomklemnyc)
I'm experiencing the same issue, FF 37.0.1
Is it really random or is it doing what your mouse cursor is hovering over? For me, it seems that the 'Enter' key is being caught by the button mouseover instead of the text box.

If the mouse happens to be over the place where one of the buttons in the search box pops up, and the user types into the box, we switch search engines, which is extremely confusing.

I guess executing the search with enter should not take the mouse hover into account.
Ever confirmed: true
OS: Windows 7 → All
Hardware: x86_64 → All
Version: 37 Branch → Trunk
Attempt at a better description.
Flags: needinfo?(tomklemnyc)
Summary: Search Box uses wrong search engine → Search Box searches executed with keyboard take into account mouse position
This looks like a duplicate of Bug 1139655 - mouse over search engine changes search engine (too easy to inadvertently use different engine for searches)
Not really. There's also bug 1113731 which is even closer to this one, but the STR between the 3 are all subtly different.
See Also: → 1139655, 1113731
Priority: -- → P3
Whiteboard: [fxsearch]
Rank: 35
This issue is still present. If the mouse is hovering over a search provider icon, or the "Change Search Settings" button, pressing Enter behaves exactly the same as a mouse click. Interestingly, this does not happen for the toolbar search bar, but only for the search bar on about:home/about:newtab.
You need to log in before you can comment on or make changes to this bug.