forked from openai/codex
-
Notifications
You must be signed in to change notification settings - Fork 230
Open
Labels
bugSomething isn't workingSomething isn't working
Description
What version of Code is running?
code 0.6.79
Which model were you using?
(GPT-5.4) N/A - the failure happens before any model request is sent, at the paste/attach step (
What platform is your computer?
Linux 6.19.6-2-cachyos x86_64 unknown
What terminal emulator and version are you using (if applicable)?
Alacritty on Wayland/Sway; repros both inside tmux 3.6a and outside tmux. Tested with xterm & terminator as well
What steps can reproduce the bug?
- Take a fresh screenshot with Satty.
- Confirm the clipboard offers a PNG image:
wl-paste --list-types
Observed output:
image/png
- Confirm the clipboard image is valid:
wl-paste --type image/png > /tmp/clip.png
file /tmp/clip.png
Observed output:
/tmp/clip.png: PNG image data, 3440 x 1440, 8-bit/color RGBA, non-interlaced
- Confirm
arboardcan decode the same clipboard image.
Observed output:
file_list unavailable: The clipboard contents were not available in the requested format or the clipboard is empty.
image ok: 3440x1440 (19814400 bytes)
- Run
coder --debug
- Focus the composer and press
Ctrl+VorAlt+V.
What is the expected behavior?
The clipboard image should attach to the composer.
What do you see instead?
Nothing is attached, and coder --debug shows no extra log lines when the paste shortcut is pressed.
Additional information
- OS: EndeavourOS
- Session: Wayland
- Compositor/Desktop: Sway 1.11
- Shell: Bash
- tmux: 3.6a
- Satty: 0.20.1
- wl-clipboard: 2.2.1
- Repros both inside tmux and outside tmux
- Filepath-based image attachment works in
coder - Clipboard image paste works in Claude Code in the same environment
- Since the clipboard image is valid and decodable by
arboard, this looks like a Code-side paste shortcut / event handling bug rather than a bad clipboard payload
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working