hermes - 💡(How to fix) Fix [Bug]: Desktop: pasting a file from clipboard shows giant Finder preview but does not attach the file on send [1 pull requests]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

Additional Logs / Traceback (optional)

Root Cause

Root Cause Analysis (optional)

Fix Action

Fixed

Code Example

N/AUI behavior issue
RAW_BUFFERClick to expand / collapse

Bug Description

In the Hermes Desktop app, when a file is copied to the clipboard (e.g., from Finder) and pasted into the chat composer, the composer displays a giant Finder-style preview of the file instead of handling it as a proper file attachment.

When the message is sent, the file is not actually attached to the message — the preview appears to be cosmetic only and does not result in the file being uploaded or sent.

Steps to Reproduce

  1. Open Finder and select a file (e.g., an image, PDF, or document).
  2. Copy the file to the clipboard (Cmd+C).
  3. Open Hermes Desktop app.
  4. Paste the file into the chat composer (Cmd+V).
  5. Observe that a large Finder-style preview appears in the composer.
  6. Send the message.
  7. Observe that the file is not actually attached to the sent message.
<img width="948" height="237" alt="Image" src="https://github.com/user-attachments/assets/07d3b355-71b1-48e1-8965-5c405db161bd" />

Expected Behavior

Pasting a file from the clipboard should either:

  • Properly attach the file as a message attachment (similar to drag-and-drop), or
  • Not render a giant preview if the file cannot be attached.

Actual Behavior

  • A large Finder-style preview of the file appears in the composer.
  • The file is not attached when the message is sent.
  • The preview appears to be a cosmetic rendering of the clipboard file, not a functional attachment.

Affected Component

Other (Hermes Desktop UI)

Messaging Platform (if gateway-related)

N/A

Debug Report

Hermes Desktop clipboard paste behavior issue.

Operating System

macOS 26.5.1 (darwin-arm64)

Python Version

N/A

Hermes Version

v0.15.1 (+303) 43fd63b

Additional Logs / Traceback (optional)

N/A — UI behavior issue

Root Cause Analysis (optional)

No response

Proposed Fix (optional)

No response

Are you willing to submit a PR for this?

  • I'd like to fix this myself and submit a PR

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING