Open Bug 1977557 Opened 3 months ago Updated 3 months ago

Touch simulation sends extra click and dblclick events on double click

Categories

(DevTools :: Responsive Design Mode, defect, P2)

defect

Tracking

(Not tracked)

People

(Reporter: hbenl, Unassigned)

References

(Blocks 1 open bug)

Details

STR:

  • open https://hbenl.github.io/test/touch-simulation/
  • enable RDM and touch simulation
  • open the web console - the page will log any mousedown/up, pointerdown/up, touchstart/end, click, dblclick and contextmenu events
  • double click on the page

Expected:
The following events should appear: pointerdown, touchstart, pointerup, touchend, mousedown, mouseup, click, pointerdown, touchstart, pointerup, touchend, mousedown, mouseup, click, dblclick

Actual:
The following events do appear: pointerdown, touchstart, pointerup, touchend, mousedown, mouseup, click, pointerdown, touchstart, click, dblclick, pointerup, touchend, mousedown, mouseup, click, dblclick

In manual testing this is reproducible on MacOS, Linux and Windows but the mochitest from D255787 only reproduces it on Windows.
Note that the fixes in D255787 (which is also about extra events from the touch simulation) do not fix this.

Severity: -- → S3
Priority: -- → P2
Blocks: rdm-touch
You need to log in before you can comment on or make changes to this bug.