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

Default application palette no longer polished by custom style

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.15.1
    • 5.15.0
    • Widgets: Styles
    • None
    • 0bf120f5fd197cd215cd9520a494b162887d1ec4 (qt/qtbase/dev) 7218665699e31ac8eebab17afd684d1a56d12ac3 (qt/qtbase/5.15)

    Description

      The default application palette used to be polished by a custom style. Now only specific class palettes are polished. This is a regression in 5.15.0. I believe it was caused by 0a93db4d82c051164923a10e4382b12de9049b45.

      The specific use case is setting a proxy style that can extend Mac and Windows styles to override palette colors, since calling `QApplication::setPalette` doesn't work correctly with those styles.

      I can come up with a small sample if this isn't immediately obvious.

      Attachments

        1. modified.png
          modified.png
          188 kB
        2. palette.zip
          2 kB
        3. unmodified.png
          unmodified.png
          188 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            vestbo Tor Arne Vestbø
            jasonhaslam Jason Haslam
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes