Bug 403676

Summary: Converting vector layer to paint layer crops the content of the vector layer beyond canvas boundaries
Product: [Applications] krita Reporter: Raghavendra kamath <raghu>
Component: Layers/VectorAssignee: Krita Bugs <krita-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: EmilySeville7cfg, freebox64, halla
Priority: NOR    
Version First Reported In: 4.1.7   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Raghavendra kamath 2019-01-28 06:31:19 UTC
SUMMARY
If there is a vector object which spans beyond the canvas boundary , and a user converts it to raster (paint layer) the content that is beyond the canvas boundary gets trimmed or cropped.

STEPS TO REPRODUCE
1. Open krita add a new vector layer, draw a rectangle such that half of it is beyond canvas boundary
2. right click on the layer in layer stack and go to convert > to paint layer
3. check the resulting layer by moving it, it must be now trimmed, discarding the portion that was out of canvas

OBSERVED RESULT
the vector objects beyond the canvas get trimmed when converting to paint layer

EXPECTED RESULT
the data should be preserved even when converting to paint layer
Comment 1 mvowada 2019-01-30 18:57:17 UTC
Thanks. Assuming it is unwanted (i.e. size limits) I can confirm with 4.2.0 on Ubuntu 14.04.
Comment 2 Halla Rempt 2019-04-30 12:02:35 UTC
This is because we convert the projection of the vector layer, which is limited to the size of the image.
Comment 3 Emily Grace Seville 2023-04-02 13:19:47 UTC
It still reproduces in Krita 5.0.2. See this post for instance: https://krita-artists.org/t/conversion-from-vector-layer-with-masks-breaks-original-image/61666