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

OpenGLWidget in QDockWidget not painted when flaoting

    XMLWordPrintable

Details

    • Linux/X11, Windows
    • 3ce5128d8062b7eca4925454610bd1df9db9d77a (qt/qtbase/dev) 340f777e01accae71c48a6de3acc1006fa4511a3 (qt/qtbase/6.0) c528362d3fca0c053ea5845cab269b0000e6ce09 (qt/tqtc-qtbase/tqtc/lts-5.15)

    Description

      When an OpenGLWidget is placed inside a QDockwidget the OpenGLWidget is not rendered any more (stays black) after undocking/docking.

      As workarround setting 

      QCoreApplication::setAttribute(Qt::AA_ShareOpenGLContexts);

      fixes the problem

      Attachments

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

        Activity

          People

            lagocs Laszlo Agocs
            gde gde
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes