Bug 468697

Summary: The clip Duration in the Clip Properties tab cannot be edited (it immediately reverts to the default value)
Product: [Applications] kdenlive Reporter: Age of Dream <forum>
Component: User InterfaceAssignee: Jean-Baptiste Mardelle <jb>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version: 22.12.3   
Target Milestone: ---   
Platform: Debian stable   
OS: Linux   
Latest Commit: Version Fixed In:

Description Age of Dream 2023-04-20 00:00:05 UTC
SUMMARY:

The clip Duration in the Clip Properties tab cannot be edited. It accepts a new value temporarily, but then jumps back to the default value as soon as you click out of the field.

This is problematic because it is not possible to use the entire length of the clip when changing the frame rate. For example, when the footage is shot at 120FPS (intended for slow motion) and the project is 30FPS, you need to set the Frame Rate to 30FPS in the Clip Properties. But, because the duration does not change automatically, and because you can't edit it (it just unsets itself), you can only insert the first 1/4 of the clip into the project.

In addition to this bug, a possible feature would be to automatically adjust the Duration based on the frame rate change. ie. changing from 120FPS to 30FPS should automatically multiply the Duration by 4.



STEPS TO REPRODUCE:

1.  Add a clip to the Project Bin.
2. Select the clip, and switch to the Clip Properties tab
3. Check the checkbox for "Duration", then enter a new value.
4. Click somewhere else to finish editing the Duration field. 

OBSERVED RESULT:

The Duration jumps back to what it was before, instead of keeping the new value that was just typed in.

EXPECTED RESULT:

It is expected that the clip's Duration stay at the value that was just manually set.


SOFTWARE/OS VERSIONS
Linux:  Debian 11 Stable