Image paste requires two attempts on Windows -- first attempt always fails with not found

Resolved 💬 2 comments Opened May 25, 2026 by Cy-Toolio Closed May 27, 2026

Description

Pasting an image (Ctrl+V) into Claude Code always fails on the first attempt, then succeeds on the second paste of the same image. This happens 100% of the time, consistently reproducible.

Steps to Reproduce

  1. Copy any image to clipboard (screenshot, file, etc.)
  2. Paste into Claude Code input with Ctrl+V
  3. First attempt fails (image not found / not available)
  4. Press Ctrl+V again with the same image still on clipboard
  5. Second attempt succeeds

Expected Behavior

First paste should work without requiring a retry.

Environment

  • Claude Code version: 2.1.150
  • OS: Windows 11 Pro 10.0.26200
  • Shell: PowerShell

Notes

Behavior appears to be a regression — started occurring recently. Likely a timing/race condition where Claude Code checks for the temp file before it has finished being written from the clipboard.

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗