Open
Bug 298632
Opened 20 years ago
Updated 10 months ago
Listbox in a prefwindow of type "prefwindow" fails whereas one of type "child" succeeds
Categories
(Toolkit :: Preferences, defect)
Tracking
()
UNCONFIRMED
People
(Reporter: mimecuvalo, Unassigned, NeedInfo)
References
(Blocks 1 open bug)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050531 Firefox/1.0+ Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050531 Firefox/1.0+ Basically what the title says: I am dynamically generating listitems for a listbox and I found that if my prefwindow was of type "prefwindow" the listbox would fail to generate a vertical scrollbar if there were more items than rows visible. However, if the type was set to "child" the listbox would generate fine. Example (this code will show the bug; to correct it change the type attribute on the prefwindow element to 'child') <prefwindow id="fireftpOptions" type="prefwindow" buttons="accept, cancel" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" onload="buildListbox()" title="Preferences"> <script><![CDATA[ function buildListbox() { var listbox = document.getElementById('test'); for (var x = 0; x < 10; ++x) { listbox.appendItem(x,x); } } ]]></script> <prefpane id="myPane"> <preferences> </preferences> <listbox id="test" rows="5"/> </prefpane> </prefwindow> Reproducible: Always Steps to Reproduce: Actual Results: Vertical scrollbar fails to appear. Expected Results: Vertical scrollbar should appear.
Comment 1•19 years ago
|
||
Cannot reproduce on Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050805 Firefox/1.0+
Updated•15 years ago
|
QA Contact: nobody → preferences
Comment 3•2 years ago
|
||
In the process of migrating remaining bugs to the new severity system, the severity for this bug cannot be automatically determined. Please retriage this bug using the new severity system.
Severity: major → --
Comment 4•10 months ago
|
||
The severity field is not set for this bug.
:jhirsch, could you have a look please?
For more information, please visit BugBot documentation.
Flags: needinfo?(jhirsch)
You need to log in
before you can comment on or make changes to this bug.
Description
•