The margin to swipe from top in QQuickFlickable is not enough

Bug #1618581 reported by Zoltan Balogh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-ui-toolkit (Ubuntu)
In Progress
Critical
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/_flickable.py", line 164, in swipe_child_into_view
self._swipe_non_visible_child_into_view(child, containers)
File "/usr/lib/python3/dist-packages/autopilot/logging.py", line 46, in inner
return f(instance, *args, **kwargs)
File "/usr/lib/python3/dist-packages/ubuntuuitoolkit/_custom_proxy_objects/_flickable.py", line 174, in _swipe_non_visible_child_into_view
self.swipe_to_show_more_above(containers)
File "/usr/lib/python3/dist-packages/ubuntuuitoolkit/_custom_proxy_objects/_flickable.py", 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/_flickable.py", 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/_flickable.py", 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 units.gu(1) what seems to be too little.

Related branches

Cris Dywan (kalikiana)
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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