ubuntu-apps-bugs team mailing list archive
-
ubuntu-apps-bugs team
-
Mailing list archive
-
Message #00431
[Bug 1248620] Re: autopilot sees two instances of QQuickWindow
Not a bug in webbrowser-app. It was worked around in its tests though.
** Changed in: webbrowser-app (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Apps bug tracking, which is subscribed to webbrowser-app in Ubuntu.
https://bugs.launchpad.net/bugs/1248620
Title:
autopilot sees two instances of QQuickWindow
Status in Autopilot Qt support:
New
Status in “webbrowser-app” package in Ubuntu:
Invalid
Bug description:
Around the same time as the transition to autopilot 1.4, a test in
webbrowser-app’s test suite started failing reliably on otto (and
sometimes on mako too).
See https://jenkins.qa.ubuntu.com/job/autopilot-testrunner-otto-
trusty/466/testReport/junit/webbrowser_app.tests.test_title/TestWindowTitle/test_window_title/
for the failure log.
The problem is that the test does this:
window = self.app.select_single("QQuickWindow")
and this raised the following exception:
ValueError: More than one item was returned for query
It appears autopilot is seeing two instances of QQuickWindow (as
evidenced by replacing select_single by select_many and printing out
the output). The first one is the actual application’s window. The
second one is not visible, its dimensions are 0×0, it has no children,
but its parent is the same as the real window (the webbrowser-app
object).
I have never been able to reproduce the error locally, so I have no
clue where this window comes from, but this looks to me like a bug in
autopilot-qt. Please re-assign accordingly if it’s not.
To manage notifications about this bug go to:
https://bugs.launchpad.net/autopilot-qt/+bug/1248620/+subscriptions