Touch simulation doesn't support mobile gestures
Categories
(DevTools :: Responsive Design Mode, enhancement, P3)
Tracking
(Not tracked)
People
(Reporter: bigben, Assigned: mtigley)
References
(Blocks 2 open bugs)
Details
(Whiteboard: [rdm-reserve])
Attachments
(1 file, 2 obsolete files)
(deleted),
patch
|
Details | Diff | Splinter Review |
Reporter | ||
Comment 1•8 years ago
|
||
Reporter | ||
Comment 2•8 years ago
|
||
Updated•8 years ago
|
Reporter | ||
Updated•8 years ago
|
Reporter | ||
Comment 3•8 years ago
|
||
Reporter | ||
Comment 4•8 years ago
|
||
Reporter | ||
Comment 5•8 years ago
|
||
Reporter | ||
Comment 6•8 years ago
|
||
Reporter | ||
Updated•8 years ago
|
Updated•8 years ago
|
Updated•8 years ago
|
Updated•8 years ago
|
Comment 11•7 years ago
|
||
Comment 12•7 years ago
|
||
Updated•6 years ago
|
Updated•6 years ago
|
Assignee | ||
Comment 14•6 years ago
|
||
Mobile touch simulation will be an important feature for RDM this year. So I'll be picking this up to begin investigation on what needs to be done to get Benoit's work landed.
Comment 15•6 years ago
|
||
Comment 16•6 years ago
|
||
Updated•6 years ago
|
Assignee | ||
Comment 17•6 years ago
|
||
In order to resolve this, this bug will depend on already existing smaller bugs and we can solve it from those. For example, Part 3 introduces a possible fix to hover states, which we can fix from Bug 1282084.
Updated•6 years ago
|
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 18•6 years ago
|
||
Currently, the touch-simulator is using out of date methods to create and dispatch touch events. Now that SendNativeTouchPoint
is available on all platforms, we can now use the platform API to simulate scrolling/swiping as they would appear on a mobile device. To see where these touch points are being created in the RDM viewport, I've been using https://patrickhlauke.github.io/touch/tracker/multi-touch-tracker-pointer-hud.html.
Using SendNativeTouchPoint
, I've been observing a noticeable x and y offset of the created touch point from where the mouse has been clicked. So I'll be continuing more investigation on why this is.
Assignee | ||
Updated•6 years ago
|
Updated•6 years ago
|
Updated•5 years ago
|
Comment 19•5 years ago
|
||
If simulated touch events had event.pointerType === 'touch' instead of "mouse", this would allow developing and testing touch scroll/gestures libraries using Firefox. Obviously this will be the case when this problem is resolved... or is it worth opening a dedicated issue?
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 20•4 years ago
|
||
Now that support for mobile scrolling gestures in RDM has landed, RDM now has basic support for mobile gestures. The following gestures are supported (as of Firefox Nightly 79):
• Double tap to zoom (Bug 1621781)
• Swipe/scroll (Bug 1621781)
• Long press to open the contextual menu
• Pinch to zoom (on trackpads) thanks to work in the Bug 1620055 meta.
I believe we can close this issue now. If there are additional issues relating to simulating mobile touch gestures in RDM, we can continue to file them separately against the Bug 1401304 (rdm-touch) meta.
Description
•