Open
Bug 322788
Opened 19 years ago
Updated 2 years ago
hidechrome window drawing problem (on resize)
Categories
(Toolkit :: UI Widgets, defect)
Tracking
()
UNCONFIRMED
People
(Reporter: migmigmig, Unassigned)
References
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051206 Songbird/0.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051206 Songbird/0.1
The same physical symptoms as 298072 occur when using the window.resize methods.
1) Turn on the hidechrome attribute of a window under Win32
2) In or after that window's onload, call resizeTo or resizeBy
3) See a bar across the bottom and right hand sides of the window. This is space owned by the HWND but the document isn't properly sized to the window rect.
Don't know if this needed to be a new bug or not.
Reproducible: Always
Err, between steps 2 and 3 you will have to drag the xul window or another window around to see the bug. The default pixels in the bars are just the underlying pixels of the desktop.
Comment 3•16 years ago
|
||
I have found a workaround for this bug. Unfortunately, I have no time to produce a patch.
Workaround code is :
setTimeout(function(){
window.minimize();
},0);
Place it to onLoad event, and it will fix the problem.
I hope, that it will help to understand the origin of the problem.
Comment 4•16 years ago
|
||
One note, it works for dialog and has not been tested for single windows.
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•