Bug 356360

Summary: Can't undo strokes fully when Cumulative Undo is active
Product: [Applications] krita Reporter: guruguru.sp
Component: UsabilityAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: halla
Priority: NOR    
Version First Reported In: 2.9.9   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description guruguru.sp 2015-12-07 13:57:47 UTC
When I hit undo repeatedly to clear the content of the canvas, some strokes do not receive undo. This seems to happen when Cumulative Undo is active.

Reproducible: Always

Steps to Reproduce:
1. Create a new document
2. Make sure Cumulative Undo is on(from Undo docker)
3. Draw 4 strokes(possibly you need Split Stroke setting number + 1)
4. Undo 4 times

Actual Results:  
The first stroke does not get undo, remains on the canvas.

Expected Results:  
All strokes would get undo, making the canvas clear again.
Comment 1 Halla Rempt 2016-12-08 12:55:12 UTC
Hi Guruguru,

Sorry for the extremely late reply... Somehow this report fell through the cracks. I've tried to reproduce this now, but I cannot reproduce it anymore. Can you still reproduce it with 3.1 rc?
Comment 2 guruguru.sp 2016-12-08 14:37:13 UTC
Hi Boud, I do not seem to reproduce this with 3.1RC using my original steps, but at the same time I'm not 100% sure if the issue is gone - I need to check if the parameters are right for repro, but I can't seem to access the Cumulative Undo parameters, using Windows. (Can't use the cumulative history https://bugs.kde.org/show_bug.cgi?id=365300)
Comment 3 Halla Rempt 2016-12-08 15:26:05 UTC
I fixed that last issue today -- let's close this bug for now, and if it happens again, reopen.