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.
Assigning it to myself.
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
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
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