GNOME Bugzilla – Bug 158613
GtkTreeRowReference does not work with reorderable treeview
Last modified: 2004-12-22 21:47:04 UTC
Test case attached below. When the mouse button is pressed, we save the first item in the ListStore as a GtkTreeRowReference. When the drag ends, we set try to get the row reference as a path again. Move the first item in the list to see the problem straight away. The output is: ** Message: Path: Foo ** Message: setting current 0 0x82031e8 ** Message: drag_begin_cb ** Message: button_release_cb: dragged 1 ** Message: drag_end_cb: dragged 1 ** Message: path 0x82031e8 not valid
Created attachment 33901 [details] treerow.c
This happens because dnd is implemented as delete-insert pair. We already have a bug for that, so I'm duping this. *** This bug has been marked as a duplicate of 72043 ***