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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P1: Critical 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)

      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:

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

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

              Created:
              Updated:
              Resolved: