Bug 290927

Summary: Color management does not apply change and refresh the current preview image
Product: [Applications] digikam Reporter: DrSlony <bugs>
Component: ColorManagement-ViewsAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles, kde
Priority: NOR    
Version: 2.5.0   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In: 2.8.0
Attachments: No color profile information.
RT_sRGB color profile

Description DrSlony 2012-01-08 03:14:48 UTC
Created attachment 67560 [details]
No color profile information. 

Version:           2.5.0 (using KDE 4.7.4) 
OS:                Linux

If you enable/disable and apply color management, digiKam should update the photo you are viewing with the change. It doesn't. You have to click on another photo and back to this one to see the difference.

Reproducible: Always

Steps to Reproduce:
1- Disable color management
2- Click on a photo with a non-sRGB color profile (so that you can see the difference, as sRGB will be assumed if the profile metadata is missing from the photo)
3- Enable color management and apply it
4- You should see the colors change, but they don't.
5- Click on another photo and back to this one. Now you can see what it should look like with color management.


Expected Results:  
digiKam should refresh the preview when you enable or disable color management the moment you hit apply.
Comment 1 DrSlony 2012-01-08 03:15:35 UTC
Created attachment 67561 [details]
RT_sRGB color profile
Comment 2 DrSlony 2012-01-08 03:17:08 UTC
With no color management, these two attached photos will look identical. With color management enabled, noicm.jpg will appear lighter than the RT_sRGB.jpg photo.
Comment 3 Dik Takken 2012-07-03 07:53:46 UTC
Also, when you change display profiles, they are not applied immediately. You need to close DigiKam, load it again, and only then the new display profile is in effect.
Comment 4 Marcel Wiesweg 2012-07-21 13:31:21 UTC
Git commit b2754413698a001b38ef44874869c9f73dbe8bf3 by Marcel Wiesweg.
Committed on 21/07/2012 at 15:29.
Pushed by mwiesweg into branch 'master'.

If color management settings change, reload the preview image.

M  +2    -1    NEWS
M  +14   -0    libs/widgets/graphicsview/dimgpreviewitem.cpp
M  +2    -0    libs/widgets/graphicsview/dimgpreviewitem.h

http://commits.kde.org/digikam/b2754413698a001b38ef44874869c9f73dbe8bf3