https://bugs.kde.org/show_bug.cgi?id=478520
Bug ID: 478520 Summary: Inconsistent undo may lead to data loss when creating a layer above global selection mask Classification: Applications Product: krita Version: 5.2.2 Platform: Ubuntu OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: Layer Stack Assignee: krita-bugs-n...@kde.org Reporter: paleh21...@proton.me Target Milestone: --- STEPS TO REPRODUCE 0. "Show global selection mask" must be active. 1. Create a selection. 2. Create a new layer above the global selection mask (this happens naturally when the user calls "New Layer from Visible" for example) 3. Draw some strokes on this new layer. 4. Press Undo enough times to get to before step 1 (before the selection existed) 5. Press Redo. OBSERVED RESULT Pressing Redo any further doesn't bring back the layer created in step 2. Thus, all work done on that layer in steps 2-3 is lost. EXPECTED RESULT It is possible to redo all the way to the last action done in step 3. SOFTWARE/OS VERSIONS Linux: Ubuntu 22.04 Qt Version: 5.15.7 Appimage ADDITIONAL INFORMATION This was present in 5.1.5 and is present on master (git-1fc417ae3e) -- You are receiving this mail because: You are watching all bug changes.