Details
-
Bug
-
Resolution: Done
-
P2: Important
-
6.2.0, 6.2.1
-
Qt 6.2.0-0-202109270531
Visual Studio 2019
Windows SDK 10.0.17763.0
Microsoft Visual C++ Compiler 16.6.30309.148 (amd64)
OpenGL version: 4.6.0 - Build 26.20.100.7262
GLSL version: 4.60 - Build 26.20.100.7262
Description
It appears that the Qt Event Loop stops processing close events when a QSurface3DSeries is put into a QMdiSubWindow.
The attached zip contains the Qt DataVisualization 3D Surface example with the following minor tweaks:
- A QMdiArea is set as the central widget of a QMainWindow
- The Q3DSurface container widget is inserted into a QMdiSubWindow
As you will see, the sub-window cannot be closed with the Q3DSurface present. The sub-window will close normally if you substitute for another widget such as a QLabel.
This seems like a Qt 6.2 regression. It is not present in Qt 5.15.
Also worth noting, in another project that is not attached; Calls to QApplication::quit() are ignored when the Q3DSurface container widget is inserted into a QMdiSubWindow.