Bug 338683 - Turning off colour correction in special OpenGL effects does not restore _ICC_PROFILE X property
Summary: Turning off colour correction in special OpenGL effects does not restore _ICC...
Status: REPORTED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_oyranos (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Kai-Uwe Behrmann
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-30 16:50 UTC by Milan Knížek
Modified: 2022-09-20 04:23 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Milan Knížek 2014-08-30 16:50:25 UTC
Together with Kolor Manager & Oyranos, KWin supports full screen colour correction (not only calibration, but also colour space transformation using Xcm specification).

Once Colour Correction of KWin is turned off, the kded module kolorserver should be turned off as well. When kolorserver continues to run, applications not supporting Xcm (almost all) continue to believe that monitor's profile is sRGB and since KWin does not do Color Correction (from sRGB to monitor's profile) anymore, the colors are displayed wrongly by the applications (GIMP, darktable, EoG, ...).

Reproducible: Always

Steps to Reproduce:
1. Install Oyranos + Kolor Manager.
2. Set KWin to use OpenGL and activate Colour Correction in Special Effects/Advanced.
3. Check that kolorserver is running (in Services) or via D-Bus.
2. Check on CLI that the Xcm (X color management specification proposal) X properties were set by running "xprop -root | grep ICC | less", in particular there should be:
_ICC_DEVICE_PROFILE (the actual monitor's ICC profile)
_ICC_PROFILE (in Xcm this holds the sRGB colour space, this property is defined by XICC spec).
and some others.
3. The above steps confirm that full screen colour correction is working.
4. Now, turn off Colour Correction in Special effects.
Actual Results:  
Colour Server (kolorserver in D-Bus) continues to run and all the Xcm X properties are unchanged.

Expected Results:  
kolorserver should stop.

You can stop kolorserver manually via D-Bus (just unload the module in kded - I used qdbusviewer-qt4 to do that in GUI).
Once stopped, the Xcm X properties are removed and XICC X property (_ICC_PROFILE) is properly set to the actual monitor's profile instead of sRGB colour space.
Comment 1 Kai-Uwe Behrmann 2014-09-02 05:13:15 UTC
Can confirm. It is not correct behaviour.
Comment 2 Martin Flöser 2015-01-07 10:59:38 UTC
reassigning to kolor-manager as that one needs to update