GNOME Bugzilla – Bug 161839
drag and drop duplicates row at dest and doesn't delete at drag point
Last modified: 2005-02-15 08:50:34 UTC
When you drag the row it duplicates the row at the insertion point. The row is not deleted from the original drag point. Use the gtkmm 2.4.5/examples/book/treeview/drag_and_drop/ example. It has the same problem as my code. I have not had the opportunity to try the C api to see if this is a gtkmm or gtk error.
I guess the way DnD is handled is specific to the operating system. If you want rows to be moved instead of being copied, force the move action with m_TreeView.enable_model_drag_source(Gdk::MODIFIER_MASK,Gdk::ACTION_MOVE);
Does this solve your problem? Do you have the same problem with the GTK+ demos/examples?
Please respond.
Also, I can not reproduce this with examples/book/treeview/drag_and_drop in gtkmm 2.5/2.6. I haven't tried 2.4.
I will close this if you can not tell us how to reproduce this.
Closing due to lack of test case and lack of response.