Closed
Bug 366525
Opened 19 years ago
Closed 19 years ago
resizing the browser window can lead to an infinite loop of the tab overflow scroll buttons hiding and showing
Categories
(Firefox :: Tabbed Browser, defect)
Firefox
Tabbed Browser
Tracking
()
RESOLVED
FIXED
People
(Reporter: moco, Unassigned)
References
Details
Attachments
(1 file)
1.64 KB,
patch
|
Details | Diff | Splinter Review |
resizing the browser window can lead to an infinite loop of the tab overflow scroll buttons hiding and showing
vlad showed this to beltzner and me with a trunk build on windows, but he mentioned that dan mills verified he could make it happen on fx 2 on mac.
it looks like we are getting into a state where the overflow and underflow handlers are being called in a vicious cycle. (see http://lxr.mozilla.org/seamonkey/source/toolkit/content/widgets/tabbrowser.xml#2546)
with the default tabClipWidth and tabMinWidth settings, do this:
1) open 10 tabs
2) type this into the url bar:
javascript:window.resizeTo(1100,400);javascript:window.resizeTo(1050,400);
that will resize the window to 1110 pixels and quickly resize to 1050 pixels.
on my trunk windows build, that sends the tab bar into a fit.
I'll try on mac as well.
Reporter | ||
Comment 1•19 years ago
|
||
on a related note, vlad also pointed out (and i confirmed) that it appears that our onResize() handler is not called as frequently on the trunk as it is on the fx2 branch, meaning as I resize I'm not seeing the tab strip adjust like it does on the fx2 branch.
see http://lxr.mozilla.org/seamonkey/source/toolkit/content/widgets/tabbrowser.xml#2649
I'll confirm and log a spin off bug.
Reporter | ||
Comment 2•19 years ago
|
||
on my mac trunk debug build, this does the trick with 10 tabs:
javascript:window.resizeTo(1100,400);javascript:window.resizeTo(1020,400);
Reporter | ||
Comment 3•19 years ago
|
||
I have not been able to reproduce this problem (or the one in comment #1) on fx 2.0 mac. dan, can you double check that you saw this bug in fx 2 (and not the trunk?)
Reporter | ||
Comment 4•19 years ago
|
||
on windows, you may need this url instead:
javascript:window.resizeTo(500,400);javascript:window.resizeTo(1100,400);javascript:window.resizeTo(1050,400);
Reporter | ||
Comment 5•19 years ago
|
||
I don't see this problem (or the one in comment #1) on fx 2.0 windows, either.
Reporter | ||
Updated•19 years ago
|
Version: 2.0 Branch → Trunk
Comment 6•19 years ago
|
||
untested.
Reporter | ||
Comment 7•19 years ago
|
||
asaf, is that patch for this bug (or the one in comment #1, that I need to spin off?)
Comment 8•19 years ago
|
||
This one, so I hope.
Comment 9•19 years ago
|
||
<gavin_> ManoZZZ: + if (handleResize shouldn't that be self.handleResize?
<ManoZZZ> gavin_: right
Reporter | ||
Comment 10•19 years ago
|
||
this looks like a dup of bug #365477, which contains a patch (pending review) to layout and toolkit.
Reporter | ||
Comment 11•19 years ago
|
||
thunder, can you confirm if this is a problem with fx 2.0 mac?
Comment 12•19 years ago
|
||
It is not a problem on 2.0 on the mac. The problem appears to be specific to the trunk.
Reporter | ||
Updated•19 years ago
|
Comment 14•19 years ago
|
||
Fixed by bug 365477.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•