Details
-
Bug
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
6.8.3, 6.9.1
-
None
Description
When a QOpenGLWidget is first shown, QMainWindow is hidden and immediately shown again. This happens only the first time a QOpenGLWidget is shown. Subsequent shows do not hide QMainWindow. Tested on Qt 6.8.3 on Windows, Linux x11 (GNOME 3.36) and Qt 6.9.1 on Linux/Wayland (KDE 6.4). Qt 6.1.3 did not have this issue.
To reproduce, run the attached program and check the checkbox to show a QOpenGLWidget -> the QMainWindow closes and reopens.