You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I reviewed this on current main and checked the existing thread before changing any code.
Repro
The static tooltip copy still says Ctrl+V for image paste.
On current main, the rendered footer shortcut is already environment-sensitive instead of being a single hardcoded label.
That means the remaining user-facing mismatch is the tooltip text, not the footer binding logic suggested earlier in the thread.
Root Cause
The stale shortcut text lives in codex-rs/tui/tooltips.txt and codex-rs/tui_app_server/tooltips.txt.
The current footer implementation already varies the displayed key hint by environment, so hardcoding Ctrl+V in the tooltip drifts out of sync.
I kept the fix narrow by making the tooltip text generic instead of introducing another platform-specific shortcut branch.
Validation
cargo test -p codex-tui tooltips -- --nocapture
cargo test -p codex-tui-app-server tooltips -- --nocapture
Docs / Help Impact
Yes. This changes the in-product tooltip copy to Paste an image from your clipboard to attach it to your next message.
Risk
Low. This is a text-only change mirrored across both TUI surfaces, plus focused regression tests that make sure the tooltip pool no longer hardcodes Ctrl+V.
Activity
ShresthSamyak commentedon Mar 6, 2026
Hi! I investigated this issue and found the location of the incorrect shortcut description.
The UI currently shows Ctrl+V, but the keybinding used in the code is Alt+V.
Proposed fix:
This updates the displayed shortcut so it correctly reflects the implemented keybinding.
Happy to open a PR if external contributions are allowed.
middleDuckAi commentedon Mar 24, 2026
I reviewed this on current
mainand checked the existing thread before changing any code.Repro
Ctrl+Vfor image paste.main, the rendered footer shortcut is already environment-sensitive instead of being a single hardcoded label.Root Cause
codex-rs/tui/tooltips.txtandcodex-rs/tui_app_server/tooltips.txt.Ctrl+Vin the tooltip drifts out of sync.Validation
cargo test -p codex-tui tooltips -- --nocapturecargo test -p codex-tui-app-server tooltips -- --nocaptureDocs / Help Impact
Paste an image from your clipboard to attach it to your next message.Risk
Ctrl+V.Maintainer Pickup
gh pr create --repo openai/codex --base main --head middleDuckAi:middleDuck/codex-11708-shortcut-description-to-paste-image --title "$(gh pr view 8 --repo middleDuckAi/codex --json title --jq .title)" --body "$(gh pr view 8 --repo middleDuckAi/codex --json body --jq .body)"etraut-openai commentedon Aug 5, 2026
Current TUI displays the correct platform-specific image-paste shortcut