Closed Bug 210367 Opened 21 years ago Closed 21 years ago

When going to a webpage with forms and creating a new tab, it sometimes loses focus on the address bar and gains focus in the previous tab (form)

Categories

(SeaMonkey :: Tabbed Browser, defect)

x86
Windows 2000
defect
Not set
minor

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 124750

People

(Reporter: kamikaze, Assigned: jag+mozilla)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030612
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030612

When visiting communitys or any page with forms (logins and such), if you type
the url, and then create a new tab quickly and start entering the new url it
looses focus and the text entered comes to the previous tabs form. Possibly
because some pages uses javascript to get focus to the login form and that
script loads after the tab is created?

Reproducible: Always

Steps to Reproduce:
1. Go to a url with forms
2. Quickly create a new tab and start writing new url

sometimes it only appears when you open two or more in a row..

Actual Results:  
Entered text goes into form in previous tab, but the focus remains in the new tab

Expected Results:  
Not loose focus on the new url
See bug 210401 comment 1 for possible duplicate...
If the background tab is using focus(), then this is a dupe of bug 124750.
Summary: when going to a webpage with forms and creating a new tab it sometimes looses focus on the url entering and gains focus in the previous tab (form) → When going to a webpage with forms and creating a new tab, it sometimes loses focus on the address bar and gains focus in the previous tab (form)
I've been encountering this too, and always on websites that use input.focus().
I'm going to mark this a dupe of bug 124750, but please reopen if anyone can
find a counterexample.

*** This bug has been marked as a duplicate of 124750 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
Product: Core → SeaMonkey
You need to log in before you can comment on or make changes to this bug.