Bug 476015

Summary: Merging non-animated layers creates animated layer
Product: [Applications] krita Reporter: Freya Lupen <penguinflyer2222>
Component: Layer StackAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: acc4commissions
Priority: NOR Keywords: regression
Version First Reported In: git master (please specify the git hash!)   
Target Milestone: ---   
Platform: Other   
OS: Other   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Freya Lupen 2023-10-23 18:51:22 UTC
SUMMARY
As reported on KA, since commit d259fa10 "Fix merge down of an non-animated layer to an animated one", merging non-animated layers creates an animated layer.

STEPS TO REPRODUCE
1. Create two non-animated layers, merge the top one down.

OBSERVED RESULT
Result layer is animated.

EXPECTED RESULT
Result layer is not animated.

SOFTWARE/OS VERSIONS
Krita 5.3.0-prealpha a0db80d17a
Comment 1 Dmitry Kazakov 2023-10-24 08:10:35 UTC
Git commit fbdc805616e035d8d6e64a27fbc7e0949aa0f831 by Dmitry Kazakov.
Committed on 24/10/2023 at 10:10.
Pushed by dkazakov into branch 'master'.

Don't make merged layer animated if none of the sources were

M  +1    -1    libs/image/kis_layer_utils.cpp

https://invent.kde.org/graphics/krita/-/commit/fbdc805616e035d8d6e64a27fbc7e0949aa0f831
Comment 2 Dmitry Kazakov 2023-10-24 08:11:13 UTC
Git commit b28ef2488dfb77e90eb59b9b17881eb0ec837746 by Dmitry Kazakov.
Committed on 24/10/2023 at 10:11.
Pushed by dkazakov into branch 'krita/5.2'.

Don't make merged layer animated if none of the sources were

M  +1    -1    libs/image/kis_layer_utils.cpp

https://invent.kde.org/graphics/krita/-/commit/b28ef2488dfb77e90eb59b9b17881eb0ec837746
Comment 3 Dmitry Kazakov 2023-10-24 08:56:41 UTC
*** Bug 476038 has been marked as a duplicate of this bug. ***