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

QPalette::AlternateBase color return bad color for widows 11 style

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.8.3
    • None
    • Windows
    • Windows

    Description

      QPalette::color () function with QPalette::AlternateBase return white color in dark mode and black color in light mode

      Furthermore in Qt designer shown palette is right but tooltip is #ffffff in dark mode and #000000 in light mode

      it seems bad only for windows 11 syle

      with windowsvista style returned color is good.

      Attachments

        1. code_dark.png
          code_dark.png
          74 kB
        2. code_light.png
          code_light.png
          71 kB
        3. palette_dark.png
          palette_dark.png
          33 kB
        4. palette_light.png
          palette_light.png
          35 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            owolff Oliver Wolff
            alban_go2 Alban Pellet
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes