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

First unselected vertical (west) tab button renders incorrectly on macOS

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 5.12.5, 5.14.0 Alpha
    • 5.12.0, 5.12.1, 5.12.2, 5.12.3
    • Widgets: Styles
    • None
    • macOS
    • 4d9375020c59282b447aad5189c2adb12931e4a1 (qt/qtbase/5.12)

      The new mechanism for drawing tab buttons in the macOS style in Qt 5.12 doesn't work for the specific case of the top unselected tab button in west oriented tab bars. It draws the popup button at the wrong location, so the button doesn't get the right background color and shows part of the popup button control. Screenshot, sample code, and a patch to fix the issue are attached.

        1. Screen Shot 2019-06-14 at 1.51.18 PM.png
          Screen Shot 2019-06-14 at 1.51.18 PM.png
          308 kB
        2. tab-bar-fix.diff
          0.8 kB
        3. test.cpp
          0.5 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            tpochep Timur Pocheptsov
            jasonhaslam Jason Haslam
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes