Bug 498340

Summary: Undo/Redo - Deleted effects are restored in wrong order.
Product: [Applications] kdenlive Reporter: nuxttux
Component: Video Effects & TransitionsAssignee: Jean-Baptiste Mardelle <jb>
Status: CONFIRMED ---    
Severity: normal CC: fritzibaby
Priority: NOR Keywords: triaged
Version First Reported In: 24.12.0   
Target Milestone: ---   
Platform: Mint (Ubuntu based)   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description nuxttux 2025-01-07 01:22:02 UTC
SUMMARY
When you have multiple effects applied - Delete effect from top of the stack - Undo to restore will result in effect being restored at bottom of effect stack.

STEPS TO REPRODUCE
1. Add video clip to timeline.
2. Add multiple effects to video clip.
3. Delete effect at the top of effect stack.
4. Undo delete.

OBSERVED RESULT
Deleted effect will be restored in the wrong order/location in the stack.

EXPECTED RESULT
Deleted effects is restored in the correct/previous order/location in the stack.

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

ADDITIONAL INFORMATION
Moving & rearranging the effects in the Effects tab by clicking and dragging is clunky.
Comment 1 emohr 2025-01-07 17:25:58 UTC
Thank you for reporting. I can confirm the issue. Following your steps. 

First it works with undo. But after some delete and undo it puts back the deleted effect always on the bottom.