Skip to content

Drag-and-drop attachments in the email composer #523

Closed

Description

@redfoxx15

What kind of problem?

Something else doesn't work

MailCraft version

0.8.1

Platform

Fedora KDE

Account

Work or school Microsoft 365 account

What happened, and what did you expect?

Description

Allow users to attach files by dragging and dropping them onto the email composer.
Dropping files into the email body should attach them.

Expected behavior

Dropping a file into the email body adds it as an attachment, matching the web app’s behavior.

Attachments appear in the composer’s attachment list and can be removed before sending.

Dropping a file does not navigate away from the draft, replace the message body, or clear existing draft content.

Diagnostics

No response

Activity

  1. added
    bug
    on Oct 26, 2026
  2. benandez commented on Oct 27, 2026

    @benandez
    Member

    Thanks. MailCraft already does this: a file dropped on the window while a message is being written is attached to it (an .eml, .ics or .vcf too). On Windows and macOS it works today.

    On Linux under Wayland the drop never reaches MailCraft: the window library we use (winit 0.30) doesn't take file drops from Wayland yet, so nothing happens. That's the part to fix. Meanwhile, two ways round it:

    • Attach File on the ribbon (Message › Attach File).
    • Start MailCraft under XWayland, where drops work: env -u WAYLAND_DISPLAY mailcraft.

    Human-reviewed, AI-assisted, nobody's mailbox harmed.

  3. added a commit that references this issue on Oct 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions