Originally created by: kristofferR
Dragging a file or screenshot from Finder, Explorer or a file manager onto the Carrier window does nothing. The file never reaches Messenger's composer.
Tauri's default webview drag-drop handler is enabled, and it consumes OS file drops before the page sees them. Carrier's window builder (src-tauri/src/window.rs (github.com)) never disables it, and nothing in Carrier listens for Tauri's drag-drop events, so the drop is simply lost.
Call .disable_drag_drop_handler() on every Messenger window builder (main, win-*, and popup-* call windows if they need it). The page then receives a normal HTML5 drop and Messenger attaches the file itself.
Reference: fMess does exactly this (webview.rs:310, commit "Files dropped on the window reach the chat").
Part of [#349].
Originally posted by: kristofferR
Fixed in [#372]: files dropped on the window reach the chat.
It is on
mainand ships in the next release.Related
Tickets:
#372Ticket changed by: kristofferR