<?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>493774</bug_id>
          
          <creation_ts>2024-09-28 10:40:28 +0000</creation_ts>
          <short_desc>Lockup crash using Transform Tool on a group that has pass through enabled</short_desc>
          <delta_ts>2024-09-30 15:43:42 +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/Transform</component>
          <version>5.2.5</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="Ahab Greybeard">ahab.greybeard</reporter>
          <assigned_to name="Krita Bugs">krita-bugs-null</assigned_to>
          <cc>bogdancostisor</cc>
    
    <cc>igorberezhnoy.2772</cc>
    
    <cc>penguinflyer2222</cc>
    
    <cc>xenox.dragontech</cc>
          
          <cf_commitlink>https://invent.kde.org/graphics/krita/-/commit/206214621b4a416ca92808cf8f04dd372912ef68</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>2360679</commentid>
    <comment_count>0</comment_count>
    <who name="Ahab Greybeard">ahab.greybeard</who>
    <bug_when>2024-09-28 10:40:28 +0000</bug_when>
    <thetext>SUMMARY
This happens with the 5.2.5 formal release appimage and Windows portable .zip package.
It does not happen with 5.2.3 or with 5.2.4 on Windows.

If a group has passthrough enabled then performing a simple Free Transform action on the group seems to work based on the canvas preview.
After pressing Apply, the application locks up with 1 CPU at 100% load.
On Windows, File -&gt; Quit then saying &apos;No&apos; to saving gives a notification that a Transform operation is still in progress and the application has to be terminated.
On Linux (appimage), File -&gt; Quit then saying &apos;No&apos; to saving gives closing of the application.

This was reported here: 
https://krita-artists.org/t/5-2-5-lockup-after-using-transform-tool-on-a-group-with-passthrough-enabled/102854

The initial report and observation is with one group with passthrough enabled.

Observation and comment by &apos;freyalupen&apos; is with two groups with passthrough mode.
Comment being,  &quot;It seems to be a regression of https://invent.kde.org/graphics/krita/-/commit/c2c12c46bf53e3a81d4ce200f2ec0a86bf586d47 &quot;

STEPS TO REPRODUCE
See Summary and linked KA forum topic

OBSERVED RESULT
See Summary

EXPECTED RESULT
No lockup

SOFTWARE/OS VERSIONS
Windows 10

ADDITIONAL INFORMATION</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2360899</commentid>
    <comment_count>1</comment_count>
    <who name="Freya Lupen">penguinflyer2222</who>
    <bug_when>2024-09-29 13:57:04 +0000</bug_when>
    <thetext>*** Bug 493830 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2361063</commentid>
    <comment_count>2</comment_count>
    <who name="Dmitry Kazakov">dimula73</who>
    <bug_when>2024-09-30 08:57:49 +0000</bug_when>
    <thetext>*** Bug 493837 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2361068</commentid>
    <comment_count>3</comment_count>
    <who name="Dmitry Kazakov">dimula73</who>
    <bug_when>2024-09-30 09:07:31 +0000</bug_when>
    <thetext>Git commit dcaf7fe2abf349dad8f5ba625060f979b3a26c8e by Dmitry Kazakov.
Committed on 30/09/2024 at 09:07.
Pushed by dkazakov into branch &apos;master&apos;.

Fix stupid infinite loop when trying to update pass-through nodes
Related: bug 493830, bug 493837

M  +4    -4    libs/image/kis_image.cc

https://invent.kde.org/graphics/krita/-/commit/dcaf7fe2abf349dad8f5ba625060f979b3a26c8e</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2361072</commentid>
    <comment_count>4</comment_count>
    <who name="Dmitry Kazakov">dimula73</who>
    <bug_when>2024-09-30 09:08:52 +0000</bug_when>
    <thetext>Git commit 7d1c63c3169cbd474272f2eb7cc17707f9ef266b by Dmitry Kazakov.
Committed on 30/09/2024 at 09:08.
Pushed by dkazakov into branch &apos;krita/5.2&apos;.

Fix stupid infinite loop when trying to update pass-through nodes
Related: bug 493830, bug 493837

M  +4    -4    libs/image/kis_image.cc

https://invent.kde.org/graphics/krita/-/commit/7d1c63c3169cbd474272f2eb7cc17707f9ef266b</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2361077</commentid>
    <comment_count>5</comment_count>
    <who name="Dmitry Kazakov">dimula73</who>
    <bug_when>2024-09-30 09:09:50 +0000</bug_when>
    <thetext>Git commit 206214621b4a416ca92808cf8f04dd372912ef68 by Dmitry Kazakov.
Committed on 30/09/2024 at 09:09.
Pushed by dkazakov into branch &apos;release/5.2.5&apos;.

Fix stupid infinite loop when trying to update pass-through nodes
Related: bug 493830, bug 493837

M  +4    -4    libs/image/kis_image.cc

https://invent.kde.org/graphics/krita/-/commit/206214621b4a416ca92808cf8f04dd372912ef68</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2361200</commentid>
    <comment_count>6</comment_count>
    <who name="Dmitry Kazakov">dimula73</who>
    <bug_when>2024-09-30 15:43:42 +0000</bug_when>
    <thetext>*** Bug 493874 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>