In Composer, we implement a class nsTextEditorMouseListener derived from nsIDOMMouseListener, but MouseDblClick() is not getting called. All the other mouse event handlers are called ok. I also checked other classes such as nsGfxListEventListener::MouseDblClick and nsMenuListener::MouseDblClick and they don't get called either. This is blocking editor work as we need to implement our double-click support before Beta2.
Yes, we need to implement dblclick but its only for 4.x compatibility, this isn't a blocker. Read the spec, the current way to do dblclick is to use mousedown/click/mouseup (whichever applies) and check the clickCount property
Status: NEW → ASSIGNED
Whiteboard: [blocker for Composer]
Target Milestone: --- → M18
Cool. I wasn't aware that I should monitor MouseUp instead. So I'm happy now!
*** Bug 41495 has been marked as a duplicate of this bug. ***
Bug 41495 has testcases for ondblclick.
Duping on 29473 *** This bug has been marked as a duplicate of 29473 ***
Status: ASSIGNED → RESOLVED
Last Resolved: 19 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.