Bug 500558

Summary: Animated transform masks break when resizing canvas
Product: [Applications] krita Reporter: ryanbwillingham
Component: AnimationAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: major CC: emmetoneill.pdx
Priority: NOR    
Version First Reported In: 5.2.9   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Video of the bug

Description ryanbwillingham 2025-02-22 01:29:15 UTC
Created attachment 178718 [details]
Video of the bug

SUMMARY
Using a transform mask to animate a layer/layer group's rotation and then resizing the canvas causes the animated layer to move around diagonally instead of rotating. I wasn't able to reproduce the bug by just animating its position, though I didn't test scale/shear.

STEPS TO REPRODUCE
1. Create a paint layer and add a transform mask to it.
2. In the animation curves docker, add a few keyframes to the transform mask.
3. Rotate the transform mask using the transform tool.
4. Resize the canvas, whether directly or by trimming to the current layer/selection.
5. Play the animation.

OBSERVED RESULT
The animated layer moves around diagonally.

EXPECTED RESULT
The animated layer rotates the same way regardless of canvas size.

SOFTWARE/OS VERSIONS
Windows 10, version 22H2
Comment 1 Emmet O'Neill 2025-05-29 22:11:37 UTC
Confirming this, thanks for the report Ryan.
Comment 2 Emmet O'Neill 2025-06-11 23:14:55 UTC

*** This bug has been marked as a duplicate of bug 469881 ***