<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>523069</bug_id>
          
          <creation_ts>2026-07-15 00:09:44 +0000</creation_ts>
          <short_desc>Krita crashes when using the &quot;cut&quot; tool in the SVG editor</short_desc>
          <delta_ts>2026-07-27 12:01:12 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>krita</product>
          <component>Tool/Text</component>
          <version>git master (please specify the git hash!)</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Microsoft Windows</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>triaged</keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Elena Sagalaeva">alenacpp</reporter>
          <assigned_to name="Krita Bugs">krita-bugs-null</assigned_to>
          <cc>dra.w.p.il.e+bugskde</cc>
          
          <cf_commitlink>https://invent.kde.org/graphics/krita/-/commit/0267f2742a4c0fe4c6705e891bcdf6f0633ac253</cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2531781</commentid>
    <comment_count>0</comment_count>
    <who name="Elena Sagalaeva">alenacpp</who>
    <bug_when>2026-07-15 00:09:44 +0000</bug_when>
    <thetext>DESCRIPTION


STEPS TO REPRODUCE
1. Create a new document
2. Create a vector layer
3. Create a text box
4. Open the SVG editor. The &quot;Edit SVG source&quot; button.
5. Select text in the SVG editor. Press the &quot;cut&quot; button, the scissors.
6. crash

OBSERVED RESULT
Krita crashes

EXPECTED RESULT
Krita shouldn&apos;t crash

SOFTWARE/OS VERSIONS
Operating System (available in the Info Center app, or by running `kinfo` in a terminal window):
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION

commit 2b927d92183e4722ac1561b25bc83b65438dffd7


        Qt5Widgets.dll!00007fffb8c19ae0()	Unknown
 	krita_tool_svgtext.dll!SvgTextEditor::cut() Line 193	C++
 	krita_tool_svgtext.dll!SvgTextEditor::qt_static_metacall(QObject * _o, QMetaObject::Call _c, int _id, void * * _a) Line 153	C++
 	Qt5Core.dll!00007fffb352f11d()	Unknown</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2531789</commentid>
    <comment_count>1</comment_count>
    <who name="">dra.w.p.il.e+bugskde</who>
    <bug_when>2026-07-15 00:26:08 +0000</bug_when>
    <thetext>Can confirm, crashes on Linux and Android as well.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2533751</commentid>
    <comment_count>2</comment_count>
    <who name="Bug Janitor Service">bug-janitor</who>
    <bug_when>2026-07-23 09:18:49 +0000</bug_when>
    <thetext>A possibly relevant merge request was started @ https://invent.kde.org/graphics/krita/-/merge_requests/2876</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2534508</commentid>
    <comment_count>3</comment_count>
    <who name="Dmitry Kazakov">dimula73</who>
    <bug_when>2026-07-27 12:01:00 +0000</bug_when>
    <thetext>Git commit 6bde961ba2b651a77f21e9b81483dc019c299de1 by Dmitry Kazakov, on behalf of Luna Lovecraft.
Committed on 27/07/2026 at 12:00.
Pushed by dkazakov into branch &apos;master&apos;.

Fix buttons not working in the svg text editor

Before this commit buttons in the svg text editor would crash the app,
due to m_currentEditor not being initialized properly, and not handling
tab switching.

M  +12   -0    plugins/tools/svgtexttool/SvgTextEditor.cpp
M  +1    -0    plugins/tools/svgtexttool/SvgTextEditor.h

https://invent.kde.org/graphics/krita/-/commit/6bde961ba2b651a77f21e9b81483dc019c299de1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2534509</commentid>
    <comment_count>4</comment_count>
    <who name="Dmitry Kazakov">dimula73</who>
    <bug_when>2026-07-27 12:01:12 +0000</bug_when>
    <thetext>Git commit 0267f2742a4c0fe4c6705e891bcdf6f0633ac253 by Dmitry Kazakov, on behalf of Luna Lovecraft.
Committed on 27/07/2026 at 12:01.
Pushed by dkazakov into branch &apos;krita/6.0&apos;.

Fix buttons not working in the svg text editor

Before this commit buttons in the svg text editor would crash the app,
due to m_currentEditor not being initialized properly, and not handling
tab switching.

M  +12   -0    plugins/tools/svgtexttool/SvgTextEditor.cpp
M  +1    -0    plugins/tools/svgtexttool/SvgTextEditor.h

https://invent.kde.org/graphics/krita/-/commit/0267f2742a4c0fe4c6705e891bcdf6f0633ac253</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>