Bug 234553

Summary: ICC color profile leads to completely wrong colors
Product: WebKit Reporter: Torsten Bronger <bronger>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: bfulgham, sam, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: PC   
OS: Linux   
Attachments:
Description Flags
ICC color profile creating the wrong colours
none
profile picture as seen in Element client (Electron-based) with the ICC profile active none

Description Torsten Bronger 2021-12-21 02:43:31 PST
Created attachment 447704 [details]
ICC color profile creating the wrong colours

I have installed a colour profile generated by ArgyllCMS.  It can be installed with colormgr and works very well for me.  However, with WebKit-based applications, it produces totally wrong colours.  In Chromium, I have to “Force color profile” to sRGB. Some Electron apps of mine don’t have this feature, though.  Instead, I have to switch off the colour profile, launch the application, and switch it on again.  Then I see correct (and corrected) colours.
Comment 1 Torsten Bronger 2021-12-21 02:44:31 PST
Created attachment 447706 [details]
profile picture as seen in Element client (Electron-based) with the ICC profile active
Comment 2 Radar WebKit Bug Importer 2021-12-28 02:44:16 PST
<rdar://problem/86954035>
Comment 3 Sam Weinig 2021-12-28 09:33:25 PST
Electron based apps do not use WebKit, they use Google's fork called Blink.
Comment 4 Sam Weinig 2021-12-28 09:34:07 PST
If this happens in any WebKit based apps (Safari, Mail, etc.), please re-open.