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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 5.9.0, 5.9.1
    • Fix Version/s: 5.9.2
    • Component/s: QPA: Other
    • Labels:
      None
    • Environment:
      Qt 5.9.0 LTS and Qt 5.9.1 LTS on macOS Sierra 10.12.5.
    • Platform/s:
      macOS
    • Commits:
      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
          New tab bar widget.png
          215 kB
        2. QTabWidget.zip
          6 kB
        3. Screen Shot 2017-07-01 at 12.41.37.png
          Screen Shot 2017-07-01 at 12.41.37.png
          106 kB
        4. Screen Shot 2017-07-01 at 12.41.59.png
          Screen Shot 2017-07-01 at 12.41.59.png
          104 kB
        5. Screen Shot 2017-10-06 at 16.43.42.png
          Screen Shot 2017-10-06 at 16.43.42.png
          27 kB

          Issue Links

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

            Activity

              People

              • Assignee:
                dedietri Gabriel de Dietrich (drgvond)
                Reporter:
                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