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

            Bug ID: 398990
           Summary: Filter layer ignores transparency when merged with
                    layers beneath it
           Product: krita
           Version: 4.1.1
          Platform: MS Windows
                OS: MS Windows
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Layer Stack
          Assignee: krita-bugs-n...@kde.org
          Reporter: katearche...@yandex.ru
  Target Milestone: ---

When merging filter layer with layers beneath it the resulted merged layer have
no transparency at all with all pixels that were supposed to be transparent
filled with a color of a flattened image.

How to reproduce: 
1a. Download an attachment or:
  1b.1. create three layers on the root level.
  1b.2. Fill the bottom layer with some color/colors completely.
  1b.3. Draw on top two layers something, leaving some pixels
untouched/transparent.
  1b.3. create a filter layer for hue/saturation/lightness on top and tweak it
so there would be seen changes in the color of layers beneath it.
2. Merge all the layers(including hsl filter layer) except for the bottom
one(filled with color completely).
3. Get two layers that has no transparent pixels at all with the top one having
all of the transparent pixels replaces with pixels of the flattened image
beneath it.

Expected results: To have transparency from merged layers preserved since they
were transparent for a reason before the merge.

Actually it happens with any filter layer thrown into the mix, and for an
example i've included blur filter layer as well which produces even stranger
results.

Why is it a problem: it can be solved by wrapping the layers that needed to be
merged in a group(since that way a filter layer would inherit the transparency
of a group) and merging the resulted group, thus having the result that was
expected to be produced, but it's kinda cumbersome and totally unintuitive
since every other merging operation on the root level preserves transparency
totally fine.

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

Reply via email to