GNOME Bugzilla – Bug 668056
Auto-ripple / magnetic timeline
Last modified: 2013-04-04 20:29:49 UTC
Add a pushbutton on the timeline toolbar (and a checkbox menu item in the Timeline menu) to enable automatic ripple (on move) and roll (on trim) for clips on the timeline.
In addition to this, when the magnetic timeline mode is active, if you have clips like this: [ A ][ B ][ C ][ D ] ...And you want to simply "reorder" them chronologically, then dragging C "between" A and B could swap the position of C and B (ideally with a pretty animation where B "slides" out of the way). Holding the shift key would allow bypassing this behavior and forcing C to be put on top of A and B (creating two crossfades).
This last one seems more tricky to me, because in automatic ripple mode, you would actually... ripple. So it means that if could work in your example (moving C before B (and react as you just explained), but in the case you want to move B between C and D... you can't as it would ripple C and D to. As a reminder, rippling works from 'left to right', but not the other way.
Thibault, regarding comment #1, when dragging a clip between two clips, GES could analyze if the two clips (A and B) are already snapped or if there’s a gap between them? - If there is no gap, create a gap to insert the clip you’re dragging. - If there is a gap, inserte with transitions inbetween A-C and C-D.
Got a branch that theoretically fixes the Pitivi side of this, my "autoripple-button" branch on github. However, I'm not sure why, when the button is active at start (it remembers the last state) this doesn't seem to work. Perhaps that's caused by the traceback I often get when trimming clips right from the start? (which might be due to gnonlin or ges): Traceback (most recent call last):
+ Trace 231649
self.getDuration()
self.log("Got duration %s" % print_ns(dur))
str((time / Gst.SECOND) % 60) + ':' + \
commit e643fb547fe9a49d831d31e8e278124992c55291 Author: Jean-François Fortin Tam <nekohayo@gmail.com> Date: Fri Mar 15 16:29:54 2013 -0400 Add a button to toggle a "gapless" (auto-ripple) timeline mode Fixes bug #668056