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

Investigate ways of making stacking of GL widgets work on Mac/Cocoa

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.4.0
    • 4.6.2
    • GUI: OpenGL
    • None
    • macOS

    Description

      When using a QGLWidget in a QMdiArea (as a QMdiSubWindow), the stacking of the widgets are wrong on Mac/Cocoa. Works on Carbon because we use AGL_BUFFER_RECT to clip the QGLWidget ourselves. It seems this is not really supported in the Cocoa API, but a workaround would have been nice.


      Possible solution: sort the MdiSubWindows using [NSView sortSubviewsUsingFunction:context]

      Attachments

        1. glstacking.tgz
          1 kB
        2. patch.diff
          9 kB

        Issue Links

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

          Activity

            People

              pullatti Prasanth Ullattil
              kjernase Trond Kjernåsen (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes