Bug 370902

Summary: Title clip duration
Product: [Applications] kdenlive Reporter: oluja
Component: Effects & TransitionsAssignee: Vincent PINON <vpinon>
Status: RESOLVED FIXED    
Severity: normal CC: cweiske, snd.noise, wegwerf-1-2-3
Priority: NOR Flags: snd.noise: low_hanging?
Version: 16.08.1   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description oluja 2016-10-15 06:55:22 UTC
When creating a title clip and editing it after it was created, the duration time dont will be transfer when change.

Reproducible: Always

Steps to Reproduce:
1. creae a title with duration 5 seconds
2. click ok to apply
3. click on the project bin on the title an edit it
4. change the duration to 2 seconds and click ok, the old length is still active

Actual Results:  
the first duration time still active

Expected Results:  
the new duration time should be aplied

ubuntu 16.04.1 LTS (brand new installation)
kdenlive 16.08.2 (cant choose this version)
Comment 1 Wegwerf 2016-10-16 16:52:30 UTC
I think this is a misunderstanding. You can't change the length of a title clip in the project bin and then expect all timeline clip instances to change accordingly. That would not make much sense. The title bin clip length is an internally managed length which you cannkot change.

@Vincent: should we better hide the master clip length indication in the project bin for titles and color clips?
Comment 2 oluja 2016-10-17 05:23:24 UTC
This was really a misunderstanding. The lenght have impact on the animation lenght. So its working. :-)
But, i you create a title with animation and change the animation lenght as axample from 5 seconds to 2 seconds, the animation will play 2 seconds but in the project bin its still shows 5 seconds duration. This should be 2 seconds after changing.

Or is this again a wrong thinking from my side?
Comment 3 Wegwerf 2016-10-17 06:01:18 UTC
No, you're correct. I think this is a duplicate, but I don't have the first report at hand.
Comment 4 Christian Weiske 2017-01-05 21:21:16 UTC
This also happens with slideshow clips.

Steps to reproduce:
0. Create 30fps project
1. Create slideshow clip pointing to folder with 1 image, default frame length of 5 seconds
2. Project bin shows slideshow with 5 seconds length
3. Edit slideshow clip: Change frame length to 6 seconds.
4. Project bin still shows 5 seconds length.

Looking at the project file I see that both properties "length" and "ttl" have been changed (180), but the "kdenlive:duration" property still has the old value (150).
Comment 5 Jean-Baptiste Mardelle 2017-01-09 22:16:16 UTC
Git commit 7c322b1f5a1b3507632fa792971a162e38c175d2 by Jean-Baptiste Mardelle.
Committed on 09/01/2017 at 22:15.
Pushed by mardelle into branch 'Applications/16.12'.

Fix editing title or slideshow duration not updating project bin

M  +5    -5    src/bin/bin.cpp
M  +2    -1    src/bin/projectclip.cpp

https://commits.kde.org/kdenlive/7c322b1f5a1b3507632fa792971a162e38c175d2