Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
6.2.4
-
None
-
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
- resulted in
-
QTBUG-122821 QListView with checkable items duplicates checkbox
- Closed
For Gerrit Dashboard: QTBUG-102820 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
409946,1 | Stylesheet: Don't ignore item check indicator styling | tqtc/lts-6.2 | qt/tqtc-qtbase | Status: NEW | 0 | 0 |