Details
-
Bug
-
Resolution: Unresolved
-
P1: Critical
-
None
-
6.4.0 Beta4, 6.4.0, 6.4.1, 6.4.2
-
None
Description
The following code creates a 640x480 window instead of a truly fullscreen window:
#include <QtWidgets> #include <QtOpenGLWidgets> int main(int argc, char *argv[]) { QApplication app(argc, argv); QOpenGLWidget window; window.showFullScreen(); return app.exec(); }
This is reproducible on Plasma Wayland, but not on Weston. This is new to Qt 6.4 and not reproducible with non-first showFullScreen(), i.e.
#include <QtWidgets> #include <QtOpenGLWidgets> int main(int argc, char *argv[]) { QApplication app(argc, argv); QOpenGLWidget window; window.showFullScreen(); window.hide(); window.showFullScreen(); return app.exec(); }
Will create a truly fullscreen window. non-opengl QWidget doesn't have such a bug.