Public bug reported:
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.
** Affects: ubuntu-ui-toolkit (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to ubuntu-ui-toolkit in Ubuntu.
https://bugs.launchpad.net/bugs/1618581
Title:
The margin to swipe from top in QQuickFlickable is not enough
Status in ubuntu-ui-toolkit package in Ubuntu:
New
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1618581/+subscriptions
--
Mailing list: https://launchpad.net/~ubuntu-sdk-bugs
Post to : [email protected]
Unsubscribe : https://launchpad.net/~ubuntu-sdk-bugs
More help : https://help.launchpad.net/ListHelp