Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
5.6.0, 5.7.0 Beta
-
None
-
5ea88122a7442c49d2262c95a6b0cd32c5b5b541
Description
ApplicationWindow attached property available in usual items, but not in popups:
import QtQuick 2.6 import Qt.labs.controls 1.0 ApplicationWindow { width: 300; height:300 visible: true Item { Component.onCompleted: console.log("item:", ApplicationWindow.window) } Popup { Component.onCompleted: console.log("popup", ApplicationWindow.window) Rectangle { Component.onCompleted: console.log("popup content", ApplicationWindow.window) } } }
Output:
qml: popup null qml: popup content null qml: item: QQuickApplicationWindow(0x21bc0e0)