Autopilot should support 3-finger dragging gesture

Bug #1558498 reported by Richard Huddie
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Autopilot
New
Undecided
Unassigned

Bug Description

Unity8 now supports a 3-finger dragging gesture to allow moving apps into and out of sidestage. Autopilot should also provide support for this gesture so that test authors don't have to write their own.

Revision history for this message
Christopher Lee (veebers) wrote :

Sure, should be relatively straight forward to add this to the gestures module (there is already a 2 finger pinch).

Some questions; What are the requirements?

  - How far apart should the fingers be on screen, does it make sense if this is configurable.
  - What would you want to do with the drag? Should the api just be a start x,y tuple and an end x,y tuple (with maybe the finger spacing) or does it need to be more complex like a vector for the finger angle and end destination (so one can do a diagonal swipe from corner to corner)
  - Perhaps with the api the start x,y should be the middle finger and the others are spaced either side and perpendicular to the swipe vector?

Revision history for this message
Richard Huddie (rhuddie) wrote :

There's a demo of it here: https://www.youtube.com/watch?v=fiEkCaA_P7c

See about 2:30.

Looking closely at the swipe it seems to be slightly arc shaped, but I don't know if that is strictly neccessary. I'll try and get confirmation on that.

From an api perspective, I think a starting x,y and ending x,y should be sufficent, which is based on the middle touch point. Optional rate and width parameters could be added to control speed and width of the spacing. From the video it looks like the width remains constant and all the 3 touch points move in unison.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.