Input Pointer class drag function does not update the current position for Touch device.

Bug #1203808 reported by Nick Dedekind
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Autopilot
Fix Released
Critical
Unassigned
autopilot (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

After Pointer::drag returns, Pointer::x and Pointer::y should be at the co-ordinates specified by the second set of points in the drag call.
They are currently not updating. So calling:

pointer.drag(pointer.x, pointer.y, pointer.x + 10, pointer.y + 10)
pointer.drag(pointer.x, pointer.y, pointer.x + 10, pointer.y + 10)

will just do the same drag twice instead of a successively lower drag sequence.

Related branches

Changed in autopilot:
importance: Undecided → Critical
assignee: nobody → Thomi Richards (thomir)
status: New → In Progress
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:autopilot at revision 280, scheduled for release in autopilot, milestone 1.3.2

Changed in autopilot:
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package autopilot - 1.3.1+13.10.20130724.1-0ubuntu1

---------------
autopilot (1.3.1+13.10.20130724.1-0ubuntu1) saucy; urgency=low

  [ Thomi Richards ]
  * Add mouse log message. (LP: #1203613)
  * Update Pointer wrapper coordinates when performing drag operation on
    a touch device. (LP: #1203808)
  * Fix failing tests. (LP: #1204031)

  [ Leo Arias ]
  * Fixed pep8 errors in autopilot/tests/unit, part 1. (LP: #1201057)
  * Fixed pep8 errors in autopilot/tests/unit, part 2. (LP: #1201057)
  * Fixed pep8 errors in the autopilot folder. (LP: #1201057)

  [ Christopher Lee ]
  * Fixes bug 1203716 where patch_environment didn't cleanup after
    itself. (LP: #1203716)

  [ Ubuntu daily release ]
  * Automatic snapshot from revision 284
 -- Ubuntu daily release <email address hidden> Wed, 24 Jul 2013 07:35:34 +0000

Changed in autopilot (Ubuntu):
status: New → Fix Released
Changed in autopilot:
status: Fix Committed → Fix Released
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.