Closed Bug 192427 Opened 22 years ago Closed 21 years ago

after closing tab, site is not redrawn / rendered which causes unnescessary scrollbars

Categories

(Core :: Layout, defect)

x86
Linux
defect
Not set
trivial

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: mozbugzilla, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021226 Debian/1.2.1-9 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021226 Debian/1.2.1-9 On the page at http://www.freshdot.net/, is a site that fits a Mozilla window on 1024x768 resolution, if you open a new tab, an new "menu bar" appears and the page doesn't fit the mozilla window anymore, so a scrollbar appears. When closing the tabs again, the site is not redrawn, so the scrollbars stay, until I press reload. Reproducible: Always Steps to Reproduce: 1. Use a mozilla window sized 1024x768 2. Browse to http://www.freshdot.net/ without using tabs 3. See how the page renders completely in one window 4. Press Control-T to generate a new tab 5. Switch to the first tab with the site in it & see the scrollbars 6. Switch back to the new tab and close it. The scrollbars stay. 7. Press reload to remove them again. Actual Results: Site was not redrawn. Expected Results: Site should have been redrawn. :) See http://www.freshdot.net/px/moz.jpg for an example of how my Mozilla window looks like, it might be relevant to get the exact size / format of the render-canvas for this to happen.
this is not actually a problem with tabs. it can also be reproduced by making the window shorter a little bit at a time. Once scrollbars appear make the window taller again. Making it as tall as it could be without scrollbars does not remove the scrollbars. The problem is that making it short creates a vertical scrollbar which then necessitates a horizontal scrollbar. The scrollbars don't go away until the vertical height can fit in the window even with the horizontal scrollbar. I suspect that Mozilla is leaving the scrollbars to prevent a page with dynamic content from oscillating. ==> layout
Assignee: jaggernaut → other
Component: Tabbed Browser → Layout
QA Contact: pmac → ian
http://www.freshdot.net/ seems to have been redesigned and is not showing the problem anymore. Sander Smeenk, can you provide us with a testcase that demonstrates the problem please?
URL doesn't show the problem anymore. Marking WFM.
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.