Closed Bug 245269 Opened 21 years ago Closed 21 years ago

Focus lost on current tab when background tab loads

Categories

(Firefox :: Tabbed Browser, defect)

x86
Windows 2000
defect
Not set
minor

Tracking

()

VERIFIED DUPLICATE of bug 124750

People

(Reporter: david.rowe2, Assigned: bugs)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040206 Firefox/0.8 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040206 Firefox/0.8 This bug occurs when multiple tabs are open. When I am loading a lengthy or slow page on one tab, I am working on others. If I am typing in the current tab, and another backgroud tab finishes loading, or changes / refreshes, the current tab loses focus. Reproducible: Always Steps to Reproduce: 1. Load up multiple tabs. 2. Have a slow loading, or refreshing / lengthy page on a backgroud tab. 3. Type content in the current tab Actual Results: Lost focus on the current tab Expected Results: Kept focus on the current tab, while updating / loading th background tabs. No real crashes or anything serious. Basically an annoyance.
Summary: Focus lost on current tab when backgroud tab loads → Focus lost on current tab when background tab loads
WFM: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040601 Firefox/0.8.0+ Any specific URL to reproduce this?
Maybe what you see is the problem reported in bug 124750.
WFM: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8a2) Gecko/20040602 Firefox/0.8.0+
I can confirm it – JavaScript focus() steals focus from the current tab. To reproduce: Go to Bank of America web site: http://www.bofa.com/; Quickly press Ctrl-T and start typing characters in address bar. After BofA page is loaded it requests a focus for user id input box and steals the focus from the current tab. It is VERY annoying.
(In reply to comment #4) > I can confirm it – JavaScript focus() steals focus from the current tab. > what you describe here is bug 124750; the initial reporter didn't confirm that the problem is caused buy JavaScript focus(), otherwise I would have marked this as a duplicate;
*** This bug has been marked as a duplicate of 124750 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.