https://bugs.kde.org/show_bug.cgi?id=462228
Bug ID: 462228 Summary: Undo does not restore removed tracks if the user marked all tracks for deletion Classification: Applications Product: kdenlive Version: 22.08.3 Platform: Microsoft Windows OS: Microsoft Windows Status: REPORTED Severity: normal Priority: NOR Component: Video Display & Export Assignee: j...@kdenlive.org Reporter: krzysztof.swia...@student.uj.edu.pl Target Milestone: --- SUMMARY *** NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols. See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports *** In case user marks all tracks for deletion and attempts to undo this operation, the application will not restore any tracks. Should further undos affect the phantom clips (i.e. the clips that should have been restored on the removed tracks), kdenlive will freeze. STEPS TO REPRODUCE 1. Open the application. 2. Put a video into the project bin. 3. Drag a video into the V1 track. 4. Drag a video into the V2 track. 5. Move both clips along the tracks. 6. Right-click on either track. 7. Select "Delete track..." from the menu. 8. Mark all tracks for deletion. 9. Press CTRL and Z at least 3 times. OBSERVED RESULT Kdenlive freezes. EXPECTED RESULT Kdenlive restores the deleted tracks and moves both clips onto their original position. SOFTWARE/OS VERSIONS Windows: 10 macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: 5.98.0 Qt Version: 5.15.5 ADDITIONAL INFORMATION -- You are receiving this mail because: You are watching all bug changes.