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 157441 - dragging supports only single rows
dragging supports only single rows
Status: RESOLVED DUPLICATE of bug 70479
Product: gtk+
Classification: Platform
Component: Widget: GtkTreeView
2.4.x
Other Linux
: Normal normal
: ---
Assigned To: gtktreeview-bugs
gtktreeview-bugs
Depends on:
Blocks:
 
 
Reported: 2004-11-05 12:59 UTC by Tommi Komulainen
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.7/2.8



Description Tommi Komulainen 2004-11-05 12:59:39 UTC
1. add the following line in testtreeview.c after the treeview is created, make
and run:

gtk_tree_selection_set_mode (gtk_tree_view_get_selection (GTK_TREE_VIEW (tv)),
GTK_SELECTION_MULTIPLE);

2. click on the first row
3. press and hold shift and press mouse button on fifth row
4. without releasing shift start dragging
--> only a single row (the fifth row) appears to be dragged

5. drop the row(s?) between two rows lower down
--> only the dragged row is moved in the tree, the rest remain in place
--> the selection no longer includes the dropped row


It should be possible to drag multiple rows within the treeview and the
selection shouldn't change as the result of the drop.
Comment 1 Matthias Clasen 2004-11-05 16:12:57 UTC
It is possible, there is just no api support for it, you have to do it all by hand.
Comment 2 Matthias Clasen 2004-11-05 16:13:49 UTC
It is possible, there is just no api support for it, you have to do it all by hand.

*** This bug has been marked as a duplicate of 70479 ***