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
          Thorbjørn Lindeijer
        2. qt5.mp4
          9.33 MB
          Kimmo Leppälä
        3. Screenshot 2014-05-22 22.43.50.png
          34 kB
          Thorbjørn Lindeijer
        4. Screenshot 2014-05-22 22.49.21.png
          35 kB
          Thorbjørn Lindeijer
        5. Screenshot 2014-05-22 22.49.53.png
          30 kB
          Thorbjørn Lindeijer
        6. Screen Shot 2014-11-11 at 16.52.18.png
          22 kB
          Timur Pocheptsov
        7. toolbar_half_fixed.png
          13 kB
          Timur Pocheptsov

        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