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 573067 - Intra-app dnd of text behavior on Windows is wrong
Intra-app dnd of text behavior on Windows is wrong
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Backend: Win32
2.10.x
Other All
: Normal normal
: ---
Assigned To: gtk-win32 maintainers
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2009-02-25 03:59 UTC by Bob Snyder
Modified: 2009-03-11 14:12 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Bob Snyder 2009-02-25 03:59:43 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:
Comment 1 Tor Lillqvist 2009-03-11 14:12:05 UTC
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.