Bug 400306

Summary: Internal Color Selector doesn't work in CMYK Float32 and LABA Float32 modes
Product: [Applications] krita Reporter: Dmitry Kazakov <dimula73>
Component: Color SelectorsAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: amy, griffinvalley
Priority: NOR Keywords: triaged
Version First Reported In: git master (please specify the git hash!)   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screenshot in CMYKF32 mode
Screenshot in LabAF32 mode

Description Dmitry Kazakov 2018-10-25 16:45:23 UTC
Created attachment 115898 [details]
Screenshot in CMYKF32 mode

Click on the "Dual-color" button on the toolbox and see the wrong color selector rendering in the listed modes.

In CMYKF32 mode the internal color selector in completely white, in LABA32 mode it is completely black. 

I have a feeling that it is related to some normalization inconsistencies we have for LabA and CMYK in F32 mode.
Comment 1 Dmitry Kazakov 2018-10-25 16:45:52 UTC
Created attachment 115899 [details]
Screenshot in LabAF32 mode
Comment 2 wolthera 2018-10-27 16:28:42 UTC
This is indeed due the weird final sizes of these particular color spaces.
Comment 3 amyspark 2020-02-18 00:53:13 UTC
Fixed in my SoK project.