Closed Bug 44454 Opened 24 years ago Closed 24 years ago

[FIX]Can't drag-scroll/-select in single-select HTML listboxes

Categories

(Core :: Layout: Form Controls, defect, P3)

x86
Windows 98
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: bugzilla, Assigned: rods)

Details

(Whiteboard: [nsbeta3+][nsbeta2-] Fix in hand)

I hate filing dups, but I just want to make sure this is out there.  One 
glaring inconsistency between native win32 and gfx listboxes is that you can't 
select an item in a gfx listbox and drag up or down to select other items and 
scroll the contents of the listbox.  The same holds true for trees.

Again, sorry if this has already been filed (I have a feeling it has, I recall 
seeing it but am unable to find it now) -- just making sure it gets noticed.
can you give an example of where one of these gfx listboxes lives in the chrome?
sorry, I reported this wrong.  I meant HTML listboxes don't let you drag scroll 
& select, and gfx trees don't let you either.  I'll send this to rods and split 
off the tree issue into a separate xpt bug....OK?
Assignee: trudelle → rods
Component: XP Toolkit/Widgets → HTML Form Controls
QA Contact: jrgm → ckritzer
Summary: Can't drag-scroll/-select in listboxes → Can't drag-scroll/-select in HTML listboxes

*** This bug has been marked as a duplicate of 27315 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
vrfy
Status: RESOLVED → VERIFIED
Nevermind, this isn't a dup.

I'm talking about listboxes where you can only select one item...you should be 
able to scroll the listbox via mousing down on on item and moving the cursor up 
or down.  The difference is that in single-select listboxes, only one item 
should be selected at a time
Status: VERIFIED → REOPENED
Resolution: DUPLICATE → ---
Summary: Can't drag-scroll/-select in HTML listboxes → Can't drag-scroll/-select in single-select HTML listboxes
I am confused, in a select with size > 1, if I select an item via the mouse, I 
can then arrow up or down and it scrolls and selects. Could you please describe 
again what is wrong?
Status: REOPENED → ASSIGNED
Target Milestone: --- → M17
Sorry for not being more clear.  In a select with a couple of items, when you 
can select only one item at a time, you should be able to mousedown on on item, 
and then move the cursor upwards or downwards to select the next subsequent 
item, scrolling the list as necessary.  In the current implementation, if you 
mousedown on an item and move the cursor up or down without letting go of the 
mousebutton, we do nothing -- whatever item was selected remains selected.

I'm not sure how other OS's behave, but this is standard on win32 -- try it 
out.  It's such a simple action that it's hard to describe (if you need more 
clarification, just ask)

A friend and I were looking into the code and didn't think this would be too 
hard to do at all.  It would be *very* similar to the drag select behavior of 
multiselect listboxes, except that in this case, only one item could be 
selected at a time.
I get it now! I'll take a quick look at this, and you are right, it shouldn't be 
too hard.
Easy fix, I have it in my tree
Keywords: nsbeta3
Summary: Can't drag-scroll/-select in single-select HTML listboxes → [FIX]Can't drag-scroll/-select in single-select HTML listboxes
Whiteboard: Fix in hand
I'm kind of interested in seeing this get in a little sooner than beta3...would 
that be possible?  Or would you rather I check it in under the contributor 
rules (you review, and I'll get approval from waterson or brendan)?
Nominating for nsbeta2, low risk fix
Keywords: nsbeta3nsbeta2
Putting on [nsbeta2-] radar. Not critical to beta2. 
Whiteboard: Fix in hand → [nsbeta2-] Fix in hand
argh...alright.

nominating for beta3, but if you don't mind Rod I'll check this in when I get 
back (I'll just get approval from brendan/waterson)
Keywords: nsbeta2nsbeta3
Blake- unless you've recently been hired by NS/AOL, you don't need nsbeta+ 
approval to checkin your fixes, only proper review and module owner approval.
Whiteboard: [nsbeta2-] Fix in hand → [nsbeta3+][nsbeta2-] Fix in hand
Marking nsbeta3+
fixed
Status: ASSIGNED → RESOLVED
Closed: 24 years ago24 years ago
Resolution: --- → FIXED
awesome.  works perfectly in 80308.  Thanks a lot, Rod.
Status: RESOLVED → VERIFIED
Adding keyword to bugs which already show a nsbeta2 triage value in the status 
whiteboard so the queries don't get screwed up.
Keywords: nsbeta2
You need to log in before you can comment on or make changes to this bug.