Bug 485421

Summary: Inconsistent colors between reference tool and new file from clipboard while using the same options for both
Product: [Applications] krita Reporter: Dynline <saranvale>
Component: Color modelsAssignee: Krita Bugs <krita-bugs-null>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: nightly build (please specify the git hash!)   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Dynline 2024-04-12 08:53:06 UTC
SUMMARY


STEPS TO REPRODUCE

Note you need to have the dialogue that asks you to paste as web or monitor active to follow the steps below.

1.  in your original file have an 8 bit srgb-elle default color profile
2. Paint a rainbowy thing, use many different colors to look for differences
3. select all
4. copy all
5. create a new document and use the create from clipboard option, use the same settings for the color profile of your first image.

Now for the inconsistent behaviours:

6a. selecting web srgb, the colors will be wrong
7a. now on this new file click on the reference image tool
8a. paste as web srgb, the colors will be correct

6b. if creating the new file selecting the monitor colors then the colors are correct! BUT...
7b. now on this other new file click on the reference image tool
8b. paste as monitor colors and now the colors will be wrong (but a different shade of wrong compared to the other steps)

Copying your image colors from one file to another already existing without going through the "from clipboard menu" will always paste the correct colors and Krita won't ask your preferences. 

OBSERVED RESULT
Creating a new file from clipboard and the reference image tool don't seem to have the same behaviour when using the same steps on both, so one can't use the option "always assume as srgb/monitor profile" and needs to remember for which of these it will result in correct colors. Either of the two is behaving wrongly.

EXPECTED RESULT
While selecting the same web or monitor options for both then the same option should be either wrong for both or correct for both.

SOFTWARE/OS VERSIONS
Windows 10 
5.3.0-prealpha-4f60fd98
Comment 1 Dynline 2024-05-22 11:33:45 UTC
Update on this

This discrepancy between the two options in two different situations happens when the screens are color calibrated.
I still think the behaviour should be:
When I choose "as web srgb" it should still have the same result for when I paste into a new file and paste as a reference image.
Same for paste "as monitor" same result for when pasting into a file and pasting as reference image.