Bug 458172

Summary: Crash when copy-paste vector layer
Product: [Applications] krita Reporter: Kampidh <qampidh>
Component: Layer StackAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: penguinflyer2222
Priority: NOR    
Version: 5.1.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:

Description Kampidh 2022-08-22 14:24:47 UTC
SUMMARY
Using copy and paste on vector layer (either in the same document or to another document) resulting a crash, even though the vector layer is empty. However, using duplicate (Ctrl+J) works just fine.

My workaround for this is creating a new vector layer on the second document, then manually select and copy the vector elements on the first document, then pasted it to the second document's vector layer.

(Pardon if this went into a wrong component, I'm a bit confused whether this should go into Layer Stack or Layers/Vector)


STEPS TO REPRODUCE
1.  Select a vector layer
2.  Right-click > "Copy Layer"
3.  "Paste Layer" either on the same document or another document

OBSERVED RESULT
Krita crashes to desktop

EXPECTED RESULT
Vector layer got copied

SOFTWARE/OS VERSIONS
Windows: 10 Pro 21H2 64bit
Qt Version: 5.12.12
Comment 1 Freya Lupen 2022-08-22 14:32:15 UTC

*** This bug has been marked as a duplicate of bug 458115 ***