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)
Attachments
Gerrit Reviews
For Gerrit Dashboard: QTBUG-51991 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
153561,2 | Popup: make ApplicationWindow attached properties available | 5.7 | qt/qtquickcontrols2 | Status: MERGED | +2 | 0 |
153674,2 | Support ApplicationWindow attached property for items inside Popup | 5.7 | qt/qtquickcontrols2 | Status: MERGED | +2 | 0 |