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

Rendering issues when using OpenGL and unified toolbar on Mac OS X



    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.3.0, 5.7.1, 5.8.0, 5.9.7, 5.11.2, 5.12.0 Beta 4
    • Fix Version/s: 5.12
    • Component/s: QPA: Other
    • Environment:
      macOS 10.9, 10.10, 10.11, 10.12, 10.13
    • Platform/s:


      When using QGLWidget in a QMainWindow that has unifiedTitleAndToolBarOnMac enabled, rendering issues occur on this unified tool bar.

      The attached screenshot shows how the text of the tool button is drawn in an ugly way, and how the background color doesn't look right and shows a white area as a result of resizing the window.

      Two more screenshots have been added, showing that the problem does not occur when either unifiedTitleAndToolBarOnMac isn't used or a QGLWidget isn't created (default white central widget).

      The example application has been attached as well.

      Problem located in my application (Tiled) after upgrading from Qt 4.8. Report with screenshot can be found at https://github.com/bjorn/tiled/issues/529#issuecomment-43900019


        1. OpenGLTest.zip
          5 kB
        2. qt5.mp4
          9.33 MB
        3. Screenshot 2014-05-22 22.43.50.png
          Screenshot 2014-05-22 22.43.50.png
          34 kB
        4. Screenshot 2014-05-22 22.49.21.png
          Screenshot 2014-05-22 22.49.21.png
          35 kB
        5. Screenshot 2014-05-22 22.49.53.png
          Screenshot 2014-05-22 22.49.53.png
          30 kB
        6. Screen Shot 2014-11-11 at 16.52.18.png
          Screen Shot 2014-11-11 at 16.52.18.png
          22 kB
        7. toolbar_half_fixed.png
          13 kB

          Issue Links

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



              • Assignee:
                qt.team.graphics.and.multimedia Qt Graphics and Multimedia Team
                bjorn Thorbjørn Lindeijer
              • Votes:
                15 Vote for this issue
                25 Start watching this issue


                • Created:

                  Gerrit Reviews

                  There are no open Gerrit changes