QQuickWindow’s contentItem is not accessible

Bug #1218971 reported by Olivier Tilloy on 2013-08-30
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Autopilot Qt Support

Bug Description

When using a Window item in QML and dynamically opening a Dialog (or any other popup type using PopupUtils.open(…)), the popup is parented to the window’s contentItem, which is not exposed in the introspection tree of objects.
This makes it impossible to access the popup from within autopilot tests.

I’m attaching a simple QML example. Run it with `qmlscene -testability test.qml`, run `autopilot vis` alongside, and observe that the dialog is not visible in the tree of objects.

Related branches

Olivier Tilloy (osomon) wrote :
Changed in autopilot-qt:
status: New → Confirmed
assignee: nobody → Michael Zanetti (mzanetti)
Olivier Tilloy (osomon) on 2013-08-30
Changed in autopilot-qt:
importance: Undecided → Medium
Olivier Tilloy (osomon) on 2013-09-12
Changed in autopilot-qt:
status: Confirmed → In Progress
Changed in autopilot-qt:
assignee: Michael Zanetti (mzanetti) → Thomi Richards (thomir)
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments