Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.15.10
-
-
a6bd340fa9 (qt/tqtc-qtdeclarative/5.15)
Description
When removing a QQuickWidget that is rendering a qml element from a dock and placing it back in above another dock element, trying to remove it again results in a crash.
Compile output reads
QOpenGLShaderProgram::bind: program is not valid in the current context.
When debugging an error message reading the following comes up when it crashes:
The inferior stopped because it triggered an exception.
Stopped in thread 0 by: Exception at 0x2787b3da410, code: 0xc0000005: write access violation at: 0x2787b3da410, flags=0x0 (first chance).
Only occurs on a multiscreen setup when the window width is set to larger than that of the main screen. If the qml element is completely empty the issue does not occur. Placing the QQuickWidget anywhere else or deleting the other dock widget first does not result in the issue happening. Issue does not occur in Qt 6.x