Closed Bug 137341 Opened 24 years ago Closed 24 years ago

selecting multiple items in form listbox scrolls to first selection

Categories

(Core :: Layout: Form Controls, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: ajschult784, Assigned: rods)

References

()

Details

(Keywords: regression)

Attachments

(1 file)

seen in Linux build 20020413 if you have one item selected near the top of a lisbox list, scroll down and ctrl- or shift-select another, it scrolls back to the first selection. this is confusing and makes it difficult to select multiple items. steps to reproduce: 1) open bugzilla query page 2) select OS "All" 3) scroll down and select "Linux" build 20020410 did not have this problem, but 20020411 does.
this bug does not occur in build 20020413 (1.0 branch) backing out the patch for bug 64165 fixes the problem.
Keywords: regression
It's definitely caused by the scroll-to-focus code, but I wouldn't have expected that to happen ... it should use mEndSelectionIndex, which is pointing to the thing you CTRL+selected or SHIFT+selected.
*** Bug 137449 has been marked as a duplicate of this bug. ***
Backed one the ScrollTo in the the SetFocus that was causing this. It should be fixed now
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
REOPENING I'm afraid that without the one line, things are worse. 1) go to bugzilla query 2) select OS "All" 3) scroll down, ctrl-click "Linux" 4) scroll down, ctrl-click "OSF/1" 5) HANG (before OSF/1 is selected) CVS 2002041521. backing out the one-line patch returns it to the original behavior of this bug.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Keywords: hang
Summary: selecting multiple items in form listbox scrolls to first selection → selecting multiple items in form listbox scrolls to first selection (or hang)
This works fine for me on Win2k and Linux and doesn't hang.
WFM Linux 2002041603.
Er, sorry, that was WinXP 2002041603 :)
first two times I tried this I got the hang immeadiately. Just now, I tried again and it worked for a long time, but eventually, I still got the hang. Will attach a stacktrace.
Attached file stacktrace
doesn't look particularly relevant to this bug.
I seem to remember a few times that I have had a similar experience (ctrl-click selecting in a listbox==>hang) with older builds and the stack looks irrelevant to this bug. In fact, I just managed to get build 20020410 to hang, so I'm going to file a new bug. re-resolving this as fixed!
Status: REOPENED → RESOLVED
Closed: 24 years ago24 years ago
Keywords: hang
Resolution: --- → FIXED
Summary: selecting multiple items in form listbox scrolls to first selection (or hang) → selecting multiple items in form listbox scrolls to first selection
QA Contact: madhur → tpreston
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: