tauri icon indicating copy to clipboard operation
tauri copied to clipboard

Feature Request: Native file drag & drop into filesystem

Open mcunningham opened this issue 4 years ago • 21 comments

Is your feature request related to a problem? Please describe. I have a use case which requires dragging files (references to local file paths) from the webview "out" into file system. This is achievable in electron (link), and think it would a beneficial feature of Tauri.

Describe the solution you'd like In a webview, I would like the ability start a drag which references a file/multiple files and drop it somewhere in the filesystem.

Describe alternatives you've considered I asked about this in the Tauri discord, there are no alternatives and I was prompted to create this Feature Request.

Additional context Here is a gif of the behavior in electron drag-and-drop

mcunningham avatar Sep 10 '21 14:09 mcunningham

For file explorers based on web technology like Xplorer, this is pretty much a required feature.

ciriousjoker avatar Nov 23 '21 16:11 ciriousjoker

Hello, version 1.0 is out right now, is there any chance for this feature to be implemented? 👀

kimlimjustin avatar Jun 16 '22 15:06 kimlimjustin

Hi, any updates on that feature?

autriz avatar Apr 02 '23 00:04 autriz

Does anyone have a way to do this? A plugin maybe? To advance the cause I put this here: https://webkit.org/blog/8170/clipboard-api-improvements/

vincehi avatar May 18 '23 11:05 vincehi

I'm also interested in this feature as i'm working on an audio related app and would like to drag the files from the app to audio editors directly.

I have tried with electron and it works using an IPC call, perhaps this can work as a reference implementation for Tauri: https://github.com/electron/electron/pull/6333

hems avatar May 25 '23 10:05 hems

Bump! Any hope for this feature?

AntoineBalaine avatar Aug 20 '23 16:08 AntoineBalaine

+1

MichaelTendoSsemwanga avatar Aug 30 '23 21:08 MichaelTendoSsemwanga

This feature should not be labeled low priority in my opinion. Many desktop applications require this feature.

Hope to see it added!

joehinkle11 avatar Sep 01 '23 22:09 joehinkle11

Do you currently have any solutions

wf-soft avatar Sep 17 '23 09:09 wf-soft

This is crucial feature, which Electron has. We need to support dragging files inter-applications in system.

ioma8 avatar Oct 22 '23 15:10 ioma8

Thanks to Kino AI, we're pleased to announce that the team at CrabNebula will contribute this long-requested feature upstream to WRY and integrated into Tauri.

lucasfernog avatar Nov 06 '23 16:11 lucasfernog

blog post wen

TejasQ avatar Nov 06 '23 17:11 TejasQ

blog post wen

Soon. :tm:

denjell-crabnebula avatar Nov 06 '23 17:11 denjell-crabnebula

Thanks to Kino AI, we're pleased to announce that the team at CrabNebula will contribute this long-requested feature upstream to WRY and integrated into Tauri.

amazing! also nice to discover CrabNebula!

hems avatar Nov 15 '23 01:11 hems

I really hope this feature gets released in v2 or sooner. :)

verdaderoken avatar Nov 23 '23 20:11 verdaderoken

Some kind of roadmap for this feature would be greatly appreciated, and thanks to the team at CrabNebula for taking this on!

jaydevelopsstuff avatar Nov 24 '23 08:11 jaydevelopsstuff

We will be publishing the feature mid next week after the documentation is done.

denjell-crabnebula avatar Nov 24 '23 08:11 denjell-crabnebula

We will be publishing the feature mid next week after the documentation is done.

Is this the repo? https://github.com/crabnebula-dev/drag-rs

Gave the examples a try on MacOS and dragging is indeed working, great work!

jamesWalker55 avatar Dec 01 '23 03:12 jamesWalker55

Beautiful. I can't wait to finally start making my file manager program.

REALERvolker1 avatar Dec 01 '23 07:12 REALERvolker1

Thanks to Kino AI, we're pleased to announce that the team at CrabNebula will contribute this long-requested feature upstream to WRY and integrated into Tauri.

Hi, it seems that this plugin can only access the drop position, not the drop file path.

creeper12356 avatar Apr 19 '24 14:04 creeper12356