Menu

#163 Selection of display profile doesn't update preview

closed-fixed
nobody
None
5
2008-12-24
2008-12-22
No

There are cases, when the preview is not updated for the display profile until the display intent is changed. According to my tests, this happens only when the display profile is changed between the "System" profile and some other (sRGB built-in or from a file).

Ufraw offers to use the X property _ICC_PROFILE (being set by xicc, dispwin, oyranos and others) under the option "System" in the drop-down list for the display profile.

Test case:
1. Download synthetic profile BRG.icc from
http://hoech.net/files/BRG.icc
As the name suggests, it has swapped colour channels. It is helpful for testing purposes.

2. Load it to X
xicc BRG.icc

3. Test it has been loaded:
xprop -root | grep _ICC_PROFILE
This should output few lines of numbers.

4. Start ufraw with a raw image and go to the CMS tab.
Set "No profile" (which means sRGB built-in) as the camera profile with gamma 0.45
Set sRGB as the output profile and relative colorimetric as the output intent.
Further, set sRGB and relative colorimetric as the display profile and intent, respectively.

5. Now, try changing the display profile between "System" and sRGB. In my case, the preview does not change on the first "round" of change.
If you further try changing back and forth, you can see that UFRaw actually misplaced the profiles - colours of preview get distorted on sRGB, while they look normal on "System". This is a wrong behaviour, it should be oposite.
Now let the display profile be "System", the preview looks normal (wrongly), try to change the display intent to something else. You should see the preview has changed its colors to BRG (correctly). With subsequent changes of the intent, the colours remain in BRG (correctly).

This bug does not happen when changing profiles among others (i.e. non-System) - the preview is updated instantly.

As a workaround, you can switch the display intent back and forth, the preview will update correctly then.

Discussion

  • Udi Fuchs

    Udi Fuchs - 2008-12-23
    • status: open --> pending-fixed
     
  • Udi Fuchs

    Udi Fuchs - 2008-12-23

    It is now fixed in CVS.

    Thanks for the detailed bug report.

    Udi

     
  • Milan Knizek

    Milan Knizek - 2008-12-23
    • status: pending-fixed --> open-fixed
     
  • Milan Knizek

    Milan Knizek - 2008-12-23

    It seems to work now.
    mk

     
  • Udi Fuchs

    Udi Fuchs - 2008-12-24
    • status: open-fixed --> closed-fixed
     

Log in to post a comment.