Closed Bug 40000 Opened 20 years ago Closed 20 years ago

[FIX]right-click events don't go through listboxes (onmousedown/onmouseup)

Categories

(Core :: DOM: Core & HTML, defect, P3)

x86
Windows 98
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: jruderman, Assigned: rods)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [nsbeta3+]Fix in Hand)

Attachments

(2 files)

No description provided.
right-clicking on various types of listboxes doesn't send onmousedown and 
onmouseup events to the container of the listbox.

1. load attachment to bug 39985
2. right-click on dropdown, dropdown after dropping down, single-select 
listbox, or multi-select listbox

result: (as displayed on page, in reverse chronological order)

lightgraydiv onclick
multiselect onclick
multiselect onmouseup
multiselect onmousedown

expected result (relative to actual result):

lightgraydiv onclick
multiselect onclick
lightgraydiv onmouseup
multiselect onmouseup
lightgraydiv onmousedown
multiselect onmousedown
joki, could you have a look?
Assignee: jst → joki
Blocks: 39985
I suspect that the select is calling stopDispatch (or 
preventBubble/preventCapture, the old form of it) which is preventing the event 
from bubbling up from the select.  rods, the select/listbox code is yours. Could 
you look into this further?
Assignee: joki → rods
setting to M17
Target Milestone: --- → M17
Attached file reduced
Status: NEW → ASSIGNED
Keywords: nsbeta3
Summary: right-click events don't go through listboxes (onmousedown/onmouseup) → [FIX]right-click events don't go through listboxes (onmousedown/onmouseup)
Whiteboard: Fix in Hand
Marking nsbeta3+
Keywords: correctness
Whiteboard: Fix in Hand → [nsbeta3+]Fix in Hand
fixed
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Verified with 2000-09-13-09.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.