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

Regression issue regarding QTabBar: tab icons are not properly rendered anymore

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.9.2
    • 5.9.0, 5.9.1
    • QPA
    • None
    • Qt 5.9.0 LTS and Qt 5.9.1 LTS on macOS Sierra 10.12.5.
    • macOS
    • c12072c685f7e93d5b84e289ca23106482379eff

    Description

      Using Qt 5.6.x LTS, a QTabBar object properly renders the icon associated with a given tab. However, using Qt 5.9.x LTS, the icon is not rendered in the right place anymore and may, in fact, even overlap with the tab title itself (if that one is too long).

      Attached is a small project that illustrates the issue, as well as a couple of screenshots when building the project with Qt 5.6.2 LTS and Qt 5.9.1 LTS, respectively.

      Note that the close button also disappears using Qt 5.9.x LTS, but this is already being addressed inĀ QTBUG-61092.

      Attachments

        1. New tab bar widget.png
          215 kB
          Alan Garny
        2. QTabWidget.zip
          6 kB
          Alan Garny
        3. Screen Shot 2017-07-01 at 12.41.37.png
          106 kB
          Alan Garny
        4. Screen Shot 2017-07-01 at 12.41.59.png
          104 kB
          Alan Garny
        5. Screen Shot 2017-10-06 at 16.43.42.png
          27 kB
          Alan Garny

        Issue Links

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

          Activity

            People

              dedietri Gabriel de Dietrich (drgvond)
              agarny Alan Garny
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes