Bug 427402 - Paste as reference image crashes Krita
Summary: Paste as reference image crashes Krita
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Tools/Reference Images (show other bugs)
Version: 4.4.0-beta2
Platform: Android Android 10.x
: NOR normal
Target Milestone: ---
Assignee: sh_zam
URL:
Keywords: release_blocker
Depends on:
Blocks:
 
Reported: 2020-10-06 20:42 UTC by Anna Medonosova
Modified: 2020-10-07 09:06 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
backtrace of the crash (1.14 KB, text/plain)
2020-10-06 20:42 UTC, Anna Medonosova
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anna Medonosova 2020-10-06 20:42:21 UTC
Created attachment 132179 [details]
backtrace of the crash

SUMMARY
'Paste as reference image' button in the tool options of the reference image tool causes Krita to crash.

STEPS TO REPRODUCE
1. Open a document
2. Select the reference image tool
3. Click the 'Paste as reference image' button in the tool options

OBSERVED RESULT
A crash.

EXPECTED RESULT
I would expect it to either work, or not crash and display an error message.
Comment 1 sh_zam 2020-10-07 05:22:13 UTC
Assigning it to myself.
Comment 2 sh_zam 2020-10-07 07:49:40 UTC
Git commit 3f7272aaf39b7c89afc80c86525e3643c06d36d9 by Sharaf Zaman.
Committed on 07/10/2020 at 06:24.
Pushed by rempt into branch 'krita/4.3'.

Bugfix: Paste as reference image crashes Krita

M  +6    -6    plugins/tools/defaulttool/referenceimagestool/ToolReferenceImages.cpp

https://invent.kde.org/graphics/krita/commit/3f7272aaf39b7c89afc80c86525e3643c06d36d9
Comment 3 sh_zam 2020-10-07 08:00:39 UTC
Git commit 774cf1768fa2f9f0d80bc98098d4d5a6fec5d971 by Sharaf Zaman.
Committed on 07/10/2020 at 08:00.
Pushed by szaman into branch 'master'.

Bugfix: Paste as reference image crashes Krita


(cherry picked from commit 3f7272aaf39b7c89afc80c86525e3643c06d36d9)

M  +6    -6    plugins/tools/defaulttool/referenceimagestool/ToolReferenceImages.cpp

https://invent.kde.org/graphics/krita/commit/774cf1768fa2f9f0d80bc98098d4d5a6fec5d971
Comment 4 Dmitry Kazakov 2020-10-07 09:06:32 UTC
Git commit a8a18174a2fd233bd7d1ffbe2affd2615c79bb0f by Dmitry Kazakov, on behalf of Sharaf Zaman.
Committed on 07/10/2020 at 09:04.
Pushed by dkazakov into branch 'krita/4.4.0'.

Bugfix: Paste as reference image crashes Krita

M  +6    -6    plugins/tools/defaulttool/referenceimagestool/ToolReferenceImages.cpp

https://invent.kde.org/graphics/krita/commit/a8a18174a2fd233bd7d1ffbe2affd2615c79bb0f