Details
-
Bug
-
Resolution: Done
-
P2: Important
-
None
-
5.2.1, 5.3.1
-
None
-
648587fbdc840209272211ec609c70ac056d0744
Description
When setting a background color to QComboBox with stylesheet
setStyleSheet("QComboBox{ background-color: #dedede}");
the background of the previously selected item's icon is black when hovering over the other items. This doesn't depend on set background-color, it is always black.
For comparison, in QComboBox without a stylesheet, the color is a tad darker grey than the background (i.e. merged palette background and highlight colors).
See the attached screenshots. I'll also attach a simple example to reproduce the problem.
Attachments
For Gerrit Dashboard: QTBUG-40976 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
93383,2 | Do not draw combo box items as checked | dev | qt/qtbase | Status: MERGED | +2 | 0 |