After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 572327 - dragging multiple clips to the timeline should be possible
dragging multiple clips to the timeline should be possible
Status: VERIFIED FIXED
Product: pitivi
Classification: Other
Component: User interface
Git
Other Linux
: Normal normal
: 0.13.1
Assigned To: Brandon Lewis
Pitivi maintainers
Depends on: 572328
Blocks:
 
 
Reported: 2009-02-18 21:43 UTC by Jean-François Fortin Tam
Modified: 2009-03-31 01:07 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jean-François Fortin Tam 2009-02-18 21:43:41 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.
Comment 1 Brandon Lewis 2009-02-19 01:15:57 UTC
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.
Comment 2 Jean-François Fortin Tam 2009-02-19 12:03:22 UTC
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 :)
Comment 3 Brandon Lewis 2009-02-27 05:50:03 UTC
Ah, alright. 
Comment 4 Brandon Lewis 2009-03-01 05:09:29 UTC
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

Comment 5 Jean-François Fortin Tam 2009-03-02 15:34:58 UTC
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.
Comment 6 Brandon Lewis 2009-03-13 23:26:16 UTC
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.
Comment 7 Jean-François Fortin Tam 2009-03-14 01:07:55 UTC
Dragging multiple clips works now, but not single ones anymore, UNLESS you select the single ones before dragging them.
Comment 8 Brandon Lewis 2009-03-30 21:38:54 UTC
sourcelist: only call drag_begin at appropriate time, Finally Fixes 572327
Comment 9 Jean-François Fortin Tam 2009-03-31 01:07:20 UTC
Thanks!