on xenial help sign in
Add the comment here too
commit225ad06b2934927877daf8c431f630dfd4bbfe46 authorAlbert Astals <albert.astals@canonical.com> dateFri 5 Dec 2014, 16:59 (12 years ago) parentabff148
1 file changed+4
tests/autopilot/unity8/shell/emulators/dash.py+4
tests/autopilot/unity8/shell/emulators/dash.py+4
@@ -129,6 +129,8 @@ class Dash(emulators.UnityEmulatorBase):
129129 original_index = self.dash_content_list.currentIndex
130130 dash_content = self.select_single(objectName="dashContent")
131131 x, y, width, height = dash_content.globalRect
132+ # Make the drag range be a multiple of the drag "rate" value.
133+ # Workarounds https://bugs.launchpad.net/mir/+bug/1399690
132134 rate = 10
133135 divisions = 5
134136 jump = ( width / divisions ) // rate * rate
@@ -143,6 +145,8 @@ class Dash(emulators.UnityEmulatorBase):
143145 original_index = self.dash_content_list.currentIndex
144146 dash_content = self.select_single(objectName="dashContent")
145147 x, y, width, height = dash_content.globalRect
148+ # Make the drag range be a multiple of the drag "rate" value.
149+ # Workarounds https://bugs.launchpad.net/mir/+bug/1399690
146150 rate = 10
147151 divisions = 5
148152 jump = ( width / divisions ) // rate * rate