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

OpenGL widget with winId in floating/maximized DockWidget causes corrupt rendering

XMLWordPrintable

    • Windows

      We need to get an OpenGL window handle in order to draw third party video content. We do have QDockWidgets (with our own TitleBar) to undock and maximize these widgets which are inside a grid layout. If the DockWidget is docked everything is fine, but if it is floating, we experience strange behaviour. We broke the issue down into a sample project with just a QDockWidget with maximize button and two widgets from the Qt OpenGL example '2DPainting'. See attached screenshots from docked/floating/maximized states of the DockWidget and its content.

        1. DockWidget_Docked.jpg
          DockWidget_Docked.jpg
          27 kB
        2. DockWidget_Floating.jpg
          DockWidget_Floating.jpg
          21 kB
        3. DockWidget_Maximized.jpg
          DockWidget_Maximized.jpg
          52 kB
        4. glwidget.cpp
          3 kB
        5. glwidget.h
          3 kB
        6. gridtest.pro
          1 kB
        7. helper.cpp
          4 kB
        8. helper.h
          3 kB
        9. main.cpp
          3 kB
        10. main.h
          1 kB
        11. mainwindow.ui
          1 kB
        12. widget.cpp
          3 kB
        13. widget.h
          3 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            lagocs Laszlo Agocs
            kthomaschk Kay Thomaschk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes