Closed Bug 2048 Opened 26 years ago Closed 25 years ago

[PP][NATIVE] click-dragging or shift-clicking ranges on list boxes busted

Categories

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

x86
Windows NT
defect

Tracking

()

VERIFIED WONTFIX

People

(Reporter: pollmann, Assigned: kmcclusk)

Details

When I click-drag or shift-click to select a range in a list box with the multiple attribute set, then query the number of selected options with the GetSelectedCount() method, it returns a value of one. Here my code, which gets the wrong value from the widget: nsSelectControlFrame.cpp:936 in MouseClicked() // Get the selected option from the view nsIListBox* listBox; nsresult result = mWidget->QueryInterface(kListBoxIID, (void **) &listBox$ if (!(NS_OK == result) || !listBox) { return; } // XXX THIS IS RETURNING THE WRONG VALUE FOR SHIFT-CLICK and CLICK-DRAGS on NT PRUint32 numSelected = listBox->GetSelectedCount(); PRInt32* selOptions; if (numSelected >= 0) { selOptions = new PRInt32[numSelected]; listBox->GetSelectedIndices(selOptions, numSelected); } NS_RELEASE(listBox);
Assignee: kmcclusk → rods
Status: NEW → ASSIGNED
Setting all current Open/Normal to M4.
per leger, assigning QA contacts to all open bugs without QA contacts according to list at http://bugzilla.mozilla.org/describecomponents.cgi?product=Browser
Assignee: rods → kmcclusk
Status: ASSIGNED → NEW
This is a not implemented feature.
Status: NEW → ASSIGNED
Target Milestone: M4 → M5
Target Milestone: M5 → M6
Target Milestone: M6 → M8
Moving to M8
Summary: click-dragging or shift-clicking ranges on list boxes busted → [PP][NATIVE] click-dragging or shift-clicking ranges on list boxes busted
Target Milestone: M8 → M15
Marking this as [PP][NATIVE] Moving to M15. The gfx (frame-based) list box does not have this limitation.
Moving all Widget Set bugs, past and present, to new HTML Form Controls component per request from karnaze. Widget Set component will be retired shortly.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Fixed by enabling gfx rendered form elements as of Aug 19, 1999 4:00PM. Will not fix for native widgets
Status: RESOLVED → REOPENED
Status: REOPENED → RESOLVED
Closed: 25 years ago25 years ago
Resolution: FIXED → WONTFIX
Status: RESOLVED → VERIFIED
reopening because this should be RESOLVED WONTFIX
verified
You need to log in before you can comment on or make changes to this bug.