Can I Undo one stroke instead of two strokes?

Hi, MyPaint is an awesome software but there’s one big issue for me.
When I hit Undo in MyPaint, it Undos TWO strokes instead of one, it’s very annoying.
Is there any file modification or setting I can do to change it so Undo only removes one brush stroke at a time?
Thanks! :grin:

By the way, in case it interests the developers, I previously had an issue with
CTRL activating the color picker (which I did not like since I always use CTRL + Z to undo) but I changed a setting and disabled it (I can’t remember what setting it was but eventually I hit the right button, it wasn’t that obvious to me so it took a while to figure out).
So now it’s just this Undo issue left and I’ll be very happy with MyPaint! :grin:

What is put on the undo stack is determined by brush changes and duration. The number of strokes, in the traditional sense, is not a factor. I don’t think it’s configurable, but it’s something to consider (and I’m sure it has been considered, and brought up before).

Thanks for the reply.
If anyone has at least a workaround this problem, I’d be grateful. Thanks. :slight_smile:

One workaround could be to draw slower. :wink:

No, just press ‘z’ instead of ctrl+z … I used to have that problem too.

~Tigr~~,

EDIT: Actually… drawing slower is the only answer… how crappy. I just verified that, but I still stand by only pressing ‘z’ for undo. it is so much easier when you aren’t “using” your keyboard.

If anyone has any updates or new ideas (workaround hacks, alternative programs, etc.), let me know.
I don’t have much hope this will be fixed in MyPaint any time soon (maybe ever :slightly_frowning_face:) but it’s nice to know if others feel the same way and it’s not just me.
I’m not a programmer so sadly I can’t help.
Krita doesn’t have this issue but it’s slow and resource hungry unlike MyPaint which is fast and lightweight.

If anyone is in the same situation, here are some alternatives in the meantime.
There’s Paint Tool SAI, not free or open source but it’s fast and lightweight like MyPaint.
There are also free programs (not sure which are open source) like AzDrawing2, AzPainter2, FireAlpaca, Drawpile, SmoothDraw, Real World Paint and Medibang. All of these have different strengths and weaknesses that depend on your own preferences. Hope this helps.