Bug 473750 - krita crashes after pasting text out of edit text window or hitting ctrl+v on krita window with text in the clipboard
Summary: krita crashes after pasting text out of edit text window or hitting ctrl+v on...
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: 5.1.5
Platform: Kubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-25 13:20 UTC by fausto
Modified: 2023-08-29 09:10 UTC (History)
1 user (show)

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


Attachments
krita usage and system log (279.45 KB, text/plain)
2023-08-25 13:20 UTC, fausto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description fausto 2023-08-25 13:20:49 UTC
Created attachment 161174 [details]
krita usage and system log

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. copy text into the clipboard
2. hit ctrl+v on the krita window with any type of layer selected

OBSERVED RESULT
instant crash

EXPECTED RESULT
do nothing. 

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: kubuntu 22.04
(available in About System)
KDE Plasma Version: 5.24.7
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION
I'm using the appimage version
Comment 1 Dmitry Kazakov 2023-08-28 08:04:57 UTC
Hi, Fausto!

Could you please check if this bug is still reproducible in Krita 5.2.0 Beta2? I guess wee have fixed a bug like that quite recently, so there should be no crash in 5.2.x branch anymore...

Here is the page for downloading the beta-version:
https://krita.org/en/item/second-beta-for-krita-5-2-0-released/

If you can still reproduce the issue, please tell what software you copy text from (and website, if it is chrome/firefox). And whether you somehow close the source application in the meantime before pasting into Krita.
Comment 2 fausto 2023-08-28 20:12:08 UTC
(In reply to Dmitry Kazakov from comment #1)
> Hi, Fausto!
> 
> Could you please check if this bug is still reproducible in Krita 5.2.0
> Beta2? I guess wee have fixed a bug like that quite recently, so there
> should be no crash in 5.2.x branch anymore...
> 
> Here is the page for downloading the beta-version:
> https://krita.org/en/item/second-beta-for-krita-5-2-0-released/
> 
> If you can still reproduce the issue, please tell what software you copy
> text from (and website, if it is chrome/firefox). And whether you somehow
> close the source application in the meantime before pasting into Krita.

Hi, Dmitry
I downloaded the beta 2, and tried to reproduce the bug in all the ways that it used to happen and looks like it's fixed. I tried copying text from browser and other apps and krita beta2 doesn't crash. so, thank you!!
Comment 3 Bug Janitor Service 2023-08-29 03:45:23 UTC
Thanks for your comment!

Automatically switching the status of this bug to REPORTED so that the KDE team
knows that the bug is ready to get confirmed.

In the future you may also do this yourself when providing needed information.
Comment 4 Dmitry Kazakov 2023-08-29 09:10:52 UTC
Hi, Fausto!

Thank you very much for your help with testing! :)