Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.14.1, 5.14.2
-
None
Description
When setting the visibility property of a Scene3D item to false, the whole QML application blocks. The documentation of Scene3D mentions the Qt3D simulation loop does stop when doing so, but it should not block the whole application. Strangely, it does not happen if the scene is the only item in the application window.
I tried Qt 5.14.1 and 5.14.2, on Windows 10.
To reproduce this, run the following QML application:
import QtQuick 2.14 import QtQuick.Controls 2.14 import QtQuick.Window 2.14 import QtQuick.Scene3D 2.14 import Qt3D.Core 2.14 import Qt3D.Render 2.14 import Qt3D.Extras 2.14 ApplicationWindow { visible: true Component.onCompleted: { scene.visible = false; // Blocks app } Scene3D { id: scene anchors.fill: parent Entity { components: [ RenderSettings { activeFrameGraph: ForwardRenderer { clearColor: "red" } } ] } } // Remove Label an blocking dot not happen anymore. Quite puzzling! Label { text: "Foo" } }