- 
    
Bug
 - 
    Resolution: Done
 - 
    
P2: Important
 - 
    5.6.0 Alpha
 - 
    Windows, Linux
 
- 
        1b61390856ce336c82f7b99def574775893bf4f2
 
Simple code like this may take a lot of time (1650 ms) to complete if QOpenGLWidget is in the same window and vsync is enabled (as opposed to ca 190ms without):
        for (int i = 0; i <= 1000; ++i)
            progressbar->setValue(i);
Perhaps QProgressBar::setValue could do update() instead of repaint() if it is on the same window with QOpenGLWidget, or have a flag that would choose which one to use.
- is duplicated by
 - 
                    
QTBUG-49687 QOpenGLWidget: repainting some widgets slows down rendering with V-Sync
-         
 - Closed
 
 -