https://bugs.kde.org/show_bug.cgi?id=422479
Bug ID: 422479 Summary: B&W picture, with only B&W layers, will produce colors from nowhere after Grayscale to RGB colorspace conversion Product: krita Version: 4.2.9 Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: Layer Stack Assignee: krita-bugs-n...@kde.org Reporter: to...@offensivelytolerant.com Target Milestone: --- Created attachment 129070 --> https://bugs.kde.org/attachment.cgi?id=129070&action=edit A workfile showing the issue : made from a base white layer, and a layer group containing a black layer, everything with regular blending mode, it shows plain yellow color in the canvas. SUMMARY I had a work file using a grayscale color space (can't remember which one exactly), that I needed to convert to RGB color space. After that, canvas showed colors, exported color, etc, despite workfile containing only grayscale values (down to only black and white regular layers). It seems like colorspace conversion corrupted some layer groups (???) to make them output colors, because creating layers with value of grey inside these layer groups will lead to color values (plain color like yellow if layers inside are black) at the end. Newly created layer groups don't have the issue. Also saw it happen when moving a grayscale layer stack from a grayscale work file into a RBG color file (target file was 16 bits floating point precision at this time) Appears on Parabola Linux, on a Thinkpad x230 with a Intel chipset. STEPS TO REPRODUCE 1. Open YellowBug.kra and see the result : canvas is yellow. But the workfile itself only contains a white layer used as a background, a layer group ("PBR") on top blended with Normal mode, and a black layer blended with Normal mode in it. 2.Change the color of the layer inside PBR, or create a new layer in it after emptying it and put any color in it : result will be somewhere between yellow and white. 3.Disable PBR, create a new layer group on top of the bottom layer, and put things in it (or even move the content of "PBR" inside the new layer group) : everything behaves the way it should. OBSERVED RESULT Any color used in the "PBR" layer group is displayed as a tint of yellow. EXPECTED RESULT Any color used in the "PBR" layer would be displayed as it has been set inside the layer, because it's on top of the stack SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: Parabola (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION -- You are receiving this mail because: You are watching all bug changes.