https://bugs.kde.org/show_bug.cgi?id=397836
Bug ID: 397836 Summary: Undo/Redo Bug when merging a layer that has been `Clone`d Product: krita Version: 4.1.1 Platform: MS Windows OS: MS Windows Status: UNCONFIRMED Severity: normal Priority: NOR Component: Layer Stack Assignee: krita-bugs-n...@kde.org Reporter: tus...@vista.aero Target Milestone: --- Hi, I am facing problems with undo/redo and the Clone Layer. Here is the steps to reproduce the bug: 1. Create a document in Krita. 2. Add a Paint Layer (assuming its name is Layer 2). 3. Add a Paint Layer (assuming its name is Layer 3) above Layer 3. 4. Paint something on both Layer 2 and Layer 3. 5. Add a Clone Layer of Layer 2 (assuming its name is Layer 4). 6. Move the content of Layer 4 so that it can be seen easily. 7. In the `Layers` Docker, move Layer 4 to someplace below Layer 2. 8. Merge Layer 3 with Layer 2. Note that Layer 4 has become a Paint Layer. 9. Undo. Layer 2 (the merged layer) has *gone*; Layer 4 reappears to be a Clone Layer. 10. Redo. Layer 2 does not come back. Layer 4 is again a Paint Layer. The correct behavior, in my opinion, is: In Step 8, Layer 4 continues to be a Clone Layer of the merged Layer. In Step 9, the layers restore their original state before the merge. In Step 10, Layer 3 and 2 are merged again, and Layer 4 continues to be a Clone Layer of the merged Layer. PS: If you add some Masks to the Clone Layer, after merging some of them are gone. -- You are receiving this mail because: You are watching all bug changes.