<?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>446792</bug_id>
          
          <creation_ts>2021-12-10 17:11:57 +0000</creation_ts>
          <short_desc>New brush presets seem to use last selected brush&apos;s thumbnail by default</short_desc>
          <delta_ts>2024-10-24 12:36:18 +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>Brush engines</component>
          <version>5.0.0-beta2</version>
          <rep_platform>Other</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>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="wolthera">griffinvalley</reporter>
          <assigned_to name="Krita Bugs">krita-bugs-null</assigned_to>
          <cc>halla</cc>
          
          <cf_commitlink>https://invent.kde.org/graphics/krita/-/commit/c1e51b4020d95433851144da92172b790466edc7</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>2084407</commentid>
    <comment_count>0</comment_count>
    <who name="wolthera">griffinvalley</who>
    <bug_when>2021-12-10 17:11:57 +0000</bug_when>
    <thetext>SUMMARY
When saving a new brush preset for an engine, the last selected brush&apos; thumbnail will be used.


STEPS TO REPRODUCE
1. Select a preset
2. Use the plus in the brush settings dialog to create a new preset for an unrelated engine.
3. Save preset. 

OBSERVED RESULT
The thumbnail of the brush selected at 1. will be used as the preset image.

EXPECTED RESULT
I&apos;m not sure... I guess I was expecting a blank image, because the default presets for each engine have a blank image.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2368870</commentid>
    <comment_count>1</comment_count>
    <who name="Dmitry Kazakov">dimula73</who>
    <bug_when>2024-10-24 12:35:57 +0000</bug_when>
    <thetext>Git commit 429bb8493b4c11ae28888b79f21dff3c56e7ef0b by Dmitry Kazakov.
Committed on 24/10/2024 at 12:35.
Pushed by dkazakov into branch &apos;master&apos;.

Fix the current preset thumbnail to be present in the preset save dialog

We shouldn&apos;t update the thumb separately, just load it every time when the dialog
is open (in the end, it doesn&apos;t happen too often).
Related: bug 488673

M  +0    -3    libs/ui/kis_paintop_box.cc
M  +7    -6    libs/ui/widgets/kis_paintop_presets_editor.cpp
M  +0    -4    libs/ui/widgets/kis_paintop_presets_editor.h

https://invent.kde.org/graphics/krita/-/commit/429bb8493b4c11ae28888b79f21dff3c56e7ef0b</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2368871</commentid>
    <comment_count>2</comment_count>
    <who name="Dmitry Kazakov">dimula73</who>
    <bug_when>2024-10-24 12:36:18 +0000</bug_when>
    <thetext>Git commit c1e51b4020d95433851144da92172b790466edc7 by Dmitry Kazakov.
Committed on 24/10/2024 at 12:36.
Pushed by dkazakov into branch &apos;krita/5.2&apos;.

Fix the current preset thumbnail to be present in the preset save dialog

We shouldn&apos;t update the thumb separately, just load it every time when the dialog
is open (in the end, it doesn&apos;t happen too often).
Related: bug 488673

M  +0    -2    libs/ui/kis_paintop_box.cc
M  +7    -6    libs/ui/widgets/kis_paintop_presets_editor.cpp
M  +0    -4    libs/ui/widgets/kis_paintop_presets_editor.h

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

    </bug>

</bugzilla>