[BUG] Linux/Ubuntu (Wayland): Alt+V image paste (dedicated image key) stopped working in recent versions (~2.1.195–2.1.201) — regression; Ctrl+V text paste unaffected, vim mode

Open 💬 0 comments Opened Jul 5, 2026 by g-i-o-r-g-i-o

Summary

On my setup (Claude Code CLI on Ubuntu, vim mode) the keys are:

  • Ctrl+V → paste text (works fine, unaffected)
  • Alt+V → paste image from the clipboard (this is the dedicated image-paste key)

Alt+V image paste has always worked — both screenshots and images copied from Firefox ("Copy Image") — and it stopped working about 1 week / 10 days ago after updating to a recent version. Text paste (Ctrl+V) is completely unaffected. This is a regression in the image-paste path.

Environment

  • Claude Code 2.1.201 (native installer, ~/.local/share/claude/versions/2.1.201)
  • OS: Ubuntu Linux, Wayland session (GNOME)
  • Terminal: VTE-based (VTE_VERSION=7600)
  • Input: vim mode enabled
  • Keys: Ctrl+V = text paste (works), Alt+V = image paste (broken)
  • xclip, wl-paste, xsel all installed

Steps to reproduce

  1. Copy an image to the clipboard — a GNOME screenshot (PrintScreen → select region), or an image copied from Firefox (right-click → Copy Image).
  2. In the Claude Code prompt (vim mode, insert), press Alt+V (the image-paste key).
  3. Expected: the image is attached (an [Image #N] chip appears), exactly as it did until ~1 week ago.
  4. Actual: nothing is attached, no image chip appears. Text paste with Ctrl+V still works normally.

Evidence the OS/clipboard side is fine (the image is in the clipboard)

When an image is in the clipboard, both CLI clipboard tools report image/png:

$ wl-paste --list-types
image/png

$ xclip -selection clipboard -t TARGETS -o
image/png TARGETS TIMESTAMP

So the PNG is present and readable from the command line — Claude Code simply no longer ingests it on Alt+V. The failure is inside Claude Code's clipboard-image handling, not the OS clipboard, not Wayland, not xclip/wl-paste availability.

Regression window

  • Worked: older versions (~2 weeks ago).
  • Broken: after updating; currently on 2.1.201. The break was noticed ~1 week / 10 days ago (roughly the 2.1.195–2.1.201 range).

Notes / possibly related

  • Input/paste handling may differ under vim mode, so the regression could be in the vim-mode input path.
  • Only the image key (Alt+V) regressed; the text key (Ctrl+V) is unaffected.
  • Possibly related recent Linux paste regression: #66056 (right-click paste broken since ~2.1.167 due to mouse reporting).
  • Other Linux image-paste issues that are not the same as this one: #8324, #72481, #59734 — none matches this Alt+V (dedicated image key) + vim-mode + recent-regression signature on Wayland with the clipboard verified to contain the image.

View original on GitHub ↗