! 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 !
Under VirtualBox, Thunar does not behave as a drag-and-drop target
Status:
RESOLVED: MOVED

Comments

Description Graham Bartlett 2015-07-28 17:44:58 CEST
I am running on Windows 7, with XUbuntu 14.04 running in a VirtualBox VM.  I have replicated this on versions of VirtualBox from 4.3.22 to 5.0.  

VirtualBox supports drag-and-drop from the host to the guest VM.  It is possible to drag-and-drop files from the host to the XUbuntu desktop, and to various applications including Geany which can act as drag-and-drop targets.

However Thunar windows are not shown as drag-and-drop targets (mouse pointer is a no-entry sign), and dropping on a Thunar window does nothing.

How drag-and-drop should be implemented is a Linux desktop standard.  Since other GTK-based applications can receive drag-and-drop from VirtualBox and Thunar can't, my first guess is that this is a bug in Thunar.

Give me a shout if you have any debug code you'd like me to try.  Do be aware though that I'm not a hugely experienced Linux user, and my day job is writing software for a living, not maintaining Linux! :)  I'm happy to try stuff and report back with log files, but I don't have the experience or bandwidth to do kernel rebuilds or stuff like that.
Comment 1 Theo Linkspfeifer editbugs 2020-03-08 22:04:22 CET
https://www.virtualbox.org/wiki/DnDDebug

Debug information:
20:58:56.091050 00007f0605cc4780 main     Entered new window 0x1800007 ('xubu - File Manager'), supports Xdnd version=5
20:58:56.106636 00007f06044d3700 dndX11   Target window 0x1801f3d ('Thunar') is asking for data as 'text/uri-list'

Xubuntu 20.04
Comment 2 Theo Linkspfeifer editbugs 2020-03-09 15:50:23 CET
For some reason we get "text/uri-list" as target of the drag context:
https://git.xfce.org/xfce/thunar/tree/thunar/thunar-standard-view.c?h=thunar-1.8.12#n3604
Comment 3 Theo Linkspfeifer editbugs 2020-03-09 15:54:03 CET
Note: xfdesktop is affected also.
Comment 4 Theo Linkspfeifer editbugs 2020-04-23 20:50:14 CEST
Note: xfdesktop not affected when testing with Manjaro Linux.
Comment 5 Git Bot editbugs 2020-05-26 23:23:01 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/thunar/-/issues/113.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #12099

Reported by:
Graham Bartlett
Reported on: 2015-07-28
Last modified on: 2020-05-26

People

Assignee:
Xfce Bug Triage
CC List:
3 users

Version

Version:
unspecified

Attachments

Additional information