The margin to swipe from top in QQuickFlickable is not enough

Bug #1618581 reported by Zoltan Balogh on 2016-08-30
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-ui-toolkit (Ubuntu)
Zoltan Balogh

Bug Description

On krillin device many of the UITK autopilot tests fail with this traceback:

File "/usr/lib/python3/dist-packages/ubuntuuitoolkit/_custom_proxy_objects/", line 164, in swipe_child_into_view
self._swipe_non_visible_child_into_view(child, containers)
File "/usr/lib/python3/dist-packages/autopilot/", line 46, in inner
return f(instance, *args, **kwargs)
File "/usr/lib/python3/dist-packages/ubuntuuitoolkit/_custom_proxy_objects/", line 174, in _swipe_non_visible_child_into_view
File "/usr/lib/python3/dist-packages/ubuntuuitoolkit/_custom_proxy_objects/", line 190, in swipe_to_show_more_above
self._swipe_to_show_more('above', containers)
File "/usr/lib/python3/dist-packages/ubuntuuitoolkit/_custom_proxy_objects/", line 252, in _swipe_to_show_more
self._slow_drag(start_x, stop_x, start_y, stop_y, rate)
File "/usr/lib/python3/dist-packages/ubuntuuitoolkit/_custom_proxy_objects/", line 137, in _slow_drag
raise _common.ToolkitException('Could not swipe in the flickable.')
ubuntuuitoolkit._custom_proxy_objects._common.ToolkitException: Could not swipe in the flickable.

In the _swipe_to_show_more() when the direction is 'above' the starting Y should be in the flickable. The self.margin_to_swipe_from_top is set to what seems to be too little.

Related branches

Changed in ubuntu-ui-toolkit (Ubuntu):
status: New → In Progress
assignee: nobody → Zoltan Balogh (bzoltan)
importance: Undecided → Critical
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers