Closed Bug 271565 Opened 20 years ago Closed 20 years ago

Focus is lost in location bar when page finishes loading

Categories

(Firefox :: Address Bar, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 125282

People

(Reporter: netdragon, Assigned: bugs)

Details

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0

If you are typing in the location bar, and the page finishes loading, focus is
given to the first form on the page, even if you are typing something in the
location bar... So if Google loads while I'm typing www.excite.com into the
location bar, I'll end up having something like www.exci in the location bar,
and te.com in the Google search form when I press enter.

Steps to reproduce:
1) Pick a page that takes a long time to load but has a form like Google.
2) Start typing in the location bar
3) When the page loads, see that you lose focus.

Off-topic, but the other thing I noticed is that when you are loading a page,
the location bar UI freezes up a bit, so it's harder to use the mouse, etc.
This is caused on Google by the javascript focus in the body onload event.

*** This bug has been marked as a duplicate of 125282 ***
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
yep
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.