Bug 310357

Summary: Krita specific color selector 32-bit floating point Lab sliders don't work
Product: [Applications] krita Reporter: Elle Stone <elle>
Component: Color SelectorsAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: griffinvalley, halla
Priority: NOR    
Version: git master (please specify the git hash!)   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description Elle Stone 2012-11-19 17:08:35 UTC
The krita specific color selector 32-bit floating point Lab sliders don't work. You can move the L, a, and b sliders back and forth, but the sliders themselves remain black, and the only color you can "select" is solid black.

Reproducible: Always

Steps to Reproduce:
1.Open the specific color selector docker.
2.Select Model L a* b*, Depth 32 Bits Float, Profile Lab identity built-in
3.Move the Lightness, a* or b* sliders up and down.
Actual Results:  
The numbers change and the sliders move, but the colors of the bars remains solid black and the actual color selected also remains black.

Expected Results:  
The selected color ought to change to correspond to the selected L, a*, and b* values. And the bars ought to change color also.

I compiled krita and karbon (but not the rest of calligra) from git master on Nov-15-2012.
Comment 1 Halla Rempt 2013-03-31 09:37:56 UTC
Hi Elle,

Thanks for your report. I can confirm the issue. I haven't got a fix though -- it needs more investigation.
Comment 2 wolthera 2014-06-22 16:07:01 UTC
Doesn't work on CMYK either.
More tellingly both only have 8bit, 16bit, and 32bit float. What happened to 16bit float in both?
Comment 3 Aleksander Demko 2015-02-14 00:23:18 UTC
Git commit 5d53b7e094939b66f01b6ba5bac452ef944ea942 by Aleksander Demko.
Committed on 14/02/2015 at 00:23.
Pushed by ademko into branch 'calligra/2.9'.
Related: bug 32, bug 344121

Converted an assert to an if-with-a-backup-plan.

M  +15   -21   plugins/colorengines/lcms2/colorprofiles/IccColorProfile.cpp

http://commits.kde.org/calligra/5d53b7e094939b66f01b6ba5bac452ef944ea942