<?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>491186</bug_id>
          
          <creation_ts>2024-08-02 18:54:21 +0000</creation_ts>
          <short_desc>Deleting Layer doesn&apos;t seem to count in Redo actions</short_desc>
          <delta_ts>2024-09-16 09:22:13 +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>* Unknown</component>
          <version>nightly build (please specify the git hash!)</version>
          <rep_platform>Compiled Sources</rep_platform>
          <op_sys>All</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>acc4commissions</reporter>
          <assigned_to name="Krita Bugs">krita-bugs-null</assigned_to>
          <cc>penguinflyer2222</cc>
          
          <cf_commitlink>https://invent.kde.org/graphics/krita/-/commit/ce21f0aec9129e74b5876a91185207dcc3ff2277</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>2342607</commentid>
    <comment_count>0</comment_count>
    <who name="">acc4commissions</who>
    <bug_when>2024-08-02 18:54:21 +0000</bug_when>
    <thetext>Happens in both nightly and stable builds

SUMMARY
Cannot &quot;redo&quot; deleting layer

STEPS TO REPRODUCE
1. Delete Layer 
2. Undo it with shortcut
3. Redo it with shortcut

OBSERVED RESULT
The layer is not deleted

EXPECTED RESULT
The layer should be deleted

SOFTWARE/OS VERSIONS
Windows: Windows 10 x64
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2342615</commentid>
    <comment_count>1</comment_count>
    <who name="Freya Lupen">penguinflyer2222</who>
    <bug_when>2024-08-02 19:09:25 +0000</bug_when>
    <thetext>Confirmed on 5.3.0-prealpha-f4e2b0070e and 5.2.2.

The reason for this is that there is a delay before Remove Layer appears in the Undo History. If undone with a shortcut before it appears there, it cannot be redone. This delay in Remove Layer is also visible in the Overview Docker.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2354705</commentid>
    <comment_count>2</comment_count>
    <who name="Dmitry Kazakov">dimula73</who>
    <bug_when>2024-09-16 09:21:33 +0000</bug_when>
    <thetext>Git commit 36d76c72d96ffc64d240ec61a6f45ac393f671cd by Dmitry Kazakov.
Committed on 16/09/2024 at 09:20.
Pushed by dkazakov into branch &apos;master&apos;.

Fix redo actions to appear when undoing juggler-compressed actions

M  +20   -6    libs/ui/kis_node_juggler_compressed.cpp
M  +1    -1    libs/ui/kis_node_juggler_compressed.h

https://invent.kde.org/graphics/krita/-/commit/36d76c72d96ffc64d240ec61a6f45ac393f671cd</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2354706</commentid>
    <comment_count>3</comment_count>
    <who name="Dmitry Kazakov">dimula73</who>
    <bug_when>2024-09-16 09:22:13 +0000</bug_when>
    <thetext>Git commit ce21f0aec9129e74b5876a91185207dcc3ff2277 by Dmitry Kazakov.
Committed on 16/09/2024 at 09:21.
Pushed by dkazakov into branch &apos;krita/5.2&apos;.

Fix redo actions to appear when undoing juggler-compressed actions

M  +20   -6    libs/ui/kis_node_juggler_compressed.cpp
M  +1    -1    libs/ui/kis_node_juggler_compressed.h

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

    </bug>

</bugzilla>