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

Icons do not show up on alternate rows

    XMLWordPrintable

Details

    • Windows

    Description

      I just downloaded the latest Qt 6.5.2 with the bug fix to QTBUG-110942. While the bug stipulated in that ticket seems to be fixed (I do not see double icons anymore). It seems a new issue got introduced.

      When the TreeWiew has the setAlternatingRowColors flag set to True, icons on the alternate rows do not show up. This is using the same reproducible case than 110942 (which uses a specific combination of parameters in the stylesheet).

      I am adding here a code sample that reproduces the issue (in Python using PySide6).

      Attachments

        1. image-2024-01-01-12-04-44-976.png
          image-2024-01-01-12-04-44-976.png
          15 kB
        2. main.cpp
          1 kB
        3. screenshot-1.png
          screenshot-1.png
          10 kB
        4. test.zip
          3 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            esmolikowski Eric Smolikowski
            Votes:
            3 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes