Bug 350510

Summary: Transform Mask only transforms a portion of layer
Product: [Applications] krita Reporter: mc3dkid
Component: Tools/TransformAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: griffinvalley
Priority: NOR    
Version: 2.9.4   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Test file showing Transform Mask Bug

Description mc3dkid 2015-07-22 17:40:24 UTC
If you use Transform Mask transform a layer that extends beyond the bounds of the current image size only a portion of that layer gets transformed.

Reproducible: Always

Steps to Reproduce:
1. Create a document 512 X 512
2.open an image larger than the first document.
3.Copy and paste layer from second document into first document
4. Add Transform Mask on to pasted layer
5. Transform the layer so that all of the contents appear to be within the bounds of the image.


Actual Results:  
Sometimes it is immediately noticeable that only the visible portion of the layer is being transformed.
Sometimes it looks as if the layer was correctly transformed but if you flatten the layer you can see only a portion of the layer was transformed and that there is still content from the transformed layer outside the bounds of the image.

Expected Results:  
The Transform Mask should transform all of the content that it shows it is while previewing. That being the entire layer if nothing is selected.
Comment 1 mc3dkid 2015-07-22 17:42:23 UTC
Created attachment 93702 [details]
Test file showing Transform Mask Bug

Krita version 2.9.6.3
Comment 2 mc3dkid 2015-07-22 17:46:03 UTC
When I am referring to transforming the layer content I mean SCALING.
Comment 3 wolthera 2015-07-24 10:18:53 UTC
I can confirm it with the test file, but not by myself.
Comment 4 Dmitry Kazakov 2016-04-11 18:34:34 UTC
Git commit caeff5a4dc1e16e2e5cb1c664372018ea3f7dd73 by Dmitry Kazakov.
Committed on 11/04/2016 at 18:34.
Pushed by dkazakov into branch 'master'.

Fix transforming layers bigger than the image in size
Related: bug 349821
Ref T2081

M  +38   -17   libs/image/kis_safe_transform.cpp
M  +0    -2    libs/ui/kis_file_layer.cpp

http://commits.kde.org/krita/caeff5a4dc1e16e2e5cb1c664372018ea3f7dd73