Closed Bug 1516805 Opened 6 years ago Closed 4 years ago

Pointer Events in RDM with touch enabled still have pointerType of "mouse"

Categories

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

63 Branch
defect

Tracking

(firefox78 fixed)

RESOLVED FIXED
Firefox 78
Tracking Status
firefox78 --- fixed

People

(Reporter: redux, Assigned: mtigley)

References

(Blocks 1 open bug, )

Details

(Keywords: parity-chrome, Whiteboard: [rdm-reserve])

Attachments

(3 files)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36 Steps to reproduce: 1) go to a pointer events test page, like https://patrickhlauke.github.io/touch/tracker/multi-touch-tracker-pointer-hud.html 2) switch to responsive design mode, with touch simulation enabled 3) move the mouse over the page Actual results: The mouse cursor position is tracked and reported as a pointer with pointerType of "mouse" Expected results: The pointer should have a pointerType of "touch". Compare with Chrome DevTools' device toolbar emulation. (this is only a small point of the larger shortcomings of RDM in emulating touch, covered already in similar bugs / meta bugs like https://bugzilla.mozilla.org/show_bug.cgi?id=1401304)
Blocks: rdm-touch
Has STR: --- → yes
Component: Untriaged → Responsive Design Mode
Keywords: parity-chrome
Product: Firefox → DevTools

Yes, this needs to be fixed. Thank you for adding it as a blocker to Bug 1401304.

Priority: -- → P3
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: P3 → P2
Whiteboard: [rdm-mvp]

Stumbled on this issue while working on Bug 1282089. I'll give this one a shot.

Initial thoughts:

Assignee: nobody → mtigley
Priority: P2 → P1
Status: NEW → ASSIGNED
Assignee: mtigley → nobody
Status: ASSIGNED → NEW
Priority: P1 → P2
Priority: P2 → P3
Whiteboard: [rdm-mvp] → [rdm-reserve]
See Also: → 1625827
Assignee: nobody → mtigley
Status: NEW → ASSIGNED
Attachment #9151604 - Attachment description: Bug 1516805 - Don't dispatch pointer events from a mouse event. → Bug 1516805 - Don't dispatch pointer events from a mouse event when simulating touch devices in RDM.
Pushed by mtigley@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/8c070a63a1c8 Don't dispatch pointer events from a mouse event when simulating touch devices in RDM. r=bradwerth,masayuki https://hg.mozilla.org/integration/autoland/rev/175a146659e0 Add test that ensures mouse pointer events are not dispatched when touch is enabled. r=bradwerth
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 78
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: