Closed Bug 57583 Opened 25 years ago Closed 25 years ago

[CBX]Clicking on disabled <SELECT> <option> should do nothing

Categories

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

x86
Windows 98
defect

Tracking

()

VERIFIED DUPLICATE of bug 57580
Future

People

(Reporter: bugzilla, Assigned: rods)

References

()

Details

Build ID: new trunk Steps to Reproduce: (1) Debug > Viewer Demos > #8 Form (resource:///res/samples/test8.html) (2) Scroll down to Disabled Option Test (3) Click on the "One" item in the listbox under "Select size=4 with Disabled option (Listbox)" (4) Now click on the "Two" item Result: You can't select the "Two" item, as is desirable, but selection shouldn't disappear completely from the listbox. Instead, the "One" item should just remain selected, and nothing else should happen (clicking on the disabled item should just be like clicking on dead space)
This also applies to single-select <SELECT>'s; let me know if you want a separate bug. Steps to Reproduce: (1) Click the <SELECT> under "Select size=1 with Disabled option (Combobox)" to drop down the list (2) Click "Two" <the first time, the list closes with "One" still the selected item> (3) Click the <SELECT> to drop down the list again. (4) Click "Two" again Result: now the list closes, but there's no selected item (it's just blank), which is even worse. The most desirable behavior is that the list doesn't close at all -- if the user clicks on any disabled items, nothing should happen to the currently highlight item, and the list should remain open/dropped. Less desirable behavior, but still better than current behavior, is that the list will still close, but the highlighted item becomes the selected item (instead of nothing becoming the selected item). As I said, though, the former described behavior is most desirable.
erg...I don't single-select in my last comment, I mean size=1 <select>'s
This is a bummer, this was suppose to be fixed.
Target Milestone: --- → Future
Summary: Clicking on disabled <SELECT> <option> should do nothing → [CBX]Clicking on disabled <SELECT> <option> should do nothing
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
*** This bug has been marked as a duplicate of 57580 ***
Verifying as a duplicate of bug 57580 '[MF][LST]Can still select disabled listbox items'
Status: RESOLVED → VERIFIED
Rod, are you sure the patch for one will fix the patch for the other...?
You need to log in before you can comment on or make changes to this bug.