Skip to content

Attach every image from a multi-file Finder paste #105

Open

Description

@iamnbutler

Follow-up to #91 and PR #104. That PR attaches pasted images, but a Finder copy of several files attaches only one image.

Confirmed behavior

A standalone WKWebView probe was given a real Finder copy of a.png, b.png and c.txt, all selected in Finder and copied with Cmd+C. The pasteboard held one public.file-url item per file, but the page's paste event saw only:

types: ["Files"], files: ["a.png image/png 14451"], items: ["file image/png"]

Expected

Pasting several images copied in Finder attaches all of them, as dropping them does. This probably needs the desktop shell to read the pasteboard's file URLs natively and hand the image files to the composer. The web clipboard event can't see them.

Related: #26 (non-image uploads). Part of #5.

Activity

  1. iamnbutler commented on Oct 15, 2026

    @iamnbutler
    ContributorAuthor

    Reproduced in the two-person study (#218, scenario 4) on Canary 0.0.27: copying shot-a.png and notes.txt in Finder and pasting attached only the image, with no sign the text file was left out (confusion 2/3). Matches the WebKit limit described here. Separately, #269 makes a pasted non-image file show as a chip instead of vanishing.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions