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

[REG 5.15.2 => 6.2.4] Styled indicators not drawn in itemviews

    XMLWordPrintable

Details

    • 2b99a71b22 (qt/qtbase/dev) 2b99a71b22 (qt/tqtc-qtbase/dev) ed1982849d (qt/qtbase/6.3) ed1982849d (qt/tqtc-qtbase/6.3), 1ac58f4ba (dev), da59bc343 (6.7), 347b35a44 (6.6), 3bc823495 (tqtc/lts-6.5)

    Description

      See attached example. The item indicator can be specified in stylesheets and that used to work.
      (In the example some less relevant images are used - in real programs these images can be something far more important). This simply does not work in 6.2.4.

      If there is a background set with stylesheets it does work (attacked is where the focus item has a green background). However, the general " background: transparent;" cannot be used because it breaks the item delegates background that also can be in use .

      Also, if some items have a relevant style (due focus / hover) then exactly these will have the expected indicator and the other items will have other indicators
      (see last image).

      (The 'design' about stylesheets override the item delegate in itemviews is not just preventing an easy workaround here - it is in general plain silly (if not worse), but since I have seen bug-reports on it being closed as working as intended so I suspect it is not up for discussion).



      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-102820
          # Subject Branch Project Status CR V

          Activity

            People

              vhilshei Volker Hilsheimer
              tmartsum Thorbjørn Lund Martsum
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: