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

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

XMLWordPrintable

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

      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]

        1. glstacking.tgz
          1 kB
        2. patch.diff
          9 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes