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

QTabBar and QTabWidget Scrollbars don't have the right colours in Dark mode on macOS Mojave

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.12.1
    • Widgets: Styles
    • None
    • macOS
    • 8961493b4036af018842820238c4eda0c0717e64

    Description

      If you build and run the attached test application in Dark mode, everything looks fine when the application is active (test-active), except for the unselected tab in the QTabWidget object, which is semi-transparent while I would expect it to be opaque. Still, this is roughly in agreement with Apple's Grapher application (grapher-active).

      Now, if the test application is inactive then you can't distinguish the selected tabs from the unselected ones at all (test-inactive). Also, as before, the tabs are still semi-transparent in the QTabWidget object. In Apple's Grapher application (grapher-inactive), we can see that the label of selected tab gets darker and its background lighter, which is also what I would expect using QTabBar and QTabWidget.

      Attachments

        1. grapher-active.png
          grapher-active.png
          282 kB
        2. grapher-inactive.png
          grapher-inactive.png
          189 kB
        3. QTabBarAndQTabWidget.zip
          3 kB
        4. test-active.png
          test-active.png
          59 kB
        5. test-inactive.png
          test-inactive.png
          37 kB

        Issue Links

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

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              agarny Alan Garny
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes