https://bugs.kde.org/show_bug.cgi?id=466068

            Bug ID: 466068
           Summary: Wrong ICC profile handling when moving app from one
                    display to another
    Classification: Applications
           Product: krita
           Version: 5.1.5
          Platform: Microsoft Windows
                OS: Microsoft Windows
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Color models
          Assignee: krita-bugs-n...@kde.org
          Reporter: i...@cgidesign.de
  Target Milestone: ---

Created attachment 156480
  --> https://bugs.kde.org/attachment.cgi?id=156480&action=edit
Screenshots showing the issue and ICC settings for reproduction of the issue.

SUMMARY
***
Situation:
Windows 10 22H2
Two displays attached via Nvidia GPU displayport
Display1 = Main in Windows
Display2 = Secondary in Windows
Krita 5.1.5
***

In Krita each display has an ICC profile assinged.
When I open Krita on display1 and open an image, I get the expected color
management according to the assigned ICC profile. When I then move the Krita
GUI to display2 I get the expected switch to the ICC profile of display2.
But, if I then move the Krita GUI back to display1, Krita does not switch back
to the ICC profile of display1; instead it sticks to the profile of display2.


STEPS TO REPRODUCE
1. in Krita's settings assign ICC profiles to display1 and display2. Use
Krita's krita25_lcms-builtin-sRGB_g100-truegamma.icc for display1. This profile
is intentionally wrong - it is used to trigger an obvious change of the image
representation when this profile is used. Use a "correct" ICC profile for
display2 (e.g. one created with a probe or a default sRGB profile). Set
rendering intend to relative colorimetric.
2. Restart Krita on display1
3. Open an sRGB image with 8bit color depth. Because of the "wrong" linear
profile assigned to display1 the image will look darker than it would with a
correct sRGB profile.
4. Move the Krita GUI to display2. Krita switches its color managment to the
ICC profile of display2. The image now looks correct.
5. Move the Krita GUI back to display1. Krita does not switch back to the ICC
profile of display1 but keeps showing the image with  the profile of display2.

OBSERVED RESULT
When moving Krita's GUI from display1 to display2 the ICC profile of display2
get used correctly. When moving the GUI back to display1 Krita sticks with the
ICC profile of display2.

EXPECTED RESULT
When moving the GUI back to display1 the ICC profile of display1 should be
used.

SOFTWARE/OS VERSIONS
Windows 10 22H2 

ADDITIONAL INFORMATION
Detailed thread on krita-artists.org with initial "how to"-question and further
investigation of the issue.
https://krita-artists.org/t/icc-profile-handling-when-moving-app-from-one-display-to-another/58184

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to