QOpenGLWidget bad display with QT_SCREEN_SCALE_FACTORS=1.5
Unsolved
General and Desktop
-
I have a problem that QOpenGLWidget is not acting properly when using QT_SCREEN_SCALE_FACTORS set to something bigger than 1 (on any system Windows / Linux) and also when Linux system users of KDE set font scaling to bigger factor.
The resulting real QOpenGLWidget area is just proportional to the window size as can be seen on the picture:
ricardo_desk_1TSi2SzDMX.pngThis is on Qt 5.15. How can this be fixed?
-
Disregard this - the bug is in our code which is setting glViewport() to the size of the widget in the paintGl().