<?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>473515</bug_id>
          
          <creation_ts>2023-08-18 21:21:26 +0000</creation_ts>
          <short_desc>Crash when activating Multibrush tool</short_desc>
          <delta_ts>2023-09-07 02:24:49 +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>Tools</component>
          <version>5.2.0-beta2</version>
          <rep_platform>Microsoft Windows</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>regression</keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Juan">ochoa.juancarlos</reporter>
          <assigned_to name="Krita Bugs">krita-bugs-null</assigned_to>
          <cc>penguinflyer2222</cc>
          
          <cf_commitlink>https://invent.kde.org/graphics/krita/-/commit/5caec25b4bdcd5f92a2b74c19f2c5d8ce2abcbe3</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>2247301</commentid>
    <comment_count>0</comment_count>
    <who name="Juan">ochoa.juancarlos</who>
    <bug_when>2023-08-18 21:21:26 +0000</bug_when>
    <thetext>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. Select Multibrush tool
2. 
3. 

OBSERVED RESULT
Program crash without warning popups


EXPECTED RESULT
Proper Multibrush tool use.

SOFTWARE/OS VERSIONS
Windows: 11


ADDITIONAL INFORMATION
Tried on a work in progress, on a smalller file and on a fresh file, with the same result

Faulting application name: krita.exe, version: 5.2.0.51, time stamp: 0x64dca469
Faulting module name: libKF5ConfigCore.dll, version: 0.0.0.0, time stamp: 0x64da470b
Exception code: 0xc0000005
Fault offset: 0x0000000000011706
Faulting process id: 0xcac
Faulting application start time: 0x01d9d218f83118a6
Faulting application path: C:\kritabeta\Krita (x64)\bin\krita.exe
Faulting module path: C:\kritabeta\Krita (x64)\bin\libKF5ConfigCore.dll
Report Id: 15881f09-b5af-4794-baf2-0afae94e4cf6
Faulting package full name: 
Faulting package-relative application ID:</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2247423</commentid>
    <comment_count>1</comment_count>
    <who name="Freya Lupen">penguinflyer2222</who>
    <bug_when>2023-08-19 21:48:01 +0000</bug_when>
    <thetext>Confirming as a regression caused by commit cabfac1d (https://invent.kde.org/graphics/krita/-/commit/cabfac1d4ad9a4c5f43b49f8ee4c9cf849abc959).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2247477</commentid>
    <comment_count>2</comment_count>
    <who name="Bug Janitor Service">bug-janitor</who>
    <bug_when>2023-08-20 12:48:58 +0000</bug_when>
    <thetext>A possibly relevant merge request was started @ https://invent.kde.org/graphics/krita/-/merge_requests/1910</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2247609</commentid>
    <comment_count>3</comment_count>
    <who name="Dmitry Kazakov">dimula73</who>
    <bug_when>2023-08-21 08:31:53 +0000</bug_when>
    <thetext>Git commit 6c5ea78b398b1387405103f9fc5ab191d18e19c0 by Dmitry Kazakov, on behalf of Freya Lupen.
Committed on 21/08/2023 at 09:09.
Pushed by dkazakov into branch &apos;master&apos;.

Initialize tool configGroup before optionWidget

Otherwise KisToolMultihand::createOptionWidget will crash.

M  +1    -2    plugins/tools/basictools/kis_tool_brush.cc

https://invent.kde.org/graphics/krita/-/commit/6c5ea78b398b1387405103f9fc5ab191d18e19c0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2251297</commentid>
    <comment_count>4</comment_count>
    <who name="Emmet O&apos;Neill">emmetoneill.pdx</who>
    <bug_when>2023-09-07 02:24:49 +0000</bug_when>
    <thetext>Git commit 5caec25b4bdcd5f92a2b74c19f2c5d8ce2abcbe3 by Emmet O&apos;Neill, on behalf of Freya Lupen.
Committed on 07/09/2023 at 04:24.
Pushed by emmetoneill into branch &apos;krita/5.2&apos;.

Initialize tool configGroup before optionWidget

Otherwise KisToolMultihand::createOptionWidget will crash.


(cherry picked from commit 6c5ea78b398b1387405103f9fc5ab191d18e19c0)

M  +1    -2    plugins/tools/basictools/kis_tool_brush.cc

https://invent.kde.org/graphics/krita/-/commit/5caec25b4bdcd5f92a2b74c19f2c5d8ce2abcbe3</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>