On the autopilot helpers, the swipe to delete a list item assumes the window is on the top-left

Bug #1311392 reported by Leo Arias
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu UI Toolkit
Fix Released
Undecided
Leo Arias
ubuntu-ui-toolkit (Ubuntu)
Fix Released
Undecided
Unassigned
Vivid
New
Undecided
Unassigned

Bug Description

There's an autopilot helper to drag a list item from left to right to delete it.
It assumes that the window is on the top-left corner of the screen, so it just uses the width as the starting point:

self.pointing_device.drag(w - (w*0.1), ty, x, ty)

This fails if the window is on a different place, because instead of just using the width, we need to take into account the x of the window.

Tags: elopio qa-new

Related branches

Leo Arias (elopio)
Changed in ubuntu-ui-toolkit:
status: New → Confirmed
assignee: nobody → Leo Arias (elopio)
Leo Arias (elopio)
Changed in ubuntu-ui-toolkit:
status: Confirmed → In Progress
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:~ubuntu-sdk-team/ubuntu-ui-toolkit/staging at revision None, scheduled for release in ubuntu-ui-toolkit, milestone Unknown

Changed in ubuntu-ui-toolkit:
status: In Progress → Fix Committed
Zoltan Balogh (bzoltan)
Changed in ubuntu-ui-toolkit:
status: Fix Committed → Fix Released
Changed in ubuntu-ui-toolkit (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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