Details
-
Bug
-
Resolution: Invalid
-
P2: Important
-
None
-
6.7.3, 6.8.2
-
-
a4da2d229 (dev), d12471172 (6.9), 40945c835 (tqtc/lts-6.8)
Description
Window.window attached property does not work as a target of Connections QML Type, when it is used in GridView.
Steps to reproduce the issue:
1. Run the attached reproducer, and drag the window around. The Global position value of each Rectangle will be updated accodingly.
2. Modify the target setting in Connections as below:
// target: control.Window.window target: Window.window // this will not work
3. Run the reproducer again, and drag the window around. This time the Global position will not be updated. The Connections seems not receiving the XChanged/YChanged signals from the top window.
The reproducer is implemented with GridView, but the issue can be reproduced with RowLayout as well.
Attachments
For Gerrit Dashboard: QTBUG-134800 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
649171,2 | qmllint/quick: Warn about Window attached property | dev | qt/qtdeclarative | Status: NEW | -1 | -1 |
649168,4 | QQuickWindowAttached: warn when trying to attach to non-Item | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
649418,2 | QQuickWindowAttached: warn when trying to attach to non-Item | 6.9 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
650933,2 | QQuickWindowAttached: warn when trying to attach to non-Item | tqtc/lts-6.8 | qt/tqtc-qtdeclarative | Status: MERGED | +2 | 0 |