QQuickListView fails to click an element if part of the list is out of view
Bug #1275060 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 |
Bug Description
On the click_element method of the QQuickListView autopilot emulator we scroll if the element is out of view, but we don't take into account that the list top or bottom can also be out of view. So for those cases, we need to scroll from the borders of the main view, or the list container, or something like that.
Related branches
lp://staging/~elopio/ubuntu-ui-toolkit/fix1275060-list_view_out_of_view
- Cris Dywan: Approve
- PS Jenkins bot: Approve (continuous-integration)
- Nicholas Skaggs (community): Approve
-
Diff: 340 lines (+221/-73)2 files modifiedtests/autopilot/ubuntuuitoolkit/emulators.py (+141/-69)
tests/autopilot/ubuntuuitoolkit/tests/test_emulators.py (+80/-4)
Changed in ubuntu-ui-toolkit: | |
assignee: | nobody → Leo Arias (elopio) |
status: | New → Confirmed |
tags: |
added: qa-new removed: qa |
Changed in ubuntu-ui-toolkit: | |
status: | Confirmed → Fix Released |
To post a comment you must log in.
This bug was fixed in the package ubuntu-ui-toolkit - 0.1.46+ 14.04.20140404- 0ubuntu1
--------------- 14.04.20140404- 0ubuntu1) trusty; urgency=low
ubuntu-ui-toolkit (0.1.46+
[ Michael Zanetti ]
* fix collapseOnClick in combination with UbuntuListView (LP:
#1293996)
[ Leo Arias ]
* Added a helper for autopilot tests to override the values of initctl
vars during tests.
* Take into account the visibility of the container when making list
elements visible on the autopilot helpers. (LP: #1275060)
[ Christian Dywan ]
* Set the window title based on the Header title (LP: #1289695)
-- Ubuntu daily release <email address hidden> Fri, 04 Apr 2014 11:03:59 +0000