GNOME Bugzilla – Bug 573067
Intra-app dnd of text behavior on Windows is wrong
Last modified: 2009-03-11 14:12:05 UTC
Please describe the problem: In a GTK+ app running on Windows, when text is highlighted and then dragged, the default behavior is to 'copy'. This should be 'move' to be consistent with Windows apps in general (i.e. Word, Notepad, etc). This would also make it consistent with the general behavior of apps on Linux (including GTK+ apps). Steps to reproduce: 1. Run Geany (or any other GTK+ app with an editable window) under Windows 2. Select some text in the edit window 3. Drag the text to a new location Actual results: Text is copied rather than moved Expected results: Move Does this happen every time? Yes Other information:
2009-03-11 Tor Lillqvist <tml@iki.fi> Bug 573067 - Intra-app dnd of text behavior on Windows is wrong * gdk/win32/gdkdnd-win32.c (local_send_motion) (gdk_drag_motion): The default action should be move, not copy. Tweak how the GdkDragAction fields in GdkDragContexts are changed. Seems to help the problem.