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

Fusion style sets button text color to white automatically

    XMLWordPrintable

Details

    • a7b5eca319 (qt/qtdeclarative/dev) a7b5eca319 (qt/tqtc-qtdeclarative/dev) 4a466c7481 (qt/qtdeclarative/6.4) 4a466c7481 (qt/qtdeclarative/6.4.1)

    Description

      In 6.2.2, using fusion style results in the text in Buttons being white when enabled.

      This only applies to the text property of the button itself, so a Text item as a child is unaffected. There is also no issue if the button is disabled and the text shows up as the expected color. Manually setting the buttontext color with palette.buttonText functions properly as well.

      The issue is not present in 6.2.1

      Attachments

        1. KDE_BreezeDark.png
          KDE_BreezeDark.png
          68 kB
        2. Qt6.2.1.png
          Qt6.2.1.png
          17 kB
        3. Qt6.2.2.png
          Qt6.2.2.png
          17 kB

        Issue Links

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

          Activity

            People

              mitch_curtis Mitch Curtis
              kevin.zhang Kevin Zhang
              Votes:
              2 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes