Bug 461109 - Layer content gone after transformation
Summary: Layer content gone after transformation
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Tools/Transform (show other bugs)
Version: 5.1.1
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-28 11:28 UTC by kousakiaya
Modified: 2022-11-09 11:38 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Notice the glitch after transformation (1.50 MB, video/mp4)
2022-10-28 11:31 UTC, kousakiaya
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kousakiaya 2022-10-28 11:28:20 UTC
SUMMARY
I think there are chances that the content of the layer will be gone after you transform it.
The canvas still has it (shows it), but the layer is empty, you are seeing the “cache”.
If you inspect this layer in isolation mode, you see it is empty.


STEPS TO REPRODUCE
This happens by chance. Just keep drawing and transforming and you will see.

OBSERVED RESULT
The layer content is gone, but the cache still shows it.

EXPECTED RESULT
The layer content should be there.

SOFTWARE/OS VERSIONS
Windows 10

ADDITIONAL INFORMATION
Comment 1 kousakiaya 2022-10-28 11:31:35 UTC
Created attachment 153259 [details]
Notice the glitch after transformation
Comment 2 kousakiaya 2022-10-28 11:47:47 UTC
The full screen recording here
https://youtu.be/6ijRyVeOAgE
Watch from 1:27
Comment 4 Dmitry Kazakov 2022-11-09 11:33:23 UTC
Git commit 01b342fc07c1a8bcaa210c81b194e2a34020b299 by Dmitry Kazakov.
Committed on 09/11/2022 at 11:32.
Pushed by dkazakov into branch 'master'.

Fix image data loss in when the transform tool action is applied to quickly

It may happen when the tool is quickly switched to and from
by V shortcut assigned to the Brush Tool.
Related: bug 460557

M  +11   -0    plugins/tools/tool_transform2/strokes/inplace_transform_stroke_strategy.cpp

https://invent.kde.org/graphics/krita/commit/01b342fc07c1a8bcaa210c81b194e2a34020b299
Comment 5 Dmitry Kazakov 2022-11-09 11:38:56 UTC
Git commit 825fa9d2b04847cfa5dffcc8600ff02c665d4f1b by Dmitry Kazakov.
Committed on 09/11/2022 at 11:38.
Pushed by dkazakov into branch 'krita/5.1'.

Fix image data loss in when the transform tool action is applied to quickly

It may happen when the tool is quickly switched to and from
by V shortcut assigned to the Brush Tool.
Related: bug 460557

M  +11   -0    plugins/tools/tool_transform2/strokes/inplace_transform_stroke_strategy.cpp

https://invent.kde.org/graphics/krita/commit/825fa9d2b04847cfa5dffcc8600ff02c665d4f1b