Image paste fails in some Codex CLI sessions (Ctrl+V and Right-click Paste both fail)

Resolved 💬 5 comments Opened Apr 20, 2026 by wenshirong Closed Apr 23, 2026

What version of Codex is running?

  • codex-cli 0.121.0
  • @openai/codex@0.121.0

Platform

  • OS: Windows NT 10.0.26200.0
  • Shell: PowerShell 5.1
  • Terminal: JetBrains-JediTerm (IDE integrated terminal)

Problem summary

Image paste works in some newly started Codex sessions, but fails in other sessions on the same machine/account.

Steps to reproduce

  1. Start Codex interactive session A.
  2. Copy an image to clipboard.
  3. Try paste with Ctrl+V and also Right-click -> Paste.
  4. No image is attached.
  5. Start another Codex session B on same machine.
  6. Repeat paste, image attaches normally.

Expected behavior

Image paste should be consistently available across sessions with same environment.

Actual behavior

Session-level inconsistency: some sessions accept image paste; others do not.
Both keyboard paste and context-menu paste fail in bad sessions, so this is not just a shortcut mapping issue.

Extra notes

  • codex --help shows image input is supported (-i, --image <FILE>...).
  • This looks like session/channel capability regression or initialization mismatch.

View original on GitHub ↗

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