Bug 396605

Summary: Cancelling a transformation action causes data corruption
Product: [Applications] krita Reporter: Tyson Tan <tysontanx>
Component: Tools/TransformAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: critical CC: a.kamakin, antti.savo, kapyia.art
Priority: NOR Keywords: regression
Version: nightly build (please specify the git hash!)   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 762a9a647942ce046706f910458c4daec46f9e31
Sentry Crash Report:

Description Tyson Tan 2018-07-17 15:06:04 UTC
In Krita 4.2.0 pre-alpha, cancelling a transform tool action causes weird layer data corruption.

# TYPE A
1) Drag any jpg/png file into Krita
2) Ctrl+T
3) ESC or switch to another tool
4) The picture is cleared, and it cannot be undone.


# TYPE B
1) Create a new document
2) Draw something on Layer 2
3) Ctrl+T
4) ESC or switch to another tool
5) Layer 2 is cleared and cannot be undone.

Tested on krita-4.2.0-pre-alpha-11668da-x86_64.appimage, Manjaro 17.1.11 KDE
Comment 1 Kapyia 2018-07-17 19:50:21 UTC
Present for me in 4.2.0-pre-alpha (git 024d1a3) on Win 10 as well
Comment 2 Antti Savolainen 2018-07-21 12:29:20 UTC
Another regression with the same pattern. It's reproducable only in the latest testing versions but not in git.

Video: https://youtu.be/_e1GEfEL_9w