Emulator Issues #11589
openQt/macOS: QComboBox highlight color is wrong
0%
Description
Since updating the macOS builds to Qt 5.12 the highlight color for QComboBox dropdown menus is a light blue instead the expected blue.
Files
Updated by 8times9 almost 6 years ago
This also affects the right click menu (such as when right clicking on games in the games list).
However, the dropdown menu for controller profiles is the correct color.
Updated by chargeflux almost 6 years ago
This seems to be a Qt bug. I put together a sample app on macOS with just a QComboBox and the highlight color is wrong for that.
The controller profile is a QComboBox with the editable property enabled and probably explains why that has the correct highlight color since it is different from a regular QComboBox.
Updated by 8times9 almost 6 years ago
Interesting, do you know if it's reported on the Qt bug tracker yet? I tried searching but I couldn't find anything.
Updated by chargeflux over 5 years ago
https://bugreports.qt.io/browse/QTBUG-70676?focusedCommentId=436075
Note the issue is marked as resolved but has not been actually fixed per linked comment.
Related: https://bugreports.qt.io/browse/QTBUG-28443?focusedCommentId=439198
Note linked comment mentioning it is present in 5.12 and I can confirm it is still present in 5.12.2
Updated by 8times9 over 5 years ago
Thanks for the links, I left a comment on the first saying it's still present in 5.12.2
Updated by chargeflux over 5 years ago
My apologies, I may have misled you with the first link :(. The issue is referring to QListView which is not the same as a QComboBox. From what I can tell, QListView has been fixed in Qt 5.12 (example is Qt Creator) but not QComboBox as of Qt 5.12.2. The comment is simply referring to the use of a deprecated method for QListView but still works as expected for QListView at this time.
The second link is the right one and comments suggests creating a new bug issue.
Updated by chargeflux over 5 years ago
*because I thought the first link was referring to QComobBox but it wasn't.
Anyhow I filed a bug report on Qt and we can track that https://bugreports.qt.io/browse/QTBUG-75386. That being said, I suppose we won't see this change in Dolphin until they start using 5.12.x instead of 5.12.0 for macOS (based on BuildBot/builds uploaded to the website for macOS)
Updated by OatmealDome about 2 years ago
- Status changed from New to Accepted
I was able to reproduce and confirm the issue. According to the linked Qt bug report, the bug was fixed in Qt 6.4.0. We are still using the latest version of Qt 5 at the moment, so we'll have to upgrade to get the fix.
Updated by Billiard26 about 2 years ago
- Operating system OS X added
- Operating system deleted (
N/A)