Description
Qt applications handle ColorSync color management wrongly and this create real problems to color sensitive applications.
Let me show problem on example.
1. we start qt creator (as example of qt app) - "Screen Shot1"
2. change display profile to fakebgr (attached - well visible changes) - "Screen Shot2"
As you see macos elements changes colors to false colors, but qt creators stays with the same colors.
Problem that in cocoa realisation you give to all widgets display profile as internal color space. This is not correct approach. Display profile is output colorspace. And we need to use system colorspace as widgets colorspace.
I attach minimalistic patch that fix this problem. For sure if Qt team will agree to change cocoa plugin this way then a lot of code should be removed as unnecessary, so source changes will be bigger.
P.S. same mistake code exists in qpaintengine_mac.mm, but seems it influence on nothing. Is it junk?
Attachments
Issue Links
- relates to
-
QTBUG-47660 [OS X]: Fix qt_mac_displayColorSpace() so that it correctly checks the display at that point in time
- Closed