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)
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)
Updated•6 years ago
|
Blocks: rdm-touch
Has STR: --- → yes
Component: Untriaged → Responsive Design Mode
Keywords: parity-chrome
Product: Firefox → DevTools
Comment 1•6 years ago
|
||
Yes, this needs to be fixed. Thank you for adding it as a blocker to Bug 1401304.
Priority: -- → P3
Updated•6 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Updated•6 years ago
|
Priority: P3 → P2
Whiteboard: [rdm-mvp]
Assignee | ||
Comment 2•6 years ago
•
|
||
Stumbled on this issue while working on Bug 1282089. I'll give this one a shot.
Initial thoughts:
- There are methods in the PointerEventHandler class that check if the pointer event should be generated as mouse or touch. Specifically ShouldGeneratePointerEventFromMouse and ShouldGeneratePointerEventFromTouch. This might be a good place to start if we want to try solving this from the platform side of things.
Assignee: nobody → mtigley
Priority: P2 → P1
Assignee | ||
Updated•6 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Updated•5 years ago
|
Assignee: mtigley → nobody
Status: ASSIGNED → NEW
Priority: P1 → P2
Updated•5 years ago
|
Priority: P2 → P3
Whiteboard: [rdm-mvp] → [rdm-reserve]
Assignee | ||
Updated•4 years ago
|
Assignee: nobody → mtigley
Status: NEW → ASSIGNED
Assignee | ||
Comment 3•4 years ago
|
||
Updated•4 years ago
|
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.
Assignee | ||
Comment 4•4 years ago
|
||
Depends on D76764
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
Comment 6•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/8c070a63a1c8
https://hg.mozilla.org/mozilla-central/rev/175a146659e0
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
status-firefox78:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 78
You need to log in
before you can comment on or make changes to this bug.
Description
•