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

QToolButton in QToolBar checked, in dark mode not rendered properly

    XMLWordPrintable

Details

    • macOS
    • aa3540b7be3dd0f5a96de1df5c4771d789127204 (qt/qtbase/5.15)

    Description

      QToolButtons in a QToolBar which are checked do not render properly – they try to render darker to show their selected state, but instead should render lighter so that they can be seen against the black.

      Workaround for this is to use Stylesheets to set colors, but stylesheets for QToolBar has also a bug (https://bugreports.qt.io/browse/QTBUG-12717) and the workaround for that is to define border color to QToolBar for the style sheets to have any effect.

      Attachments

        1. button.tar.gz
          11 kB
        2. QTBUG-71526.tar.gz
          0.7 kB
        3. right.png
          right.png
          31 kB
        4. wrong.png
          wrong.png
          6 kB

        Issue Links

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

          Activity

            People

              tpochep Timur Pocheptsov
              pekarjal Pekka Karjalainen
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes