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

Regression: Setting background-color style of QTreeView::item breaks alternatingRowColors

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • 6.8.1, 6.9.0 FF
    • 6.5.3, 6.6.3, 6.7.0 RC2, 6.8.0 FF
    • Widgets: Itemviews
    • None
    • macOS, Windows
    • f39f2bfe0 (dev), 6aedc439c (6.7), 3e049f065 (dev), 69c68571d (6.7), 4be99b190 (dev), b780eaf6a (dev), d4948d354 (6.8), cd48b781d (6.8)

    Description

      See attached sample program (adapted from basicsortfiltermodel sample).

      Stylesheet on the sourceView sets background-color and alternate-background color, and sets background-color to transparent for the QTreeView::item.

      Behavior:

      6.2:

      6.5.3:

      Attachments

        Issue Links

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

          Activity

            People

              vhilshei Volker Hilsheimer
              pekj Jeff Pek
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: