Closed Bug 1538709 Opened 5 years ago Closed 4 years ago

Click events are still triggered when touch simulation is activated in RDM

Categories

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

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: pbro, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [rdm-reserve])

Attachments

(1 file)

Attached file touch.html

Steps:

  • open the attached HTML test case
  • open RDM
  • turn on touch simulation
  • touch once in the canvas area (as in, click down then up, without moving)

The expectation is that the log area only displays touch events.
Result: instead, I see this:

click
mouseup
mousedown
touchend
touchstart:0.
touchstart:0...
touchstart.

Testing in Chrome's mobile view does what I expected. The log only shows this:

touchend
touchstart:0.
touchstart:0...
touchstart.

Might be the same root cause as bug 1386796.

See Also: → 1386796
See Also: → 1282084
See Also: 1282084
Has STR: --- → yes

I'll take a look. We also seem to have an intermittent test in Bug 1442943 that's related to this issue.

Assignee: nobody → bwerth
Priority: -- → P2
See Also: → 1442943

Tested this with the latest Fenix and can confirm that it behaves similar to Chromes mobile view.

Whiteboard: [rdm-mvp]
Status: NEW → ASSIGNED
Priority: P2 → P1
Assignee: bwerth → nobody
Status: ASSIGNED → NEW
Priority: P1 → P3
Whiteboard: [rdm-mvp] → [rdm-reserve]
See Also: → 1608708

I can't reproduce on Nightly 77.0a1 (2020-04-10) on macOS with the attached test case.

  • RDM with touch events simulation enabled: only logs touch events
  • RDM with touch events simulation disabled: only logs click & mouse events

Might have been fixed in another bug?

Flags: needinfo?(patrickbrosset+bugzilla)

Looks like this was fixed by Bug 1623941. I'll resolve this issue, but please feel free to re-open if you're experiencing this issue still.

Status: NEW → RESOLVED
Closed: 4 years ago
Flags: needinfo?(patrickbrosset+bugzilla)
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: