Bug 476512

Summary: Impossible to access undo history after making the background layer animated
Product: [Applications] krita Reporter: paleh <paleh21669>
Component: AnimationAssignee: Dmitry Kazakov <dimula73>
Status: CONFIRMED ---    
Severity: normal CC: dimula73
Priority: NOR    
Version: 5.2.1   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description paleh 2023-11-03 15:51:33 UTC
SUMMARY
Creation of the first frame on a layer is not undoable. For a 1-layer document it also means impossibility of accessing the undo history before the frame was created.


STEPS TO REPRODUCE
1. Create a document with a single layer.
2. Draw several strokes on it.
3. Add a blank keyframe to it.
4. Press undo several times.

OBSERVED RESULT
All the strokes done in step 2 remain throughout the undoing.

EXPECTED RESULT
Undos allow to access all the intermediate states of the layer's history.
Optionally, pressing undo once in step 4 (undoing the creation of the frame) should return the layer to a non-animated state 

SOFTWARE/OS VERSIONS
Linux: Ubuntu 22.04
Qt Version: 5.15.7
Appimage
Comment 1 Dmitry Kazakov 2023-11-03 15:57:50 UTC
I can confirm the issue :(
Comment 2 Dmitry Kazakov 2023-11-03 15:58:31 UTC
This is not a regression. The issue is present in Krita 5.1.5