Xfdesktop drag-and-drop copies to non-thunar file managers, rather than moving the file.
Submitted by Dylan M
Assigned to Eric Koegel
Created attachment 7373 Patch file for xfdesktop-file-icon-manager.c
When moving a file from the desktop to any of the non-thunar file managers that I've tested, (Nemo, Caja, and Nautilus) rather than the file being moved like you would expect, it is copied to wherever you dragged it to in the file manager leaving you with two of the same file.
I'm new to programming/hacking, but after messing around with the source code I managed to fix the problem for me. I say I'm new to programming because I have no idea what the full ramifications of the changes I've made are yet, but the changes I did make were VERY simple so I don't see them having much impact.
I've pasted a patch file showcasing the differences between the original file (xfdesktop-file-icon-manager.c) and the one I changed to fix the issue. (xfdesktop-file-icon-manager-modified.c) Basically, all I did was modify the file "xfdesktop-file-icon-manager.c" in "src" by changing the first two instances of "GDK_ACTION_COPY" to "GDK_ACTION_MOVE". That's it.
I'm not sure if this bug exists in the newest version, (using Xubuntu 16.04) but I think it's safe to assume it is since according to the xfce-mirror on github, this file hasn't been modified for 3 years.
Patch 7373, "Patch file for xfdesktop-file-icon-manager.c":