Comment 4 for bug 1735980

Revision history for this message
kaputtnik (franku) wrote :

With r8531 and no ASAN try the following:

 1. Open Editor
 2. Place the immovable 'Ruin' (the column) at position 2/7
 3. Use Set Origin at the position 2/13, the position of the ruin is now at 0/58
 4. Hit undo -> The Ruin appears now at position 3/8 (one down, one right, compares to step 2)
 6. Hit redo -> The Ruin appears now at position 0/59 (one right compares to step 3)
 7. Hit undo -> The Ruin appears now at position 3/9 (one to right, compares to step 4)
 8. Hit redo -> The Ruin appears now at position 1/60 (one down, one right, compares to step 6)
 9. Hit undo -> The Ruin appears now at position 4/10 (one to right, one to down compares to step 7)
 ... The more one uses Redo Undo, the more the immovable 'walks' to the right and down.

Now close widelands and run again to get a clean environment, do the same as above until step 4. and then:
 5. click Undo again -> nothing happens, but normally one would suspect the ruin get removed
 6. click Redo -> The ruin appears twice, once at the position 3/8 and an additional one at position 2,7 (the initial position)

When doing the things in #1 and do the first Undo it changes the Origin, a second undo should remove the fish, but this is done only partial: Fish on the bottom right didn't get removed. Doing a third Undo should remove the Terrain water, but removing is the same as with the fish: Some terrain of Water on the bottom right stays on the map.