Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.7
-
None
Description
Starting with Qt 6.7 we started getting this old-new warning very often:
qrc:/contents/ui/BaseApp.qml:249:9: QML MainPage: Created graphical object was not placed in the graphics scene.
The thing is, I don't remember asking.
It is way more prominent in Kirigami giving that we've been instantiating the pages not parented to anything — so they are not memory-managed by QObject chain, and only then passing them to a native method which takes over the ownership and inserts them into the graphics scene.
So while the warning is admittedly cool for preventing n00b mistakes, it actively harms our case up to the point that even knowledgeable community members managed to merge a pointless and logic-breaking patch just for the sake of silencing a dumb new warning which they did not fully understand.