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

OpenGLWidget in QDockWidget not painted when flaoting

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.15.0 RC2
    • Fix Version/s: 6.0.1, 6.1.0 Alpha
    • Component/s: GUI: OpenGL
    • Labels:
      None
    • Platform/s:
      Linux/X11, Windows
    • Commits:
      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

            Assignee:
            lagocs Laszlo Agocs
            Reporter:
            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