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

Setting palette values doesn't work when they equal app palette values

    XMLWordPrintable

Details

    • Linux/X11, macOS

    Description

      Setting palette values doesn't work when they equal app palette values. This means you cannot "unset" a value set by a parent widget. I noticed this issue when I saw children of QFrame painted with the wrong colour if the QFrame had a custom-coloured border.

      Related QTBUG-98762

      The image attached shows the output of main.cpp. The left side is Qt 6.3.1, right is 5.15.2.

      Attachments

        1. main.cpp
          2 kB
          Seamus Boyle
        2. Screenshot from 2022-06-25 14-30-13.png
          46 kB
          Seamus Boyle

        Issue Links

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

          Activity

            People

              vhilshei Volker Hilsheimer
              seamus Seamus Boyle
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes