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

Wrong Foreground color with windows 11 style

    XMLWordPrintable

Details

    • Windows
    • 7dc67d989 (dev), 41df8e68c (6.8), c52d0bfb0 (6.7)

    Description

      Hello,

      I've a problem when using windows 11 style. Using windowsvista style works as expected in this version. I have a QTreeView and a model behind it. In this model from the data() function I return colors for Qt::ForegroundRole. This color sseems to be iognored while painting the tree text items. I always see black text independent of returned color. I use stylesheets, dont't know if this plays a role as in vista style everything works.

      windows 11 style:

      same code with vista style:

      Attachments

        Issue Links

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

          Activity

            People

              esabraha Eskil Abrahamsen Blomfeldt
              sroeber Steffen Roeber
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes