Open
Bug 467932
Opened 16 years ago
Updated 2 years ago
Listcell's in Listbox are not automatically resized when window is resized
Categories
(Core :: XUL, defect)
Tracking
()
NEW
People
(Reporter: morac, Unassigned)
References
Details
(Keywords: regression, testcase)
Attachments
(1 file)
1.01 KB,
application/vnd.mozilla.xul+xml
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b3pre) Gecko/20081203 Shiretoko/3.1b3pre
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b3pre) Gecko/20081203 Shiretoko/3.1b3pre
If there is a listbox displaying a multiple listheaders and multiple list cells and the window is resized making the width smaller, the listcells do not resize with the window. If the width is made larger, the listcells do resize with the window. The listheaders resize whether the width is made larger or smaller.
This bug appears to have been introduced in the 1.9 branch since the problem does not occur in Firefox 2.0.0.18.
Reproducible: Always
Steps to Reproduce:
1. Create a listbox with a listhead and multiple listitems. There should also be multiple listcols. Set a flex value on the listcols.
2. Resize the window to make the width smaller
Actual Results:
Listcell's in the listitems do not resize, but the listheaders in the listhead do resize.
Expected Results:
All elements in the listbox should resize with the window like they do in Firefox 2.0.0.18.
Reporter | ||
Comment 1•16 years ago
|
||
Open this up in a window and then make the window width smaller. The list head will update, but the listitems will not update until the user selects one of the listitems. At that point the listcell widths will update.
The widths will automatically update when the window width is made wider, but not when the width is made smaller.
Comment 2•16 years ago
|
||
This is a regression from Bug 300030.
Reporter | ||
Comment 3•16 years ago
|
||
I found a work around. The lisbox focus needs to changed to trigger the redraw, so if the listbox is focuses issue a blur() on it, if it is not focused issue a focus() on it. This can be triggered in the window onresize event. It's a hack since the listcells appear "jumpy" on a resize, but it works.
Updated•16 years ago
|
Comment 4•15 years ago
|
||
I can still reproduce this in the latest nightly.
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•