https://bugs.kde.org/show_bug.cgi?id=476571
Bug ID: 476571 Summary: Creating Filter Layer based off current selection then changing its Blending mode will produce artifacts and weird behavior Classification: Applications Product: krita Version: 5.2.1 Platform: Microsoft Windows OS: Microsoft Windows Status: REPORTED Severity: normal Priority: NOR Component: Filter Layers Assignee: krita-bugs-n...@kde.org Reporter: dorijan.sa...@gmail.com Target Milestone: --- Created attachment 162874 --> https://bugs.kde.org/attachment.cgi?id=162874&action=edit Results - Initial Filter Layer effect vs Changing blending mode vs Workaround SUMMARY Not certain if this is a bug or a limited functionality of how Filter Layer's transparency (alpha) works in Krita but the results are weird and could be caused by a bug. If Filter Layer is added while having an active selection (in order to affect only selected area) then changing its Blending Mode (for example from default Copy to Overlay) creates box artifact around affected area and further if turning visibility of affected layers (layers below the added filter layer) the effect spreads to entire affected layers. STEPS TO REPRODUCE 1. Create Paint Layer and draw something (rectangle for example) with any color except pure white or black (as the result may not be visible based on used blend mode) 2. Create a selection selecting a portion of added pixels on paint layer (portion of the rectangle) 3. Add Filter Layer (Gradient Map, HSV adjustment or literally any filter) 4. Change Filter Layer Blending Mode from default Copy to Overlay or something (some may have a visible issue based on colors used) OBSERVED RESULT After Changing the Blending Mode of created Filter Layer, the alpha(?) of that Filter Layer (not entire added filter effect) will spread around initially affected selection in a box shape and further turning visibility of affected Layer/layers below will spread the effect to entire affected layer (the rectangle from example). EXPECTED RESULT After Changing the Blending Mode of created Filter Layer, only Blending Mode within initially affected Selection should change. SOFTWARE/OS VERSIONS Windows: Windows 10 Pro, Version 2009 KDE Plasma Version: nowhere to be found within Krita Help > About KDE KDE Frameworks Version: same as above Qt Version: 5.15.7 ADDITIONAL INFORMATION Currently Installed Krita version 5.2.1 but the issue seems to go further back (tried 5.0 up to 5.2.1 and had same results). Used RGB/Alpha 8-bit Color Space, but results are the same in other Models/Depths too. WORKAROUND Only way I could find where alpha of Filter Layer doesn't partially bleed past selection is to Add Transparency Mask based on said selection to the Filter Layer after changing blending mode. This produces close to desired result where changing blending mode will stick to selection (currently transparency mask). However if the transparency mask is added before changing from copy to another Blend will again reproduce only partial bleed where in order to get full change I have to turn visibility of affected layer off/on, same if I go back to copy from any other blending mode. -- You are receiving this mail because: You are watching all bug changes.