Strange Behavior Putting Drawing Events onto the Undo Stack #847
Labels
cat.Canvas
Issue relates to the canvas
platform.Windows
Issue is reported on Windows
type.Bug
Something isn't working as intended
There appears to be an issue with how drawing events get added to the undo stack. If you hit undo after a drawing event, but before a time slice is placed onto the undo stack you will undo the drawing event, but immediately have a new drawing event placed onto the undo stack, which contains the previous undo event. This bug appears to have been documented and fixed in issue 174, but it was either reintroduced, or the fix did not make it into the Windows build.
This imgur album shows the described issue: http://imgur.com/a/wtSLt (I could not attach the gifs due to the file size)
Basic system details
MyPaint version: 1.2.1+gitexport.bcf5a28d
Also reproducable on current alpha, 1.3.0-alpha+git.70ce73d9
Operating system: Windows 10 64 bit
Steps to reproduce
This problem can be exacerbated if you made strokes between when you hit undo, and when the undo event was pushed onto the stack, as these strokes will leave the undo/redo stack in a broken state.
Note: Because this is a timing-dependent bug, it may take a few attempts to reproduce the issue. It all depends on whether or not a slice of pen events were being added to the undo/redo stack before or after you hit undo.
The text was updated successfully, but these errors were encountered: