Details
-
Bug
-
Resolution: Unresolved
-
P1: Critical
-
None
-
6.5
-
None
-
Windows 10 22H2
Nvidia Driver 546.12 (Quadro RTX 4000)
MSVC 2022 / 193 / C++20
Qt 6.5.3
Description
This is a regression between Qt6.3 & Qt6.5
In fullscreen, calling QMainWindow setCurrentWidget(...)
If the first QWidget does not have a QOpenGLWidget or QQuickWidget (children)
The QMainWindow disappears and "reappears" in a normal bordered window when we call one of these widgets with setCurrentWidget.
(When the app load "nvidia driver dll system")
If at the first setCurrentWidget in fullscreen we load a QOpenGLWidget/QQuickWidget, no problem appears and the graphical interface still always in fullscreen.
We don't have any issue if we start the application directly in bordered window.
This is the "fix" we put on the first Qwidget loaded to trigger Opengl and Nvidia drivers.
... // Just for trigger Opengl dll & Nvidia driver (Fix fullscreen) QQuickWidget* view = new QQuickWidget(); view->setMaximumSize(1, 1); myLayout->addWidget(view); ...
We don't have this issue with Qt 6.3