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

QOpenGLWIndow in a window container is incorrectly stacked when displaying a QOpenGLWidget

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.9.0
    • GUI: OpenGL
    • None
    • macOS

    Description

      When displaying a QOpenGLWindow in a windowContainer, if another QOpenGLWidget is created and share a parent with the windowContainer, the windowContainer and it's window will be stacked under everything else.

      They will stay there until they are hide/show

      Only on MacOS

       

      How to reproduce : 

      •  Download and build attached example
      • Run QOpenGLWindowBug
      • An uninitialized QOpenGLWindow in a windowContainer appears
      • Click on first button to create a QOpenGLWidget
      • QOpenGLWidget appears, and QOpenGLWindow is incorrectly stacked under everything else
      • Click on second button to hide / show QOpenGLWindow
      • QOpenGLWindow reapears

       

      Attachments

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

        Activity

          People

            qt.team.graphics.and.multimedia Qt Graphics Team
            mwestphal Mathieu Westphal
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes