Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-45700

Aero: Flickering when tabbing between OpenGL widgets

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Out of scope
    • Icon: P4: Low P4: Low
    • None
    • 4.8.0
    • GUI: OpenGL
    • None

      Toggling between the two tabs of the example application below causes flickering of the application in case Aero is enabled. (It might not flicker with each tab change.)
      With windows classic no flickering occurs.

      main.cpp
      
      #include <QApplication>
      #include <QTableWidget>
      #include <QGLWidget>
      
      int main( int argc, char** argv )
      {
        QApplication instance( argc, argv );
      
        QTabWidget tabWidget;
        QGLWidget glWidget1;
        QGLWidget glWidget2;
        tabWidget.insertTab( 0, &glWidget1, "1" );
        tabWidget.insertTab( 1, &glWidget2, "2" );
        tabWidget.show();
        QObject::connect( &instance, SIGNAL( lastWindowClosed() ), &instance, SLOT( quit() ) );
      
        return instance.exec();
      }
      

      Not tested with other Qt versions.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            lagocs Laszlo Agocs
            lschlesier Lothar Schlesier
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes