PointerEvents for the left mouse button do not work correctly on MacOS when Control is pressed
Categories
(Core :: DOM: UI Events & Focus Handling, defect, P3)
Tracking
()
People
(Reporter: pdaehne, Unassigned)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
Attachments
(1 file)
|
968 bytes,
text/html
|
Details |
Comment 2•7 years ago
|
||
Comment 3•7 years ago
|
||
Comment 4•7 years ago
|
||
Updated•5 years ago
|
Comment 6•5 years ago
•
|
||
We probably doesn't handle the mouse event with modifiers well.
Comment 7•5 years ago
|
||
For Control + left mouse button case, it seems there is a bug in https://searchfox.org/mozilla-central/rev/a4be2fbe9bd4f405c91cc16e4e3a80400f5a9301/dom/events/PointerEventHandler.cpp#512-517 which init a pointermove event instead.
(In reply to Edgar Chen [:edgar] (OOO from 2/19 to 3/6) from comment #7)
For
Control+left mouse buttoncase, it seems there is a bug in https://searchfox.org/mozilla-central/rev/a4be2fbe9bd4f405c91cc16e4e3a80400f5a9301/dom/events/PointerEventHandler.cpp#512-517 which init apointermoveevent instead.
I too just noticed that, there always seems to be a pointermove event instead of the pointerdown. This issue is really important to us because our product is a datavis toolkit and so this breaks our right click interactions
Comment 9•5 years ago
|
||
This should be fix on Nightly now (bug 1615732), but we still need to fix bug 1630959 first before enabling it on all channel (bug 1630962).
Updated•4 years ago
|
Comment 10•4 years ago
|
||
I don't think this is fixed on Nightly. Control-click generates pointerdown→mousedown→contextmenu on Chrome 95 and Safari 14.1, but still only mousedown→contextmenu (i.e. it omits "pointerdown") on FF 95 and Nightly. [See https://jsfiddle.net/y8ot42pa/]
Setting “dom.event.treat_ctrl_click_as_right_click.disabled” to true does seem to fix the issue, but I'm not sure what the side effects are.
Using a 2012 MacBook Pro running Mojave 10.14.6.
Updated•3 years ago
|
Description
•