<?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>393353</bug_id>
          
          <creation_ts>2018-04-20 19:15:38 +0000</creation_ts>
          <short_desc>Krita Crashes When Deleting Palette</short_desc>
          <delta_ts>2018-05-02 11:59:51 +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>Dockers</component>
          <version>4.0.1</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></keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="MikeR">ramosmike79</reporter>
          <assigned_to name="Krita Bugs">krita-bugs-null</assigned_to>
          <cc>antti.savo</cc>
    
    <cc>scottpetrovic</cc>
          
          <cf_commitlink>https://commits.kde.org/krita/f8556aa89078a5e20840eaab0fdf91b350d37e53</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>1747023</commentid>
    <comment_count>0</comment_count>
    <who name="MikeR">ramosmike79</who>
    <bug_when>2018-04-20 19:15:38 +0000</bug_when>
    <thetext>In the Palette Docker, when using the &quot;Choose Palette&quot; menu, clicking the &quot;Delete Resource&quot; button causes Krita to crash.

Appears to be the same as Bug Report # 392178, but this is in Windows 10 64bit</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1747027</commentid>
    <comment_count>1</comment_count>
    <who name="Scott Petrovic">scottpetrovic</who>
    <bug_when>2018-04-20 19:49:58 +0000</bug_when>
    <thetext>Confirmed. This crash is happening the latest version of GIT for me on my linux box. It appears to be a different issue than what was previously done though. There is a child accessor that is getting accessed when the parent doesn&apos;t exist.

After looking at the crash through gdb it appears this is the culptrit

palettedocker_dock.cpp::184

colorSet-&gt;nColors()</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1747029</commentid>
    <comment_count>2</comment_count>
    <who name="Antti Savolainen">antti.savo</who>
    <bug_when>2018-04-20 20:03:54 +0000</bug_when>
    <thetext>Further confirming this with a video https://webmshare.com/Gm4Ba</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1747056</commentid>
    <comment_count>3</comment_count>
    <who name="Scott Petrovic">scottpetrovic</who>
    <bug_when>2018-04-21 02:12:29 +0000</bug_when>
    <thetext>Git commit 2f7426b865bb9629f28f7b24cbaac286f777f367 by Scott Petrovic.
Committed on 21/04/2018 at 02:11.
Pushed by scottpetrovic into branch &apos;master&apos;.

M  +8    -1    plugins/dockers/palettedocker/palettedocker_dock.cpp

https://commits.kde.org/krita/2f7426b865bb9629f28f7b24cbaac286f777f367</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1749565</commentid>
    <comment_count>4</comment_count>
    <who name="Halla Rempt">halla</who>
    <bug_when>2018-05-02 11:59:51 +0000</bug_when>
    <thetext>Git commit f8556aa89078a5e20840eaab0fdf91b350d37e53 by Boudewijn Rempt, on behalf of Scott Petrovic.
Committed on 02/05/2018 at 11:54.
Pushed by rempt into branch &apos;krita/4.0&apos;.

(cherry picked from commit e06636540f9fdd79a80b5a9bc24e7752b29e19e4)

M  +8    -1    plugins/dockers/palettedocker/palettedocker_dock.cpp

https://commits.kde.org/krita/f8556aa89078a5e20840eaab0fdf91b350d37e53</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>