Priority: P3: Somewhat important
Affects Version/s: 5.5.0
Fix Version/s: None
Component/s: QPA: Windows
attached projects show some drawing glitches of QOpenGLWindow/QOpenGLWidget:
in one case, we have a QOpenGLWindow as central widget of a QMainWindow, in the second case, we have a QOpenGLWidget as top-level QWidget.
it provides two ways to resize the window: via the window handle of the operating system and programmatically (via mouse dragging in the red ogl window content)
- the first case (QOpenGLWindow in QMainWindow), the content is not in sync with the window decorator, but white glitches can be seen on the right and bottom when resizing
- in the second case, we see the same white glitches when resizing the QOpenGLWidget via the window handle. when resizing it programatically, the content is not updated, showing black background
btw, the white glitches can also be seen when resizing qtcreator.