Bug 387688

Summary: Filters don't work on duplicate layers that are mirrored
Product: [Applications] krita Reporter: G R <toastersatilite>
Component: AnimationAssignee: Dmitry Kazakov <dimula73>
Status: RESOLVED FIXED    
Severity: normal CC: dimula73, halla, joupent
Priority: NOR Keywords: triaged
Version First Reported In: 3.3.2   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description G R 2017-12-07 21:05:41 UTC
1. Duplicate a layer
2. Apply "layer>transform>mirror layer horizontally" to the duplicated layer
3. Try to apply any filter on it (blur or HSV adjustment for example), the filter won't have any effect.

note: The same is also true for "mirror layer vertically" but the filter will actually work on the top half of the layer for some reason.
Comment 1 G R 2017-12-07 21:27:44 UTC
I left out an important step, do this first: Give the layer you are duplicating a keyframe on the timeline.
Comment 2 Halla Rempt 2017-12-08 10:58:39 UTC
Hm, that works here...
Comment 3 G R 2017-12-08 18:24:30 UTC
(In reply to Boudewijn Rempt from comment #2)
> Hm, that works here...

Did you give the layer a key on the animation timeline? These are my updated steps:

1. Give a layer a key on the timeline
2. Duplicate the layer
3. Apply "layer>transform>mirror layer horizontally" to the duplicated layer
4. Try to apply any filter on it (blur or HSV adjustment for example), the filter won't have any effect.

note: The same is also true for "mirror layer vertically" but the filter will actually work on the top half of the layer for some reason.
Comment 4 Halla Rempt 2017-12-20 10:08:41 UTC
I'm sorry, I really cannot reproduce. Maybe you could make a screen recording? I must be missing something.
Comment 5 G R 2017-12-20 15:22:35 UTC
Here's a video
https://www.youtube.com/watch?v=GDE2a3FCSYg

Here's a video, as you can see,the duplicated layer has a keyframe and is then mirrored, the thumbnail in the layers panel doesn't update and filters don't work on it (raindrops weirdly appears on the opposite side). It's more apparent on layers like this that don't overlap each other.
Comment 6 Halla Rempt 2018-01-03 15:41:16 UTC
Thanks. I see one difference -- I didn't select the "copy frame" option. That's probably it...
Comment 7 joupent 2018-09-25 13:21:31 UTC
I can reproduce. The simplest steps I found to work:
1. Create an animated layer with some content.
2. Duplicate it.
3. Move the duplicated layer (move tool). Ideally, the new layer's content should partially overlap with the original to best illustrate the problem.
4. Open the filter, adjust settings.

The filter only affects the area within the extents of the original layer.