Closed Bug 351513 Opened 18 years ago Closed 18 years ago

Background tab scrolls instead of selected tab

Categories

(Firefox :: Tabbed Browser, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 284651

People

(Reporter: Mardak, Unassigned)

References

()

Details

After a particular sequence of page loads and well timed tab changes, scrolling with space/(page)up/down does not work and actually scrolls another tab. Mousewheel/2finger scrolling continue to work as normal. To restore scrolling, the page needs to be clicked/focused.

Repro steps:

1. Have a single tab opened to http://www.mozilla.org/projects/
2. Press Ctrl-T make a new tab and load http://agadak.net/5sec.php
3. After the page loads, click the link and immediately press Ctrl-1 to switch to the first tab
4. Wait for the second tab to not say "Loading..." anymore and press Ctrl-2 to switch to the tab
5. Press space and try to scroll the page

Actual: Tab 2 does not scroll and instead tab 1 scrolls the amount that should have
Expected: Tab 2 should scroll


In other words.. switching away from a loading tab (before it gets a response from the server) then switching back after it finishes loading causes focus to stay on the last selected tab.

It doesn't require the focus to be in a text field or just on the page. Focus in general stays on the previous selected tab, so pressing tab will cycle through the links on the previous tab as well, but most common situation is probably scrolling.


This might be somewhat related to Bug 324349 but that bug involves opening a new tab and other tabs don't get scrolled.

Bug 327139 (tabbrowser.xml setFocus exception) does not occur either.


I've noticed this bug for a long time, but never figured out what exactly triggered it. I've reproduced this bug with clean profiles on the latest trunk and branch builds and even Firefox 1.0.7 plus latest branch on Mac OS X.

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/2006090504 Minefield/3.0a1
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1b2) Gecko/2006090504 BonEcho/2.0b2
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7

Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.1b2) Gecko/2006090507 BonEcho/2.0b2
This looks to be a dupe of bug 284651. Someone empowered should mark this as such.
I'll buy that.

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