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
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_
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.
Related branches
lp:~elopio/ubuntu-ui-toolkit/fix_swipe
- PS Jenkins bot: Approve (continuous-integration)
- Zsombor Egri: Approve
-
Diff: 28 lines (+10/-5)1 file modifiedtests/autopilot/ubuntuuitoolkit/_custom_proxy_objects/listitems.py (+10/-5)
Changed in ubuntu-ui-toolkit: | |
status: | New → Confirmed |
assignee: | nobody → Leo Arias (elopio) |
Changed in ubuntu-ui-toolkit: | |
status: | Confirmed → In Progress |
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.
Fix committed into lp:~ubuntu-sdk-team/ubuntu-ui-toolkit/staging at revision None, scheduled for release in ubuntu-ui-toolkit, milestone Unknown