GNOME Bugzilla – Bug 572327
dragging multiple clips to the timeline should be possible
Last modified: 2009-03-31 01:07:20 UTC
I sometimes want to import all my clip library to the timeline in one shot. Currently, selecting them all and trying to drag-and-drop results in only the last clip in the list being dragged.
I feel you, but there are some issues with this: which order would you like the clips to appear in? Let's say you wanted to drop them in order of selection. I'm not sure it's possible to reconstruct that order. Maybe the order they appear in the browser is all you want? It seems like maybe the issue is that we allow multi-selection in the browser, which creates the perception that dragging multiple clips would work.
The order isn't really important (I never bothered with that, and didn't even notice if vegas had some kind of special algorithm for it, I don't think so). Just putting them in the order that they are shown in the clip library (alphabetical, I guess) would seem fine to me. The goal is simply to dump them at the end of the timeline, creating some free space and allowing to rearrange them without a hundred clicks :)
Ah, alright.
commit 18e3692cce3c94464096488161b4cc7eea28af9d Author: Brandon Lewis <brandon_lewis@berkeley.edu> Date: Sat Feb 28 20:59:44 2009 -0800 timeline: you can now drop several clips onto the timeline at a time
Doesn't work, unless you hold down CTRL, and if you do so, the clip under the mouse (where you initiate the drag) will be deselected.
The 'fix_tree_drag' branch in my repository is an attempt to deal with this issue. The selection isn't changed on mouse down, which is the default behavior for gtk.TreeView (one wonders why), so you should be able to drag and drop multiple items without holding either SHIFT or CTRL. Still not sure I've covered all the cases, so do your worst to see if you can break it.
Dragging multiple clips works now, but not single ones anymore, UNLESS you select the single ones before dragging them.
sourcelist: only call drag_begin at appropriate time, Finally Fixes 572327
Thanks!