Closed
Bug 437394
Opened 17 years ago
Closed 17 years ago
does not highlight items in listbox if selectedIndex is out of visible boundary
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 250123
People
(Reporter: kimabrandt, Unassigned)
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9b5) Gecko/2008050509 Firefox/3.0b5
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9b5) Gecko/2008050509 Firefox/3.0b5
My extension does not highlight invisible (out of visible boundary) items in a listbox when selecting them by listbox.currentIndex, listbox.selectedIndex or listbox.selectedItem. Using listbox.ensureIndexIsVisible(index) before/after does not help!
Reproducible: Always
Steps to Reproduce:
1. Create a listbox with enough items in it to let them grow out of the visible boundary.
2. Select an item that is far out of the visible boundary.
3. Scroll down to the item.
Actual Results:
The item is not highlighted (though selected!). It will not even highlight on subsequent select-attempts.
Expected Results:
An selected item should be highlighted.
| Reporter | ||
Updated•17 years ago
|
Version: unspecified → 3.0 Branch
| Reporter | ||
Comment 1•17 years ago
|
||
... guess it only happens from/within load of xul documents!?
| Reporter | ||
Comment 2•17 years ago
|
||
... take it back, also happens after xul is loaded.
| Reporter | ||
Comment 3•17 years ago
|
||
On the `mozilla.dev.extensions' newsgroup Neil made clear to me what the problem is. I now use a dummy listitem in the XUL of which I create listitem clones for the listbox.
| Reporter | ||
Updated•17 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → WORKSFORME
| Reporter | ||
Updated•17 years ago
|
Resolution: WORKSFORME → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•