Bug 497833

Summary: Transform effect: After switching "Default Keyframe Type" to Smooth and cutting a clip, the position on the 2nd part of the cut is still set to "Linear"
Product: [Applications] kdenlive Reporter: Karina Shoelove <happygirl11011985>
Component: Video Effects & TransitionsAssignee: Jean-Baptiste Mardelle <jb>
Status: CONFIRMED ---    
Severity: normal CC: berndmj
Priority: NOR Keywords: triaged
Version First Reported In: 24.12.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Karina Shoelove 2024-12-23 15:56:09 UTC
SUMMARY
When setting a Default Keyframe Type to Smooth and adding a new keyframe, this keyframe is correctly set, but if I then cut the clip on that position, the 1st keyframe on the 2nd clip behind the cut, is still set to linear. Not sure

STEPS TO REPRODUCE
1. add a color clip to the project and the timeline
2. add Transform effect to color clip
3. set Default Keyframe Type to Smooth in the hamburger menu of the Transform effect option menu
4. add a keyframe to any postion, it will be added correctly as a Smooth keyframe
5. Press Shift+R to cut the color clip into two parts and check they keyframe type of the 2nd half of the clip
6. the 1st keyframe of the 2nd part of the clip is still added as "Linear" and not as Smooth

OBSERVED RESULT
1st keyframe of the 2nd part of the cut'ed clip is still added as "Linear" and not as Smooth

EXPECTED RESULT
1st keyframe after a cut is of the type set as Default in that moment / project

SOFTWARE/OS VERSIONS
Operating System: Debian GNU/Linux 12
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Kernel Version: 6.1.0-27-amd64 (64-bit)
Graphics Platform: offscreen
Processors: 20 × 13th Gen Intel® Core™ i7-1370P
Memory: 62.4 GiB of RAM
Graphics Processor: Mesa Intel® Graphics
Kdenlive: kdenlive-24.12.0-x86_64.AppImage
Comment 1 Bernd 2024-12-23 20:42:10 UTC
By default, the very first keyframe for every effect with keyframes is set to "linear". When cutting a clip the effects on the uncut clip are copied to the new clip, and apparently the first keyframe is again by default "linear" and the copied keyframes retain their type.