GNOME Bugzilla – Bug 70479
DnD with multiple selected items won't work
Last modified: 2018-05-02 13:38:26 UTC
There's no way to drag multiple selected items from a GtkTreeView. I think this can be solved without adding any API.
No time for 2.0.0 -- punting to 2.2.
Reassigning bugs to new component owner. Sorry for the flood.
What is the current progress on this bug ? Will the work in egg be merged ? I had taken a look at egg and it looked to be the right way, except for one thing: dnd was triggered only when clicking on a previously already selected row, which is wrong when you want to move a single row. I think you have to trigger dnd when moving mouse while keeping a mouse button pressed _in any case_; of course there is a close relationship with selection handling, where you end up selecting a row at button release instead of button press when dnd is not triggered (not moving the mouse). Hope this is clear and might be helpful :-)
IIRC the current idea is to base a multi item DnD implementation on the work done in Nautilus. I will leave the milestone on "future" for now, but I am really going to look what I can do for 2.4. So who knows ;).
:-) It's great to hear that you still have this feature waiting somewhere in your mind ;-) I know there are lots of more important features to be done, and all of you guys do a really great job, but I've been waiting for this one for _years_, no kidding ! :-) Thanks a lot for having taken some time to update this bug status.
I am working on this now. I am totally going to try to get this in 2.4.
First try at a patch: http://mail.gnome.org/archives/gtk-devel-list/2003-December/msg00160.html
Your patch didn't seem to bring about any reaction, is it postponed to 2.6 ? Strange that such a useful feature is mostly ignored...
I guess we dropped the ball on this one, too...
Some comments on kris' patch here: http://mail.gnome.org/archives/gtk-devel-list/2004-February/msg00232.html
Any progress on this matter ?
*** Bug 157441 has been marked as a duplicate of this bug. ***
Any chance of getting this in for 2.6? Seems somewhat essential.
Hm, I meant 2.8 of course - sorry for the spam
didn't make it into 2.10 either :-(
*** Bug 362572 has been marked as a duplicate of this bug. ***
I have the feeling that this won't make it into 2.12 either, right? =(
No. I've been wanting to work on this for a very, very long time. But up until today I still haven't had the chance to ...
> I've been wanting to work on this for a very, very long time. > But up until today I still haven't had the chance to ... So, did you ever get a chance to work on it?
This is a me too, I'd need such a functionality too.
Any progress on this?
Not yet, but it is very, very high on my list -- and this is no easy task at all (I tried 4 years ago ;). Once University settles down ... Note that this does not mean that it is not possible at all to do DnD with multiple selected items, you "only" have to write your own implementation of it. Epiphany has such an implementation in its history/bookmarks windows. See the code of the EphyNodeView.
(Over the Summer I've started rewriting the drag and drop guts of GtkTreeView. As I am doing this in my spare time I cannot really say how long it will take before this is finished, but it looks promising).
(In the last 1.5 week some good progress has been made. I hope to hit the API review phase within a month).
Kristian, it's been almost a year, what's been going on?
Kristian, What is the status of this? Here: http://people.gnome.org/~fpeters/reports/eggs.html you can see that there are several apps still using eggtreemultidnd.c: * brasero * epiphany * file-roller * nautilus * seahorse Is there any plan to merge this in this cycle? Or we should postpone it for GTK + 3.2?
I never got around to working on this again -- and I never will unfortunately. I have documented my thoughts and my work in progress patch from 2008 on a wiki page in case anybody wants to pick this up: https://live.gnome.org/GTK%2B/GtkTreeView/Ideas#Revamp_GtkTreeView_Drag-and-Drop_implementation_.28has-patch.29
We're moving to gitlab! As part of this move, we are closing bugs that haven't seen activity in more than 5 years. If this issue is still imporant to you and still relevant with GTK+ 3.22 or master, please consider creating a gitlab issue for it.
Still relevant, eggtreemultidnd.c is still used.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gtk/issues/217.