<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>468005</bug_id>
          
          <creation_ts>2023-03-31 16:56:53 +0000</creation_ts>
          <short_desc>Dual color picker partly affected by OCIO exposure when OCIO turned off</short_desc>
          <delta_ts>2023-03-31 16:56:53 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>krita</product>
          <component>Color Selectors</component>
          <version>nightly build (please specify the git hash!)</version>
          <rep_platform>Appimage</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>UNCONFIRMED</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="erjiang">erjiang</reporter>
          <assigned_to name="Krita Bugs">krita-bugs-null</assigned_to>
          
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2219529</commentid>
    <comment_count>0</comment_count>
    <who name="erjiang">erjiang</who>
    <bug_when>2023-03-31 16:56:53 +0000</bug_when>
    <thetext>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</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>