Bug 363558

Summary: git master: incorrect undo after automatic resize of a transition
Product: [Applications] kdenlive Reporter: Wegwerf <wegwerf-1-2-3>
Component: User InterfaceAssignee: Jean-Baptiste Mardelle <jb>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
URL: https://youtu.be/fK6Chktb6Us
Latest Commit: Version Fixed In:
Attachments: regression project with automatic transition with keyframes

Description Wegwerf 2016-05-26 19:56:14 UTC
When moving a clip with an "automatic" transition less than the length of the transition, the transition automatically gets resized. When undoing the clip move and thus the transition resize, the keyframes of the transition do not get properly restored. Instead, some keyframes may be lost and others may be positioned wrongly.

Please see https://youtu.be/fK6Chktb6Us for a short demonstration.

You may use the attached project for a quick start.

Reproducible: Always

Steps to Reproduce:
1. Create new project.
2. Create title clip and drag it to timeline, onto topmost track.
3. Create color clip and drag it to timeline, onto the track below the title clip.
4. Add a composite or affine transition to the title (if not already done so).
5. Set keyframes, in particular one keyframe 12f before the end, and one keyframe at the end of the transition.
6. Make sure the transition is set to "automatic".
7. Move title clip 2~3 seconds in timeline using the mouse, but less than its length so that the transition gets resized.
8. Undo

Actual Results:  
The final keyframe of the transition is lost. The next-to-last keyframe is in a wrong position.

Expected Results:  
Final keyframe properly restored. Next-to-last Keyframe also properly restored.
Comment 1 Wegwerf 2016-05-26 19:56:47 UTC
Created attachment 99206 [details]
regression project with automatic transition with keyframes
Comment 2 Wegwerf 2016-08-04 16:20:29 UTC
This is now fixed as part of the timeline corruption fix, related to the transitions. Thank you very much, Jean-Baptiste! Closing this report...