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

I see 2 icons showing up in our QTreeView since upgrading to Qt6

    XMLWordPrintable

Details

    • Windows
    • 30cf6ed32 (dev), e2e0c0745 (6.5), 596c9a71f (6.6)

    Description

      Since upgrading to Qt6, our QAbstractItemView items are showing 2 icons on top of each other (one slightly shifted) for the same QModelIndex. What is interesting is that those items being hovered/selected only show one icon.

      We see this issue on QTreeView, QListView, QComboBox (not sure what kind of view it uses).

      Another interesting note is that the text for those QModelItem also shifts when the row is selected/hovered. I am guessing this latter issue is due to a StyleSheet change - which I am still trying to figure out what it is.

      I am guessing I need to change something on the client code side rather than an issue the core of Qt. But I am not sure what the necessary change is. Any help will be appreciated.

       

       

      Attachments

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

        Activity

          People

            axelspoerl Axel Spoerl
            esmolikowski Eric Smolikowski
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: