Bug 463858 - Pasting into a vector layer when plain text is in the clipboard causes a crash
Summary: Pasting into a vector layer when plain text is in the clipboard causes a crash
Status: RESOLVED DUPLICATE of bug 463113
Alias: None
Product: krita
Classification: Applications
Component: Layers/Vector (show other bugs)
Version: 5.1.4
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
: 464182 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-01-05 01:24 UTC by paleh
Modified: 2023-01-12 08:53 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description paleh 2023-01-05 01:24:06 UTC
SUMMARY

STEPS TO REPRODUCE
1. Copy some plain text into the clipboard, e.g. "123"
2. Create a new vector layer 
2. Paste by pressing Ctrl+V

OBSERVED RESULT
Krita crashes

EXPECTED RESULT
Pasting a non-image has no effect and Krita doesn't crash

SOFTWARE/OS VERSIONS
Linux: Ubuntu 22.04.1 LTS 
Qt Version: 5.12.12

ADDITIONAL INFORMATION
-The last line of the bug report is:
ASSERT (krita): "!qimage.isNull()" in file /home/appimage/workspace/Krita_Release_Appimage_Build/krita/libs/ui/kis_clipboard.cc, line 460
- Maybe this bug is related to https://bugs.kde.org/show_bug.cgi?id=463113
Comment 1 Halla Rempt 2023-01-05 09:52:32 UTC
*** This bug has been marked as a duplicate of bug 463113 ***
Comment 2 Halla Rempt 2023-01-12 08:53:44 UTC
*** Bug 464182 has been marked as a duplicate of this bug. ***