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 161839 - drag and drop duplicates row at dest and doesn't delete at drag point
drag and drop duplicates row at dest and doesn't delete at drag point
Status: RESOLVED INVALID
Product: gtkmm
Classification: Bindings
Component: TreeView
2.4
Other Windows
: Normal normal
: ---
Assigned To: gtkmm-forge
gtkmm-forge
Depends on:
Blocks:
 
 
Reported: 2004-12-20 23:32 UTC by Diana Esch- Mosher
Modified: 2005-02-15 08:50 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Diana Esch- Mosher 2004-12-20 23:32:01 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.
Comment 1 Cedric Gustin 2004-12-22 14:08:43 UTC
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);
Comment 2 Murray Cumming 2005-01-04 12:53:38 UTC
Does this solve your problem? Do you have the same problem with the GTK+
demos/examples?
Comment 3 Murray Cumming 2005-01-25 13:45:46 UTC
Please respond.
Comment 4 Murray Cumming 2005-01-25 13:52:37 UTC
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.
Comment 5 Murray Cumming 2005-02-01 19:38:25 UTC
I will close this if you can not tell us how to reproduce this.
Comment 6 Murray Cumming 2005-02-15 08:50:34 UTC
Closing due to lack of test case and lack of response.