Form element in another tab steals focus from URL bar

VERIFIED DUPLICATE of bug 124750

Status

SeaMonkey
Tabbed Browser
VERIFIED DUPLICATE of bug 124750
16 years ago
10 years ago

People

(Reporter: Sean Harding, Assigned: jag (Peter Annema))

Tracking

Trunk
PowerPC
Mac OS X

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

16 years ago
Sometimes when a page finishes loading in another tab while I'm typing in the
URL bar, a form element from that page suddenly grabs focus.

For example this just happened to me:

I have two tabs -- tab 1 and tab 2. In tab 2, I start loading http://www.amazon.com/
Then I switch to tab 1, click in the URL bar and start typing
"www.seattletimes.com". 
About half way through typing the URL, Amazon.com finishes loading in tab 2. The
search box on that page gets keyboard focus, despite the fact that it's in an
inactive tab and I'm currently typing in the URL bar. So I type
"www.seattletimes.com<return>" and I end up with "www.seattlet" in the URL bar
and I've searched for "imes.com" in the inactive Amazon.com tab. This is very
annoying.

This is build 2002082909 on MacOS X 10.2.

Comment 1

16 years ago
Possible dup of bug 124750?

Comment 2

16 years ago
WorksForMe using Chimera/2002090505 on 10.1.5. I access Amazon in one tab,
switch to another before it finishes loading, and start typing in the URL bar.
The Amazonm tab doesn't steal focus, and typing continues uninterrupted.
(Reporter)

Comment 3

16 years ago
It's reproducable for me (I just tried it again), and it does look like a dup of
bug 124750 to me -- the page uses focus() in the body onload to focus that input
box.
(Assignee)

Comment 4

16 years ago
Created attachment 98808 [details]
focus testcase

This sets the focus to a text input field on a 3 second timeout, which should
give you enough time to (re)load this attachment and open a new tab.
(Assignee)

Comment 5

16 years ago
Whoops, attached that to the wrong bug.

*** This bug has been marked as a duplicate of 124750 ***
Status: UNCONFIRMED → RESOLVED
Last Resolved: 16 years ago
Resolution: --- → DUPLICATE
mass-verification of Duplicates.

mail search string for bugspam: SolarFlaresAreTheCause
Status: RESOLVED → VERIFIED
Product: Core → SeaMonkey
You need to log in before you can comment on or make changes to this bug.