Draw rectangle several times and undo and crash appears
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Pinta |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I tested Pinta latest commit from feature/
1. Rectangle from tools and draw rectangle on canvas.
2. Draw another rectangle to the right of the first one.
3. Draw third rectangle to the right of the second one.
4. Rectangle Select and select some area on canvas.
5. Undo - it undoes the selection.
6. Undo - problem appears. It undoes first two rectangles and the third one remains (I expect the opposite that third one would disappear and first two still visible).
7. Unto - now second one is magically displayed, but third one is not anymore (like I expect), but first one is still hidden.
8. Undo - now first rectangle is displayed and second and third are not. As far as I see this is OK.
9. Undo - all of the rectangles disappear. It looks fine.
10. Change focus to some other program.
11. Change back to Pinta and click outside of the canvas and crash appears:
System.
---> System.
at System.
at Pinta.Tools.
at Pinta.Tools.
--- End of inner exception stack trace ---
at System.
at System.
at System.
at GLib.Signal.
at GLib.SignalClos
I haven't been able to reproduce the crash, but I can reproduce the other issue with shapes not appearing
If you manage to hover over the right place the control points are still there, just the shape hasn't been redrawn properly after undoing