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

Stylesheet: QAbstractItemView::indicator changes selected item text color

    XMLWordPrintable

    Details

    • Platform/s:
      Windows
    • Commits:
      1d48572b4ea765cb8d81bf227eabaf907a91e7de (qt/qtbase/dev) cf52d725156811754cd4e094b0984864795d1d58 (qt/qtbase/6.1) c12e241373fce9925d2c062448eceb92188ad0e8 (qt/qtbase/6.2)

      Description

      Setting a stylesheet "QAbstractItemView::indicator{}" changes the selected item text color to white which otherwise would be dark with windowsvista style.

      Steps to reproduce the issue:

      • Build & run the attached project
      • Select an item from the upper view and select an item from the lower view See the difference in text color for the selected item

        Attachments

        1. qtbug83619.zip
          0.7 kB
        2. qtbug83619_no_stylesheet.PNG
          qtbug83619_no_stylesheet.PNG
          10 kB
        3. qtbug83619_stylesheet.PNG
          qtbug83619_stylesheet.PNG
          8 kB
        4. qtbug83619_diag.diff
          2 kB
        5. qtbug83619-1.zip
          2 kB

          Issue Links

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

            Activity

              People

              Assignee:
              vhilshei Volker Hilsheimer
              Reporter:
              miikapernu Miika Pernu
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes