! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
inconsistent default action when dragging from external app
Status:
RESOLVED: FIXED

Comments

Description Dennis Tomas 2013-04-14 13:17:45 CEST
Created attachment 4999 
fixes inconsistent dnd behaviour

When dragging a file from an external app (i.e. xfdesktop), the default action varies between "move" and "copy" depending on whether the dragged file is shown in a thunar window or not.

This behaviour is caused by using thunar_file_cache_lookup() in thunar_file_accepts_drop() and defaulting to "copy" if the source file is not in the cache (which is the case if it's not shown in any thunar window). The attached patch fixes this by using thunar_file_get() instead.
Comment 1 Harald Judt editbugs 2015-04-17 16:43:16 CEST
I believe this has been fixed in thunar-1.6.6, with a slightly different approach.

Bug #9997

Reported by:
Dennis Tomas
Reported on: 2013-04-14
Last modified on: 2015-04-17

People

Assignee:
Jannis Pohlmann
CC List:
2 users

Version

Version:
unspecified

Attachments

fixes inconsistent dnd behaviour (1.14 KB, patch)
2013-04-14 13:17 CEST , Dennis Tomas
no flags

Additional information