ubuntu-sdk-bugs team mailing list archive
-
ubuntu-sdk-bugs team
-
Mailing list archive
-
Message #00263
[Bug 1248487] Re: Need a way to ensure the toolbar is visible when clicking a button using the emulator
** Changed in: ubuntu-ui-toolkit (Ubuntu)
Assignee: (unassigned) => Tim Peeters (tpeeters)
** Changed in: ubuntu-ui-toolkit
Status: Fix Committed => Fix Released
--
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/1248487
Title:
Need a way to ensure the toolbar is visible when clicking a button
using the emulator
Status in Ubuntu UI Toolkit:
Fix Released
Status in “ubuntu-ui-toolkit” package in Ubuntu:
Fix Released
Bug description:
Since revision 805 in lp:ubuntu-ui-toolkit, the default behaviour of
the toolbar changed: it is initially shown, and automatically hides
after a timeout of 5 seconds if not interacted with.
This broke a number of existing autopilot tests in apps. The most
affected app seems to be gallery-app. This is particularly visible on
desktop and/or slow configurations: autopilot sees the toolbar up,
starts moving the cursor towards one of its buttons, but before it
reaches it the toolbar has started automatically hiding and when the
cursor reaches the position where the button was it’s no longer there.
A possible workaround is to first ensure that the toolbar is hidden,
then reveal it, and then click the button (when manually revealed, the
toolbar won’t autohide). This is not really clean though, doesn’t
really simulate what a real user would do, and it’s error prone (those
failures are race conditions, so they may surface at any time, making
the tests flaky).
The proper way to fix the problem without requiring updates to the
existing autopilot tests is to ensure that when open_toolbar() is
called, even if it’s already open some interaction with it happens, to
ensure it won’t autohide.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1248487/+subscriptions