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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.12
    • 5.3.0, 5.7.1, 5.8.0, 5.9.7, 5.11.2, 5.12.0 Beta 4
    • QPA
    • macOS 10.9, 10.10, 10.11, 10.12, 10.13
    • macOS

    Description

      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

      Attachments

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

        Issue Links

          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
              bjorn Thorbjørn Lindeijer
              Votes:
              15 Vote for this issue
              Watchers:
              26 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes