jspaint icon indicating copy to clipboard operation
jspaint copied to clipboard

"undo" undoes more than expected

Open JustasB opened this issue 3 years ago • 3 comments

Hello,

Not sure if this is a bug or a feature, but undo functionality undoes more than the most recent operation.

Steps to reproduce:

  1. Go to https://jspaint.app/
  2. Using the default pencil tool, draw three separate curves (left_click+hold, drag, release).
  3. Edit -> Undo

Expected result: The 3rd curve disappears

Actual result: All three lines disappear

JustasB avatar May 07 '22 15:05 JustasB

I'm not able to reproduce this behavior. Is it still happening for you? If so, what does the History window look like? (Edit > History)

1j01 avatar Jun 12 '22 07:06 1j01

Actually, you're right, the issue is not present when using incognito in Chrome.

I narrowed it down to the DuckDuckGo Privacy Essentials (DDGPE) extension in Chrome.

When the extension is disabled, the normal behavior is restored (undoes one last line).

I reported the issue to DDGPE -- it looks like this is an issue with DDGPE and not jspaint per se.

Let me know if you still would like to see the history window screenshots.

JustasB avatar Jun 12 '22 16:06 JustasB

It is interesting, I was using Firefox and DuckDuckGo and it does seem that undo gets rid of everything as well as fill all. I used Safari and Chrome and it worked fine. Not sure what to do there.

ur-momm avatar Jun 14 '22 22:06 ur-momm