Bug 477909 - Transform Tool in Wrap Around mode is destructive (changes the layer)
Summary: Transform Tool in Wrap Around mode is destructive (changes the layer)
Status: REPORTED
Alias: None
Product: krita
Classification: Applications
Component: Tools (other bugs)
Version First Reported In: 5.2.1
Platform: Microsoft Windows Microsoft Windows
: NOR wishlist
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-02 13:18 UTC by Katie
Modified: 2024-09-03 19:16 UTC (History)
2 users (show)

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


Attachments
Screenshots showing how the layer border expands (2.01 MB, application/x-zip-compressed)
2023-12-02 13:18 UTC, Katie
Details
Gif showing the destructive effects on the layer (3.10 MB, image/gif)
2023-12-02 14:24 UTC, Katie
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Katie 2023-12-02 13:18:37 UTC
Created attachment 163758 [details]
Screenshots showing how the layer border expands

SUMMARY
Currently the Wrap Around Mode is destructive when attempting to move the layer outside the canvas. It extends the layer to include the repeated parts of the image. This makes it harder to experiment and create seamless patterns by arranging different elements, as it introduces changes to the images.

Moving the layer

STEPS TO REPRODUCE
1. Enable Wrap Around mode
2. Move your layer outside the canvas
3. Disable Wrap Around mode

OBSERVED RESULT
The layer expands to include parts of the repeated image

EXPECTED RESULT
The layer should remain unchanged

Associated issue:
Transforming the layer

STEPS TO REPRODUCE
1. Enable Wrap Around mode
2. Move your layer outside the canvas
3. Transform the layer (rotate, resize, etc)

OBSERVED RESULT
The transformation is applied to the "updated" layer (the one that got extended after moving outside the canvas), which results in the design being cut and distorted.

EXPECTED RESULT
The transformation should be applied only to the original layer.
Comment 1 Katie 2023-12-02 14:24:53 UTC
Created attachment 163763 [details]
Gif showing the destructive effects on the layer
Comment 2 Dmitry Kazakov 2024-02-28 10:53:47 UTC
Hi, Katie!

I'm afraid that is exactly how Move Tool is expected to work. Could you explain a bit what is your usecase/pipeline? Why do you want to layer to be unchanged after moving it? Do you expect the layer to jump back into the original position right when you disable Wraparound mode? What is the expected behavior for you?
Comment 3 Dmitry Kazakov 2024-02-28 12:17:24 UTC
Opinion from IRC:

<askmeaboutloom> dmitryK: the move tool thing is a red herring. What the user wants is for the transform tool to interact properly with wraparound mode, which it doesn't.
<askmeaboutloom> See https://mega.nz/file/g8pBABYC#rizdApUUlzBGQA47rE6jeuB00tukzF8M4fnhAprK0fg
<askmeaboutloom> I would expect the smiley I selected to rotate, but instead it only rotates the bit that exists on the original canvas. The move tool is not the culprit evidently, since I didn't even use it.