Bug 506839

Summary: Incorrect nested sequence length (fail to update track length after changing)
Product: [Applications] kdenlive Reporter: red_Arti <jijiliu35>
Component: User Interface & MiscellaneousAssignee: Jean-Baptiste Mardelle <jb>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: 25.04.3   
Target Milestone: ---   
Platform: Appimage   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 25.08.0
Sentry Crash Report:
Attachments: Nested sequences length bug

Description red_Arti 2025-07-10 05:32:24 UTC
SUMMARY
Two sequences. Seq1 is in Seq2's timeline. When Seq1 length has been changed, changes not correctly updated in Seq2 timeline.

STEPS TO REPRODUCE
1. Add two color clip to Seq1's timeline. (ColorClip1 at 00:00, colorClip2 at 00:30)
2. Add Seq1 to Seq2's timeline
3. Switch to Seq1. Drag and move ColorClip2 to left
4. Switch between Seq1 and Seq2 tab for some times. Finally switch to Seq2

OBSERVED RESULT
In Seq2's timeline, Seq1's audio track length is updated after twice switching. Video track length fail to update.

EXPECTED RESULT
In Seq2's timeline, Seq1's audio and video tracks are updated immediatly.

SOFTWARE/OS VERSIONS
25.04.3 AppImage on Linux

ADDITIONAL INFORMATION
Comment 1 red_Arti 2025-07-10 05:36:05 UTC
Created attachment 183116 [details]
Nested sequences length bug
Comment 2 Jean-Baptiste Mardelle 2025-07-10 06:47:05 UTC
Thanks for your report, I can confirm the issue
Comment 3 Jean-Baptiste Mardelle 2025-07-10 07:41:54 UTC
Git commit 6d3c36af61bd4f589e7b86bd048f868acfe722f7 by Jean-Baptiste Mardelle.
Committed on 10/07/2025 at 07:41.
Pushed by mardelle into branch 'release/25.08'.

When making a sequence shorter, if the sequence is used in other sequences and the duration has to be shortened in those, inform user and correctly apply.
FIXED-IN: 25.08.0

M  +1    -1    src/bin/bin.cpp
M  +1    -1    src/timeline2/model/timelinemodel.cpp
M  +29   -3    src/timeline2/view/timelinetabs.cpp
M  +1    -0    src/timeline2/view/timelinetabs.hpp

https://invent.kde.org/multimedia/kdenlive/-/commit/6d3c36af61bd4f589e7b86bd048f868acfe722f7