Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.12.2, 5.12
-
None
-
-
306f44a176 (qt/qtbase/dev) 306f44a176 (qt/tqtc-qtbase/dev)
Description
The accent color for entries for a QComboBox is much lighter than the native accent color on macOS. This does not affect a QComboBox that is set to editable.
The issue is similar to https://bugreports.qt.io/browse/QTBUG-28443 and the screenshot reflects the bug with the discrepancy in color.
If needed, I can upload a test file. As a reference, note that Qt Creator (built with 5.12) reflects this issue with QComboBox.
The fix is probably similar to https://bugreports.qt.io/browse/QTBUG-70676 or the use of controlAccentColor, which available in macOS Mojave. It looks like QComboBox is using the user's highlight color instead of the user's accent color.
Attachments
For Gerrit Dashboard: QTBUG-75386 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
404282,3 | QCocoaTheme: use NSColor.controlAccentColor for QMenu items | dev | qt/qtbase | Status: MERGED | +2 | 0 |