<?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>444308</bug_id>
          
          <creation_ts>2021-10-24 05:39:17 +0000</creation_ts>
          <short_desc>Crash on closing all documents and selecting a new color</short_desc>
          <delta_ts>2021-11-08 10:19:00 +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>General</component>
          <version>5.0.0-beta2</version>
          <rep_platform>Appimage</rep_platform>
          <op_sys>Linux</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>tomtomtomreportingin</reporter>
          <assigned_to name="sh_zam">shzam</assigned_to>
          <cc>shzam</cc>
          
          <cf_commitlink>https://invent.kde.org/graphics/krita/commit/b610674b336747d5524636ade91af50a24e9d54a</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>2071664</commentid>
    <comment_count>0</comment_count>
    <who name="">tomtomtomreportingin</who>
    <bug_when>2021-10-24 05:39:17 +0000</bug_when>
    <thetext>SUMMARY
Krita segfaults if the user closes all documents and selects a new color from the toolbar on the welcome screen.

This also occurs in beta 1 and prealpha git a6fbd9d.

This is not exactly a regression since Krita 4 didn&apos;t allow the user to select colors on the welcome screen at all.

STEPS TO REPRODUCE
1. Open a new document.
2. Close the document.
3. Reset foreground/background color or select a new color from the toolbar.

OBSERVED RESULT
Krita segfaults.

EXPECTED RESULT
New color should be selected without error.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Debian sid
KDE Plasma Version: 5.23.0
KDE Frameworks Version: 5.86.0
Qt Version: 5.12.11 (Appimage)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2072937</commentid>
    <comment_count>1</comment_count>
    <who name="sh_zam">shzam</who>
    <bug_when>2021-10-28 15:36:50 +0000</bug_when>
    <thetext>Git commit a76de87bad537592c5e5a58348cddd6cbd8b3721 by Sharaf Zaman.
Committed on 28/10/2021 at 15:35.
Pushed by szaman into branch &apos;master&apos;.

Crashfix: Selecting new color after document is closed

M  +1    -1    plugins/dockers/smallcolorselector/smallcolorselector_dock.cc

https://invent.kde.org/graphics/krita/commit/a76de87bad537592c5e5a58348cddd6cbd8b3721</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2075809</commentid>
    <comment_count>2</comment_count>
    <who name="sh_zam">shzam</who>
    <bug_when>2021-11-08 10:19:00 +0000</bug_when>
    <thetext>Git commit b610674b336747d5524636ade91af50a24e9d54a by Sharaf Zaman.
Committed on 08/11/2021 at 10:10.
Pushed by szaman into branch &apos;krita/5.0&apos;.

Crashfix: Selecting new color after document is closed
(cherry picked from commit a76de87bad537592c5e5a58348cddd6cbd8b3721)

M  +1    -1    plugins/dockers/smallcolorselector/smallcolorselector_dock.cc

https://invent.kde.org/graphics/krita/commit/b610674b336747d5524636ade91af50a24e9d54a</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>