Bug 369477 - Transform tool when initiated on group layer disregards layer data of child layers outside of the canvas
Summary: Transform tool when initiated on group layer disregards layer data of child l...
Status: RESOLVED WORKSFORME
Alias: None
Product: krita
Classification: Applications
Component: Tools/Transform (other bugs)
Version First Reported In: git master (please specify the git hash!)
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-28 13:25 UTC by Raghavendra kamath
Modified: 2017-01-04 13:19 UTC (History)
1 user (show)

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


Attachments
(Video example) (2.02 MB, video/mp4)
2017-01-04 11:56 UTC, mvowada
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Raghavendra kamath 2016-09-28 13:25:55 UTC
When the user initiates a transform tool over a group layer the resulting transformation is only done for the visible parts inside the canvas boundaries of a group layer. On the other hand when transform is applied to a layer it correctly takes into account the data that is outside the canvas boundaries.

Disregarding data outside the canvas area has a shortcoming . for example when we bring a group layer from a considerably bigger document to a smaller one the groups content are bound to go beyond canvas area , in this scenario user has to transform all the layers one by one to resize the whole group without cutting the data which is beyond the canvas boundary.

Reproducible: Always

Steps to Reproduce:
1.open a document and add a group layer with some children layer having pixels beyond the canvas
2.now try to transform the group


Actual Results:  
the pixels which are beyond the canvas area are not taken into consideration while transforming
Comment 1 mvowada 2017-01-04 11:56:17 UTC
Created attachment 103190 [details]
(Video example)

(In reply to Raghavendra kamath from comment #0)
> When the user initiates a transform tool over a group layer the resulting
> transformation is only done for the visible parts inside the canvas
> boundaries of a group layer. On the other hand when transform is applied to
> a layer it correctly takes into account the data that is outside the canvas
> boundaries.
> 
> Disregarding data outside the canvas area has a shortcoming . for example
> when we bring a group layer from a considerably bigger document to a smaller
> one the groups content are bound to go beyond canvas area , in this scenario
> user has to transform all the layers one by one to resize the whole group
> without cutting the data which is beyond the canvas boundary.
> 
> Reproducible: Always
> 
> Steps to Reproduce:
> 1.open a document and add a group layer with some children layer having
> pixels beyond the canvas
> 2.now try to transform the group
> 
> 
> Actual Results:  
> the pixels which are beyond the canvas area are not taken into consideration
> while transforming

Hi Raghavendra, just checked with Krita 3.1.1 on Ubuntu 14.04 and it seems I'm not able to reproduce the problem. Please, see the video for the steps I've followed, thanks.
Comment 2 Raghavendra kamath 2017-01-04 13:19:29 UTC
Hi mvowada

Thanks for testing this bug report. you are correct it can't be reproduced in latest Krita . I tried Krita built from git too

However like you i am not getting the transform handles around the content outside the canvas it only shows handle to the visible content. but it transform everything including the content outside the canvas too, so this bug is not relevant now. I am closing it for now.