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

QGLWidget draws wrong within QMainWindow on Mac OS

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.0.0 Beta 1
    • Fix Version/s: 5.0.0 RC 1
    • Component/s: GUI: OpenGL
    • Labels:
      None
    • Environment:
      Qt 5. Xcode 4.4. Git master 8f9fcfd.
    • Platform/s:
      macOS
    • Commits:
      4bddcf9

      Description

      If a QGLWidget is placed within a QMainWindow, it draws over the entire window rather than just within its own bounds.

      I've included a trivial application which adds a button on the left and a QGLWidget on the right.

      Under 4.8, the button is visible and the background of the window draws correctly.

      Under 5.0 (Mac OS), the background of the window is black and the button is not visible.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              richard Richard Moe Gustavsen
              Reporter:
              cmeyer Chris Meyer
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes