Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.6.3, 5.9.2
-
None
-
macOS 10.13.3
-
0736e050cb0f82ca445e954e1db631f1dd1de473 (qt/qtbase/5.12)
Description
If I create a QMenu with a QAction that is both checked (setCheckable(true)) and has an icon (setIcon(icon)), then render it using a custom stylesheet, the checked status isn't shown.
I've attached a project that demonstrates the problem (tested using Qt 5.6.3 and 5.9.2). If I disable the stylesheet, the checked indicator (either a checkmark or a border/background) correctly appears for the Cocoa, Fusion, and Windows styles. But when I enable a custom stylesheet, no checked indicator shows. Screenshots attached.
Attachments
Issue Links
- resulted in
-
QTBUG-74655 Styling of QMenu via CSS is broken for checkable menu items
-
- Closed
-
-
QTBUG-78238 Different QMenu stylesheet application depending on whether actions have icons
-
- Closed
-