Created attachment 7307 The patch Hello, Currently, we can't drag and drop from a FUSE network share to an application that only handles native (file://) URIs. This makes it impossible to, for example: - attach a file from a Samba share in Claws Mail - upload a file from a Samba share into a Chromium or Firefox upload box. The attached patch tries to send native (file://) URIs instead of network URIs (smb://). Thanks for considering it :) Colin
I can confirm that the patch works on a linux system with current thunar master. Tested with a file on a smb:// share, I can drag a drop it to firefox, the url is correctly resolved to the "local" file:///run/user/[...] path. Maybe need some tests on other OS (!= linux).
At worst, it should not work in the same way as currently on other OSes :)
Colin Leroy referenced this bugreport in commit 5f1c0e8974a7680fa45b4cfbd1ba398d303eeb24 Prefer local (file://) URIs than native ones (e.g. smb://) (Bug #13845) https://git.xfce.org/xfce/thunar/commit?id=5f1c0e8974a7680fa45b4cfbd1ba398d303eeb24
Colin Leroy referenced this bugreport in commit 9c9e12038f2861124448510785fc9e51634da0f3 Prefer local (file://) URIs than native ones (e.g. smb://) (Bug #13845) https://git.xfce.org/xfce/thunar/commit?id=9c9e12038f2861124448510785fc9e51634da0f3
I just pushed your patch to master and xfce-4.12 branches. Nice work, thanks!
Thanks Andre :)