Bug 195618

Summary: using crop tool misplaces shapes
Product: [Applications] krita Reporter: Elián Hanisch <lambdae2>
Component: GeneralAssignee: Sven Langkamp <sven.langkamp>
Status: RESOLVED FIXED    
Severity: normal CC: halla, michael.thaler, sven.langkamp
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: before cropping
after cropping

Description Elián Hanisch 2009-06-08 01:53:15 UTC
Version:           2.1 Alpha (using 4.2.4 (KDE 4.2.4), Kubuntu packages)
Compiler:          cc
OS:                Linux (i686) release 2.6.28-11-generic

if you crop an image with shapes the shapes' positions aren't updated to the new canvas size, see screenshots.
Comment 1 Elián Hanisch 2009-06-08 01:54:38 UTC
Created attachment 34354 [details]
before cropping

here we're about to crop an image with shapes
Comment 2 Elián Hanisch 2009-06-08 01:56:33 UTC
Created attachment 34355 [details]
after cropping

now part of the shape is outside of the canvas
Comment 3 Halla Rempt 2009-10-17 17:03:15 UTC
*** Bug 196905 has been marked as a duplicate of this bug. ***
Comment 4 Sven Langkamp 2009-11-30 00:25:36 UTC
SVN commit 1056382 by langkamp:

fix misplacing of shapes on crop
BUG:195618


 M  +7 -1      image/kis_crop_visitor.h  
 M  +6 -0      image/kis_external_layer_iface.h  
 M  +18 -0     ui/flake/kis_shape_layer.cc  
 M  +2 -0      ui/flake/kis_shape_layer.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1056382