Bug 468005

Summary: Dual color picker partly affected by OCIO exposure when OCIO turned off
Product: [Applications] krita Reporter: erjiang <erjiang>
Component: Color SelectorsAssignee: Krita Bugs <krita-bugs-null>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version: nightly build (please specify the git hash!)   
Target Milestone: ---   
Platform: Appimage   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description erjiang 2023-03-31 16:56:53 UTC
SUMMARY

The dual color picker behaves strangely when OCIO is turned on and the exposure setting is adjusted.

STEPS TO REPRODUCE
1. Open new linear floating-point document.
2. Open LUT Management docker.
3. Enable Use OpenColorIO
4. Set Color Engine to OCIO
5. Set Exposure to -6.64
6. Disable Use OpenColorIO
7. Double-click on the top-left color swatch in the dual color picker.
8. Select the bottom-left of the color triangle.
9. Close dialog and double-clicik on bottom-right color swatch in the dual color picker.
10. Select the bottom-left of the color triangle.

OBSERVED RESULT

Top-left swatch color picker goes up to RGB(99.73, 99.73, 99.73) even though OCIO disabled and Exposure field is disabled.

Bottom-right swatch color picker goes up to RGB(65535, 65535, 65535) even though the document is floating-point.

EXPECTED RESULT

Color picker should not have confusing, arbitrary maximum based on Exposure when OCIO is turned off. The color pickers for each of the two swatches should behave the same and have floating-point values.

SOFTWARE/OS VERSIONS

Using krita-5.2.0-prealpha-8550960a23-x86_64.appimage