Closed Bug 361316 Opened 18 years ago Closed 18 years ago

Improper reporting of window width due to extensions.

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 204743

People

(Reporter: nathanb, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0

When too many extensions are loaded and showing in the status bar, the window's width is reported inaccurately at smaller sizes.  It reports as the minimum width of the status bar (with extensions) and not the actual window width.  This causes improper drawing of html.

Case in point:
I have a javascript that opens a window with a width of 575px, and the html contents are less than or equal to 575px at all times.  Due to the number of firefox extensions I have loaded and available from my status bar, the status bar stretches beyond 575px(805px in this specific case) and the html is drawn beyond the right window border when centered on the page.  Scrollbars in this case were enabled and none appeared.

Reproducible: Always

Steps to Reproduce:
1.Load enough extensions to make the status bar minimum size larger than whatever page you are drawing.
2.View the page, centered.

Actual Results:  
Page is not centered, window width is reported incorrectly to rendering engine.

Expected Results:  
Page should have been centered in window regardless of status bar size.

If you require more information such as the extensions I am using, please feel free to email me.

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