Closed Bug 292299 Opened 19 years ago Closed 19 years ago

Opening a link in a new tab causes the current page to jump to the top if no other tabs are open

Categories

(Core :: Layout, defect)

x86
All
defect
Not set
major

Tracking

()

RESOLVED FIXED

People

(Reporter: jcginn, Assigned: roc)

References

Details

(Keywords: regression)

Opening a link in a new tab, when no other tabs are open, will cause the site
loaded in the original tab to jump to the top of the page. This is especially
noticeable when tabs are set to load in the background. The reverse is also true
- if two tabs are open, closing one of the tabs will cause the other tab to
scroll to the top.

Steps to reproduce:

1) With no other tabs open, visit a site like Mozillazine.
2) Scroll down the page some.
3) Middle click a link to open it in a new tab.

The tab containing the initial website (Mozillazine in the example) will scroll
back to the top of the page. 

I think this might have been caused by the checkin for Bug 240276.

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050428
Firefox/1.0+
Depends on: 292286
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b2) Gecko/20050429
Firefox/1.0+

confirming
->Major (because it partially breaks naviagation)

this also can been seen in Chatzilla randomly scrolling to the top
Severity: normal → major
I can confirm this with SeaMonkey Build 2005042822 too. 

So I think this one is a Core-Layout-Bug. Probably someone with
editbug-Privileges can change the Product and Component fields. 
Assignee: nobody → roc
Product: Firefox → Core
Component: Tabbed Browser → Layout
Confirming on Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2)
Gecko/20050428 Firefox/1.0+ (without using tabs)

BTW it seems page scrolling is a bit stuttering now, is it only me or a
byproduct of this bug?

(In reply to comment #3)
> BTW it seems page scrolling is a bit stuttering now, is it only me or a
> byproduct of this bug?
I noticed some drag too
Blocks: 240276
same thing in gtk2+xft, must be related to CZ opening everything anchored to the top
OS: Windows XP → All
A similar issue, I think probably related (or at least likely caused by bug
240270): when a long page is loading it jumps to the top of the page at each
reflow. For example, search in Bugzilla for the phrase ‘tab’, and you can’t
scroll down.

~Grauw
Flags: blocking1.8b2?
Flags: blocking-aviary1.1?
Flags: blocking1.8b2? → blocking1.8b2+
Is this fixed by bug 292286?
I can verify that this is fixed on Mac OS X, using an Atlantia build that
includes the fix for bug 292286.  Looks like the next Beast build will have it
too...

Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b2) Gecko/20050501
Firefox/1.0+
(In reply to comment #9)
> I can verify that this is fixed on Mac OS X, using an Atlantia build that
> includes the fix for bug 292286.  Looks like the next Beast build will have it
> too...
> 
> Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b2) Gecko/20050501
> Firefox/1.0+

Same here, on Windows 2000, using the latest beast build.
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b2) Gecko/20050501
Firefox/1.0+
Resolving Fixed.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Flags: blocking-aviary1.1?
You need to log in before you can comment on or make changes to this bug.