Bug 507876

Summary: Limited cache frame size freezes canvas after animation playback
Product: [Applications] krita Reporter: WTPerson <georgesaladin18>
Component: AnimationAssignee: Krita Bugs <krita-bugs-null>
Status: REPORTED ---    
Severity: normal CC: emmetoneill.pdx
Priority: NOR    
Version First Reported In: 5.2.11   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: A 3000x3000px canvas project with a single animated layer freezes the canvas after playing the animation.
Another 3000x3000px canvas project, but with limited cached frame size disabled. Issue goes away. Expected behaviour.

Description WTPerson 2025-08-05 00:04:32 UTC
Created attachment 183793 [details]
A 3000x3000px canvas project with a single animated layer freezes the canvas after playing the animation.

SUMMARY
When working on a canvas with a higher resolution than the limit set in the "Limit cached frame size" (Settings > Configure Krita > Performance > Animation cache), after playing the animation, the canvas won't update anymore.
You are able to zoom, pan and rotate, but you only can look at whatever was the last frame when the animation was playing. No other changes are visible.

STEPS TO REPRODUCE
1. Enable "Limit cached frame size" with a value of 2500 px
2. Restart Krita to apply the changes
3. Create a project with a size of 3000x3000 px
4. Create a basic animation (e.g.: one raster layer that goes 1, 2 then 3 on a loop)
5. Verify that you can switch between frames and modify each
6. Play the animation
7. Stop the animation
8. You can no longer see changes in the canvas other than navigation

OBSERVED RESULT
After playing the animation with the previous steps, any change you make to any layer is no longer updated on the canvas.
You can use a brush, disable/enable a layer, delete every layer, etc. and you'll only be able to work with whatever the cached animation last frame was.
Disabling "Limit cached frame size" (and restarting Krita to apply it) made the issue go away.

EXPECTED RESULT
After playing an animation, the normal behavior is to be able to keep editing the layers in the project and see those changes reflected in the canvas.

SOFTWARE/OS VERSIONS
Windows: Windows 10 (x86_64)
Krita: 5.2.11 (git a4da714)

ADDITIONAL INFORMATION
This bug was reproduced with any available Renderer in Settings > Configure Krita > Display > Canvas Acceleration.
In fact, the only way to work around that bug (other than disabling "Limit cached frame size") is to disable "Canvas Graphics Acceleration" as a whole.
Comment 1 WTPerson 2025-08-05 05:14:10 UTC
Created attachment 183795 [details]
Another 3000x3000px canvas project, but with limited cached frame size disabled. Issue goes away. Expected behaviour.