Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.12.3, 5.15.1
-
57ee54fb4770b618b0bbd06b069682b5cd11fc9f (qt/tqtc-qtdeclarative/5.15)
Description
When we use QSGRenderNode with DepthAwareRendering,
Item's visual ordering does not work as expected.
You can simply reproduce this issue by running attached application.
It's 100% reproducible.
import QtQuick 2.12 import QtQuick.Window 2.12 import MyItem 1.0 Window { id: root width: 1920 height: 720 visible: true MyItem { id: myItem } Text { font.pixelSize: 20 color: "black" text: "Hello Text" } Rectangle { anchors.fill: parent color: "green" } }
Above code is main.qml from the attached application.
Expected result is we never see the text "Hello Text",
but actual result is the text is on the green rectangle.