Closed Bug 143966 Opened 23 years ago Closed 21 years ago

It's possible to scroll past the last row in this listbox

Categories

(SeaMonkey :: Preferences, defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED WORKSFORME

People

(Reporter: hwaara, Assigned: bugs)

Details

This is reproduced on RC2. STEPS TO REPRODUCE: 1. Open Preferences 2. Go to the "System" panel 3. Look at the "file types" listbox, and scroll it EXPECTED RESULTS: you shouldn't be able to scroll past the last row ACTUAL RESULT: the scrollbar or row count is somehow messed up, so you can scroll past the last row. Note: this might be a listbox core bug, but I'll try the Preferences component for now.
Summary: File type listbox's scrollbar indicates more rows than what's actually in it → It's possible to scroll past the last row in this listbox
This happens in the Calendar's unifinder as well, so am guessing it is a listbox issue. CC'ing mikep so that he's aware of this issue and any forthcoming fix.
Easy to reproduce. Create a listbox like: <listbox id="associationList" flex="1" hidecolumnpicker="true" seltype="single"> <listhead> <listheader label="Patterns" flex="1" class="treecell-header outset"/> </listhead> <listcols> <listcol flex="1"/> </listcols> </listbox> Now, use js to add elements via the listbox.addItem function. 1. you cannot select the first item. 2. you can scroll about 10 times further than there are rows. Adding a single empty listitem element to the listbox xul above is a workaround. This requires me to add code to work around a bug, would love to see this one fixed.
I cannot reproduce the bug with 1.6a 2003092604/win98SE build. Reporter (Håkan Waara), can you still reproduce the bug?
WFM
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → WORKSFORME
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.