Bug 458276

Summary: When trying to paste text layers between multiple open files, Krita will crash.
Product: [Applications] krita Reporter: yockeyjim <yockeyjim>
Component: Layers/VectorAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: penguinflyer2222
Priority: NOR    
Version: 5.1.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Krita log file.

Description yockeyjim@yahoo.com 2022-08-25 01:42:03 UTC
SUMMARY

When trying to paste text layers between multiple open files, Krita will crash.

STEPS TO REPRODUCE
1.  Create two new files.
2. Create a text layer in one of them using the text tool.
3. Copy the layer by right clicking it (in the layer docker) and selecting "copy layer"
4. Switch to the other file, and press ctrl+V to paste.
5. Krita crashes.

OBSERVED RESULT
Krita crashes

EXPECTED RESULT
Either the text layers should be added to the second file, or nothing should happen.

SOFTWARE/OS VERSIONS
Windows: 10.

ADDITIONAL INFORMATION
This happened when using a self-made font, but it also occurred when using a seemingly built in font, and I assume the font doesn't matter.
Comment 1 yockeyjim@yahoo.com 2022-08-25 01:48:56 UTC
Created attachment 151567 [details]
Krita log file.
Comment 2 Freya Lupen 2022-08-25 03:17:26 UTC

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