<?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>501153</bug_id>
          
          <creation_ts>2025-03-06 17:40:09 +0000</creation_ts>
          <short_desc>Brushes preview affected by mirror settings</short_desc>
          <delta_ts>2025-04-07 13:27:31 +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.2.9</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>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="keyth_qcfx2">keyth2363214</reporter>
          <assigned_to name="Krita Bugs">krita-bugs-null</assigned_to>
          <cc>scottpetrovic</cc>
          
          <cf_commitlink>https://invent.kde.org/graphics/krita/-/commit/7f11c4551b63187e8165153fa78b36addc8ad633</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>2405444</commentid>
    <comment_count>0</comment_count>
    <who name="keyth_qcfx2">keyth2363214</who>
    <bug_when>2025-03-06 17:40:09 +0000</bug_when>
    <thetext>SUMMARY
Activating brush horizontal or vertical mirror the edit brush settings is affected on it&apos;s preview.

STEPS TO REPRODUCE
1. activate &quot;horizontal mirror tool&quot; or &quot;vertical mirror tool&quot;
2. open the &quot;edit brush settings&quot;
3. brush preview will be affected ( only updated when opening the settings )

OBSERVED RESULT
brush preview is painting with the mirror tools active

EXPECTED RESULT
rendering the brush preview without optional canvas settings like horizontal or vertical mirror

SOFTWARE/OS VERSIONS
Windows: 10
Qt Version: 5.12

ADDITIONAL INFORMATION
preview of the bug
https://krita-artists.org/uploads/default/original/3X/9/f/9f83fc21cfa104a144ed0c141e7d978304a5737e.png
https://krita-artists.org/uploads/default/original/3X/d/a/dab3b341651ed9a50cd479b73a997a2c568f0567.gif</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2412532</commentid>
    <comment_count>1</comment_count>
    <who name="Scott Petrovic">scottpetrovic</who>
    <bug_when>2025-04-02 12:51:26 +0000</bug_when>
    <thetext>I can confirm this on the master branch on Windows. That is something I didn&apos;t even think to test. I am guessing when the previews are being created, they can just temporarily turn off any of those mirrror settings if they are on.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2412582</commentid>
    <comment_count>2</comment_count>
    <who name="Scott Petrovic">scottpetrovic</who>
    <bug_when>2025-04-02 16:13:48 +0000</bug_when>
    <thetext>There is a merge request to fix this. We can close this whenever it gets merged to master. https://invent.kde.org/graphics/krita/-/merge_requests/2365</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2413755</commentid>
    <comment_count>3</comment_count>
    <who name="Dmitry Kazakov">dimula73</who>
    <bug_when>2025-04-07 13:27:06 +0000</bug_when>
    <thetext>Git commit 25bdf8153654da4bf75cb5a882d85577c8cf6ff6 by Dmitry Kazakov, on behalf of Scott Petrovic.
Committed on 07/04/2025 at 13:26.
Pushed by dkazakov into branch &apos;master&apos;.

M  +6    -0    libs/ui/tool/kis_resources_snapshot.cpp
M  +1    -0    libs/ui/tool/kis_resources_snapshot.h
M  +1    -0    libs/ui/widgets/kis_preset_live_preview_view.cpp

https://invent.kde.org/graphics/krita/-/commit/25bdf8153654da4bf75cb5a882d85577c8cf6ff6</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2413756</commentid>
    <comment_count>4</comment_count>
    <who name="Dmitry Kazakov">dimula73</who>
    <bug_when>2025-04-07 13:27:31 +0000</bug_when>
    <thetext>Git commit 7f11c4551b63187e8165153fa78b36addc8ad633 by Dmitry Kazakov.
Committed on 07/04/2025 at 13:27.
Pushed by dkazakov into branch &apos;krita/5.2&apos;.


(cherry picked from commit 25bdf8153654da4bf75cb5a882d85577c8cf6ff6)

Co-authored-by: Scott Petrovic &lt;scottpetrovic@gmail.com&gt;

M  +6    -0    libs/ui/tool/kis_resources_snapshot.cpp
M  +1    -0    libs/ui/tool/kis_resources_snapshot.h
M  +1    -0    libs/ui/widgets/kis_preset_live_preview_view.cpp

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

    </bug>

</bugzilla>