Bug 357488

Summary: Undoing moves is broken
Product: [Applications] krita Reporter: zottg <zottgrammes>
Component: GeneralAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: major CC: griffinvalley, halla
Priority: NOR    
Version First Reported In: 2.9.10   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description zottg 2016-01-03 23:56:13 UTC
Undoing a move on a layer doesn't put the layer back at the original spot.

1. Create new image
2. Draw something
3. Move the image
4. Undo

Expect: Image to return previous position
Actual: Image is offset.

It appears that the offset is proportional to the direction of the movement.
For example, if I draw an X in the center of the image and move halfway towards the bottom right corner, then after undoing the x is moved to the top left corner of the image. So it's almost like a scale of -2 is being applied to the translation vector.

May be related to:
https://bugs.kde.org/show_bug.cgi?id=357460
Comment 1 wolthera 2016-01-06 17:47:39 UTC
Hey there, this seems to be fixed in the current code. Could you check the 3.0 alpha when it's out, whether it still has this bug?
Comment 2 Halla Rempt 2016-01-10 11:16:35 UTC

*** This bug has been marked as a duplicate of bug 357619 ***