Closed Bug 109046 Opened 24 years ago Closed 24 years ago

Ctrl-clicking on forum URLs sometimes reload current page

Categories

(SeaMonkey :: Tabbed Browser, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: r.navalinskas, Assigned: hyatt)

References

()

Details

Ctrl-clicking on forum URLs sometimes reload current page. Build: 2001110703 on Win2000 Pro. Steps: go to http://lt.telebasket.com/forum.asp?PageNum=1&id=12, Ctrl-click (if you set up it to open new tab) on one of forum message links. New tab is created, but current page also reloads. Stopping its loading manually and Ctrl-clicking other URLs works fine. Btw, I configured loading URLs in background.
This problem is still seen on Build ID: 2001122908
The page in question sets up 'window.onresize = someFunc;' where someFunc() does 'window.location.href = window.location.href' unless innerWidth and innerHeight are the same as the original values. When you ctrl-click on a link in that page, before a second tab is showing, then the creation of the tab bar triggers the onresize (which trigger a reload). The page author is getting the behaviour they requested (this is a bona fide resize event after all). The resize on reload is an old Nav4.x kludge for dhtml pages, which isn't required with mozilla. This is not a bug in mozilla. We have to issue a resize event when the tab bar appears and it's up to the page author to do what they like with it. In this case, it's mostly harmless that the page is reloaded.
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
Product: Core → SeaMonkey
You need to log in before you can comment on or make changes to this bug.