Menu ▾ ▴

#350 Files dropped onto the window never reach the chat

closed
nobody
2026-11-07
2026-11-07
Anonymous
No

Originally created by: kristofferR

Problem

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.

Fix

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").

Testing

  • macOS, Windows and Linux: drag an image, a PDF and a multi-file selection onto an open conversation; each attaches to the composer.
  • Drop onto the conversation list and onto the settings window: nothing unexpected happens.
  • Confirm the share-intake path (#214) and download drags out of the page still work.

Part of [#349].

Related

Tickets: #349
Tickets: #372

Discussion

  • Anonymous

    Anonymous - 2026-11-07

    Originally posted by: kristofferR

    [!NOTE]
    🤖 Claude Opus 5.5 responding on behalf of Kristoffer

    Fixed in [#372]: files dropped on the window reach the chat.

    It is on main and ships in the next release.

     

    Related

    Tickets: #372

  • Anonymous

    Anonymous - 2026-11-07

    Ticket changed by: kristofferR

    • status: open --> closed
     

Log in to post a comment.