You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As far as we know, by default, Tauri handles drag-n-drop via its own tauri://drop and related events.
While in Linux (both Ubuntu 22.04 and 24.04), once a file is dropped onto the window, an tauri://drag-cancelled is emitted instead, and the webview is unexpectedly navigated to the dropped file.
Describe the bug
As far as we know, by default, Tauri handles drag-n-drop via its own
tauri://drop
and related events.While in Linux (both Ubuntu 22.04 and 24.04), once a file is dropped onto the window, an
tauri://drag-cancelled
is emitted instead, and the webview is unexpectedly navigated to the dropped file.Reproduction
Link: https://github.com/xingrz/tauri-v2-drag-n-drop
Console
tab. EnablePreserve Log
As its shown in the screenshot below,
tauri://drag-cancelled
is emitted, and the webview is navigated to the file (package.json
) just dropped.Expected behavior
A
tauri://drop
should be emitted. In the above minimal reproduction, size of the dropped file is displayed.Full
tauri info
outputStack trace
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: