Bug 363558 - git master: incorrect undo after automatic resize of a transition
Summary: git master: incorrect undo after automatic resize of a transition
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: User Interface (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL: https://youtu.be/fK6Chktb6Us
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-26 19:56 UTC by Wegwerf
Modified: 2016-08-04 16:20 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
regression project with automatic transition with keyframes (7.14 KB, application/xml)
2016-05-26 19:56 UTC, Wegwerf
Details

Note You need to log in before you can comment on or make changes to this bug.
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...