Closed Bug 957547 Opened 6 years ago Closed 5 years ago

Implement advanced touch gestures in Mozmill

Categories

(Testing Graveyard :: Mozmill, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: andrei, Unassigned)

References

Details

(Whiteboard: [metro])

In bug 880426 we implemented basic touch events.
We have basic:
 - tap
 - doubleTap
 - touchStart
 - touchMove
 - touchEnd

Advanced/composed:
 - longPress
 - touchDrag // not sure if `swipe` isn't a better name

To simplify working with a touch interface we should also implement more advanced touch gestures / helpers

These might be:
 - swipeFromTop // This opens the Tab Menu
 - swipeFromBottom // Not sure if needed, I don't see this doing anything
 - swipeFromTopToBottom // This will close Firefox
 - pinch // For zooming in. Just tested and this is severely broken in FF for Metro ATM
 - spread // Zooming out

I've tried multiple multi-touch gestures but found no others besides pinch that work right now. In theory we could have more, like `rotate`, `doubleSwipe` (not sure about this name, doing a swipe with 2 fingers might have another effect than a single swipe), `flick`.
As said these are of no use atm.

I would suggest only implementing the ones we really need.
AFAIK Metro tablets do not support 2-fingers as of now.
(In reply to Andrei Eftimie from comment #0)
> These might be:
>  - swipeFromTop // This opens the Tab Menu
>  - swipeFromBottom // Not sure if needed, I don't see this doing anything
>  - swipeFromTopToBottom // This will close Firefox

For these I would personally prefer to see helpers that describe the intention. So we could have a function to open the tab menu by touch, close Firefox by touch, etc.

>  - pinch // For zooming in. Just tested and this is severely broken in FF
> for Metro ATM
>  - spread // Zooming out

I think you have these the wrong way around. Pinch usually zooms out, and 'spread' zooms in. Elsewhere I've seen this referred to as pinch and stretch, which I prefer to pinch and spread.
Mozmill will reach its end of life soon. We are currently working on getting all the tests for Firefox ported to Marionette. For status updates please see bug 1080766.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
Product: Testing → Testing Graveyard
You need to log in before you can comment on or make changes to this bug.