Bug 384433

Summary: Resizing canvas bigger than the existing dimension, creates rendering refresh problem with vector shapes
Product: [Applications] krita Reporter: Raghavendra kamath <raghu>
Component: Layers/VectorAssignee: Dmitry Kazakov <dimula73>
Status: RESOLVED FIXED    
Severity: normal CC: halla, raghu
Priority: NOR    
Version: git master (please specify the git hash!)   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Raghavendra kamath 2017-09-06 14:00:10 UTC
Resizing canvas either with canvas size dialog or with crop tool, results in refresh problem with vector shapes the shapes show up at the top left corner of the canvas while actually the shape is somewhere else in the canvas. selecting by rubberband selection reveals the actual shape but the false shape doesn't go away.

**To reproduce**

1. Open Krita with a small document of size 100 px X 100 px
2. Create a vector layer and add a rectangle shape ( keep the stroke 5 or 10 px) 
3. Now Resize the canvas to 1000px X 1000px

You'll see that the shape has now gone towards the top left (Part of this positional behavior is because of bug 384370 ) Try to select that shape, you'll notice you now can't select it.

Try selecting the entire canvas region by left click and drag with the shape handling tool, the original shape will get selected no move it and it will reveal itself. Now you'll have two shapes on the canvas one real and one artifact.
Comment 1 Halla Rempt 2017-11-27 08:05:43 UTC
Added to https://phabricator.kde.org/T6369
Comment 2 Dmitry Kazakov 2018-02-06 17:13:45 UTC
The bug seem to be fixed in master.

Checked in: 
https://phabricator.kde.org/R37:18b549c1ee549b4be6182e368a42750adf56cce8