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)
Tracking
()
VERIFIED
WONTFIX
M15
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 | ||
Updated•26 years ago
|
Assignee: kmcclusk → rods
Updated•26 years ago
|
Status: NEW → ASSIGNED
Comment 2•26 years ago
|
||
per leger, assigning QA contacts to all open bugs without QA contacts according
to list at http://bugzilla.mozilla.org/describecomponents.cgi?product=Browser
Updated•26 years ago
|
Assignee: rods → kmcclusk
Status: ASSIGNED → NEW
Comment 3•26 years ago
|
||
This is a not implemented feature.
Assignee | ||
Updated•26 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Updated•26 years ago
|
Target Milestone: M4 → M5
Assignee | ||
Updated•26 years ago
|
Target Milestone: M5 → M6
Assignee | ||
Updated•25 years ago
|
Target Milestone: M6 → M8
Assignee | ||
Comment 4•25 years ago
|
||
Moving to M8
Assignee | ||
Updated•25 years ago
|
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
Assignee | ||
Comment 5•25 years ago
|
||
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.
Assignee | ||
Updated•25 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 7•25 years ago
|
||
Fixed by enabling gfx rendered form elements as of Aug 19, 1999 4:00PM.
Will not fix for native widgets
Status: REOPENED → RESOLVED
Closed: 25 years ago → 25 years ago
Resolution: FIXED → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•