Skip to content

Regression in v0.157.0: right-click paste no longer works in integrated terminal on Fedora #48040

Closed

Description

@FR-ADDIX

What version of Codex CLI is running?

v0.157.0

What subscription do you have?

Plus

Which model were you using?

not model-specific

What platform is your computer?

Codex integrated terminal, bash, Fedora Linux, no tmux/screen

What terminal emulator and version are you using (if applicable)?

No response

Codex doctor report

{
  "schemaVersion": 1,
  "generatedAt": "1790326992s since unix epoch",
  "overallStatus": "ok",
  "codexVersion": "0.157.0",
  "checks": {
    "app_server.status": {
      "id": "app_server.status",
      "category": "app-server",
      "status": "ok",
      "summary": "background server is running",
      "details": {
        "app-server version": "0.157.0",
        "control socket": "/home/frank/.codex/app-server-control/app-server-control.sock",
        "daemon state dir": "/home/frank/.codex/app-server-daemon",
        "dedicated pid file": "/home/frank/.codex/app-server-daemon/daemon.pid (file)",
        "dedicated update-loop pid file": "/home/frank/.codex/app-server-daemon/daemon-updater.pid (file)",
        "mode": "ephemeral",
        "pid file": "/home/frank/.codex/app-server-daemon/app-server.pid (missing)",
        "settings": "/home/frank/.codex/app-server-daemon/settings.json (missing)",
        "status": "running",
        "update-loop pid file": "/home/frank/.codex/app-server-daemon/app-server-updater.pid (missing)"
      },
      "remediation": null,
      "durationMs": 7
    },
    "auth.credentials": {
      "id": "auth.credentials",
      "category": "auth",
      "status": "ok",
      "summary": "auth is configured",
      "details": {
        "auth file": "/home/frank/.codex/auth.json",
        "auth storage mode": "File",
        "stored API key": "false",
        "stored ChatGPT tokens": "true",
        "stored agent identity": "false",
        "stored auth mode": "chatgpt"
      },
      "remediation": null,
      "durationMs": 0
    },
    "config.load": {
      "id": "config.load",
      "category": "config",
      "status": "ok",
      "summary": "config loaded",
      "details": {
        "CODEX_HOME": "/home/frank/.codex",
        "active thread overrides": "not inspected",
        "config.toml": "/home/frank/.codex/config.toml",
        "config.toml parse": "ok",
        "configuration load ms": "19",
        "configuration scope": "invocation config, including cloud-managed policy",
        "cwd": "/home/frank/Dokumente/Dev/CAPTN/hypercore-road-importer",
        "enabled feature flags": "daemon_auto_start, shell_tool, view_image, sleep_tool, unified_exec, unified_exec_tty, unified_exec_zsh_fork, shell_snapshot, content_item_kinds, code_mode_host, terminal_resize_reflow, sqlite, hooks, enable_request_compression, unbounded_connection_retries, worktrees, system_proxy_fallback, multi_agent, apps, tool_search_always_defer_mcp_tools, tool_suggest, plugins, in_app_browser, in_app_chat, in_app_dictation, in_app_local_automation, in_app_updates, browser_use, browser_use_full_cdp_access, browser_use_external, computer_use, remote_plugin, plugin_sharing, image_generation, resize_all_images, item_ids, skill_mcp_dependency_install, skill_search, mentions_v2, steer, guardian_approval, guardianv2.thread_context, guardian_reuse_parent_compaction, goals, collaboration_modes, tool_call_mcp_elicitation, auth_elicitation, fast_mode, realtime_conversation, tui_app_server, compaction_image_budget, workspace_dependencies",
        "feature flag overrides": "none",
        "feature flags enabled": "52",
        "log dir": "/home/frank/.codex/log",
        "mcp servers": "0",
        "model": "gpt-5.6-luna",
        "model provider": "openai",
        "sqlite home": "/home/frank/.codex"
      },
      "remediation": null,
      "durationMs": 0
    },
    "git.environment": {
      "id": "git.environment",
      "category": "git",
      "status": "ok",
      "summary": "git executable found; execution not verified",
      "details": {
        ".git entry": "directory",
        "PATH git #1": "/usr/bin/git",
        "PATH git #2": "/usr/sbin/git",
        "PATH git entries": "2",
        "git execution": "not inspected (PATH helpers are not executed)",
        "repo detected": "true",
        "repo root": "/home/frank/Dokumente/Dev/CAPTN/hypercore-road-importer",
        "selected git": "/usr/bin/git"
      },
      "remediation": null,
      "durationMs": 0
    },
    "installation": {
      "id": "installation",
      "category": "install",
      "status": "ok",
      "summary": "installation looks consistent",
      "details": {
        "PATH codex #1": "/usr/local/bin/codex",
        "PATH codex #2": "/usr/local/sbin/codex",
        "PATH codex entries": "2",
        "current executable": "/usr/local/lib/node_modules/@openai/codex/node_modules/@openai/codex-linux-x64/vendor/x86_64-unknown-linux-musl/bin/codex",
        "install context": "npm (package /usr/local/lib/node_modules/@openai/codex/node_modules/@openai/codex-linux-x64/vendor/x86_64-unknown-linux-musl, bin /usr/local/lib/node_modules/@openai/codex/node_modules/@openai/codex-linux-x64/vendor/x86_64-unknown-linux-musl/bin, resources /usr/local/lib/node_modules/@openai/codex/node_modules/@openai/codex-linux-x64/vendor/x86_64-unknown-linux-musl/codex-resources, path /usr/local/lib/node_modules/@openai/codex/node_modules/@openai/codex-linux-x64/vendor/x86_64-unknown-linux-musl/codex-path)",
        "managed by Vite+": "false",
        "managed by bun": "false",
        "managed by npm": "true",
        "managed by pnpm": "false",
        "managed package root": "/usr/local/lib/node_modules/@openai/codex",
        "npm update target": "not inspected (PATH helpers are not executed)"
      },
      "remediation": null,
      "durationMs": 0
    },
    "mcp.config": {
      "id": "mcp.config",
      "category": "mcp",
      "status": "ok",
      "summary": "no MCP servers configured",
      "details": {},
      "remediation": null,
      "durationMs": 0
    },
    "network.env": {
      "id": "network.env",
      "category": "network",
      "status": "ok",
      "summary": "network-related environment looks readable",
      "details": {
        "managed proxy": "not configured",
        "proxy env vars": "none",
        "respect system proxy": "disabled"
      },
      "remediation": null,
      "durationMs": 0
    },
    "network.provider_reachability": {
      "id": "network.provider_reachability",
      "category": "reachability",
      "status": "ok",
      "summary": "active provider endpoints are reachable over HTTP",
      "details": {
        "ChatGPT inference URL": "https://chatgpt.com/backend-api/<redacted> reachable (HTTP 405)",
        "reachability mode": "ChatGPT auth"
      },
      "remediation": null,
      "durationMs": 475
    },
    "network.websocket_reachability": {
      "id": "network.websocket_reachability",
      "category": "websocket",
      "status": "ok",
      "summary": "Responses WebSocket handshake succeeded",
      "details": {
        "DNS": "2 IPv4, 2 IPv6, first IPv6",
        "auth mode": "chatgpt",
        "connect timeout": "15000 ms",
        "endpoint": "wss://chatgpt.com/backend-api/<redacted>",
        "handshake result": "HTTP 101 Switching Protocols",
        "model provider": "openai",
        "provider name": "OpenAI",
        "proxy env vars": "none",
        "reasoning header": "false",
        "server model present": "false",
        "supports websockets": "true",
        "wire API": "responses"
      },
      "remediation": null,
      "durationMs": 985
    },
    "runtime.provenance": {
      "id": "runtime.provenance",
      "category": "runtime",
      "status": "ok",
      "summary": "running npm on linux-x86_64",
      "details": {
        "commit": "unknown",
        "current executable": "/usr/local/lib/node_modules/@openai/codex/node_modules/@openai/codex-linux-x64/vendor/x86_64-unknown-linux-musl/bin/codex",
        "install method": "npm (package /usr/local/lib/node_modules/@openai/codex/node_modules/@openai/codex-linux-x64/vendor/x86_64-unknown-linux-musl, bin /usr/local/lib/node_modules/@openai/codex/node_modules/@openai/codex-linux-x64/vendor/x86_64-unknown-linux-musl/bin, resources /usr/local/lib/node_modules/@openai/codex/node_modules/@openai/codex-linux-x64/vendor/x86_64-unknown-linux-musl/codex-resources, path /usr/local/lib/node_modules/@openai/codex/node_modules/@openai/codex-linux-x64/vendor/x86_64-unknown-linux-musl/codex-path)",
        "platform": "linux-x86_64",
        "version": "0.157.0"
      },
      "remediation": null,
      "durationMs": 0
    },
    "runtime.search": {
      "id": "runtime.search",
      "category": "search",
      "status": "ok",
      "summary": "search command found (bundled); execution not verified",
      "details": {
        "search command": "/usr/local/lib/node_modules/@openai/codex/node_modules/@openai/codex-linux-x64/vendor/x86_64-unknown-linux-musl/codex-path/rg",
        "search command readiness": "file exists",
        "search provider": "bundled"
      },
      "remediation": null,
      "durationMs": 0
    },
    "sandbox.filesystem_paths": {
      "id": "sandbox.filesystem_paths",
      "category": "sandbox",
      "status": "ok",
      "summary": "configured filesystem paths respond promptly",
      "details": {
        "operation": "resolve paths only; read/write access is not tested",
        "path 1": "/home/frank/.local/share/containers/storage (write); path resolved (read/write access not tested)",
        "path 1 source": "effective filesystem policy (entry provenance unavailable)",
        "path 2": "/home/frank/.local/share/containers/storage/.agents (read); path resolved (read/write access not tested)",
        "path 2 source": "effective filesystem policy (entry provenance unavailable)",
        "path 3": "/home/frank/.local/share/containers/storage/.codex (read); path resolved (read/write access not tested)",
        "path 3 source": "effective filesystem policy (entry provenance unavailable)",
        "path 4": "/home/frank/.local/share/containers/storage/.git (read); path resolved (read/write access not tested)",
        "path 4 source": "effective filesystem policy (entry provenance unavailable)",
        "path 5": "/run/user/1000/containers (write); path resolved (read/write access not tested)",
        "path 5 source": "effective filesystem policy (entry provenance unavailable)",
        "path 6": "/run/user/1000/libpod (write); path resolved (read/write access not tested)",
        "path 6 source": "effective filesystem policy (entry provenance unavailable)",
        "paths checked": "6 of 6",
        "probe budgets": "2 seconds per path, 8 seconds total, at most 32 paths"
      },
      "remediation": null,
      "durationMs": 63
    },
    "sandbox.helpers": {
      "id": "sandbox.helpers",
      "category": "sandbox",
      "status": "ok",
      "summary": "sandbox configuration is readable",
      "details": {
        "approval policy": "OnRequest",
        "codex-linux-sandbox helper": "/home/frank/.codex/tmp/arg0/codex-arg0djnHQW/codex-linux-sandbox",
        "denied-read glob rules": "0",
        "denied-read rules": "0",
        "execve wrapper helper": "/home/frank/.codex/tmp/arg0/codex-arg0djnHQW/codex-execve-wrapper",
        "filesystem sandbox": "restricted",
        "glob scan max depth": "unbounded",
        "managed filesystem source": "none",
        "network sandbox": "restricted"
      },
      "remediation": null,
      "durationMs": 0
    },
    "security.endpoint": {
      "id": "security.endpoint",
      "category": "security",
      "status": "ok",
      "summary": "endpoint protection is not inspected on this platform",
      "details": {
        "endpoint products": "not inspected on this platform"
      },
      "remediation": null,
      "durationMs": 0
    },
    "state.paths": {
      "id": "state.paths",
      "category": "state",
      "status": "ok",
      "summary": "state paths and databases are inspectable",
      "details": {
        "CODEX_HOME": "/home/frank/.codex (dir)",
        "active rollout files": "135 files, 744368679 total bytes, 5513842 average bytes",
        "archived rollout files": "0 files, 0 total bytes, 0 average bytes",
        "goals DB": "/home/frank/.codex/goals_1.sqlite (file)",
        "goals DB integrity": "ok",
        "log DB": "/home/frank/.codex/logs_2.sqlite (file)",
        "log DB integrity": "ok",
        "log dir": "/home/frank/.codex/log (dir)",
        "memories DB": "/home/frank/.codex/memories_1.sqlite (file)",
        "memories DB integrity": "ok",
        "memories v2 DB": "/home/frank/.codex/memories_v2_1.sqlite (missing)",
        "memories v2 DB integrity": "skipped (missing)",
        "queue DB": "/home/frank/.codex/queue_1.sqlite (file)",
        "queue DB integrity": "ok",
        "sqlite home": "/home/frank/.codex (dir)",
        "state DB": "/home/frank/.codex/state_5.sqlite (file)",
        "state DB integrity": "ok",
        "thread history DB": "/home/frank/.codex/thread_history_1.sqlite (file)",
        "thread history DB integrity": "ok"
      },
      "remediation": null,
      "durationMs": 607
    },
    "state.rollout_db_parity": {
      "id": "state.rollout_db_parity",
      "category": "threads",
      "status": "ok",
      "summary": "rollout files and state DB thread inventory agree",
      "details": {
        "default model provider": "openai",
        "rollout DB active files": "135",
        "rollout DB active rows": "135",
        "rollout DB archive mismatches": "0",
        "rollout DB archived files": "0",
        "rollout DB archived rows": "0",
        "rollout DB duplicate DB paths": "0",
        "rollout DB duplicate rollout thread ids": "0",
        "rollout DB malformed file names": "0",
        "rollout DB missing active rows": "0",
        "rollout DB missing archived rows": "0",
        "rollout DB model providers": "openai=135",
        "rollout DB rows": "135",
        "rollout DB scan cap reached": "false",
        "rollout DB scan errors": "0",
        "rollout DB sources": "cli=135",
        "rollout DB stale rows": "0"
      },
      "remediation": null,
      "durationMs": 30
    },
    "system.disk": {
      "id": "system.disk",
      "category": "disk",
      "status": "ok",
      "summary": "sufficient free disk space (875.0 GiB)",
      "details": {
        "CODEX_HOME available": "875.0 GiB",
        "failure threshold": "1.0 GiB",
        "warning threshold": "5.0 GiB",
        "worktree available": "875.0 GiB"
      },
      "remediation": null,
      "durationMs": 0
    },
    "system.environment": {
      "id": "system.environment",
      "category": "system",
      "status": "ok",
      "summary": "OS language de-DE",
      "details": {
        "EDITOR": "set",
        "LANG": "de_DE.UTF-8",
        "VISUAL": "not set",
        "os": "Fedora 44.0.0 [64-bit]",
        "os language": "de-DE",
        "os type": "Fedora",
        "os version": "44.0.0"
      },
      "remediation": null,
      "durationMs": 5
    },
    "terminal.env": {
      "id": "terminal.env",
      "category": "terminal",
      "status": "ok",
      "summary": "terminal metadata was detected",
      "details": {
        "COLORFGBG": "15;0",
        "COLORTERM": "truecolor",
        "DISPLAY": "present",
        "color output": "enabled",
        "effective locale": "de_DE.UTF-8",
        "stderr is terminal": "true",
        "stdin is terminal": "true",
        "stdout is terminal": "true",
        "terminal": "Konsole",
        "terminal size": "236x55",
        "terminal version": "260801"
      },
      "remediation": null,
      "durationMs": 0
    },
    "terminal.title": {
      "id": "terminal.title",
      "category": "title",
      "status": "ok",
      "summary": "terminal title default",
      "details": {
        "terminal title activity": "true",
        "terminal title items": "activity, project-name",
        "terminal title project source": "git repo root",
        "terminal title project value": "hypercore-road-importer",
        "terminal title source": "default"
      },
      "remediation": null,
      "durationMs": 0
    },
    "updates.status": {
      "id": "updates.status",
      "category": "updates",
      "status": "ok",
      "summary": "update configuration is locally consistent",
      "details": {
        "cached latest version": "0.157.0",
        "check for update on startup": "true",
        "dismissed version": "0.155.1",
        "last checked at": "2026-09-25T06:59:25.886484330Z",
        "latest version": "0.157.0",
        "latest version status": "current version is not older",
        "npm update target": "not inspected (PATH helpers are not executed)",
        "update action": "npm install -g @openai/codex",
        "version cache": "/home/frank/.codex/version.json"
      },
      "remediation": null,
      "durationMs": 649
    }
  }
}

What issue are you seeing?

Bug

Right-click paste no longer works in the integrated Codex terminal after updating to v0.157.0 on Fedora Linux.

Steps to reproduce

  1. Open the integrated terminal in Codex.
  2. Copy text to the system clipboard.
  3. Right-click inside the terminal.
  4. Select Paste.

Expected behavior

The clipboard content is pasted into the shell.

Actual behavior

Right-click Paste does nothing or is unavailable.

Regression

Right-click paste worked correctly in Codex v0.156.1 on the same Fedora system.

Workaround

Ctrl+Shift+V works correctly with the same clipboard content.

The issue appears to affect the integrated terminal context menu and is not related to the clipboard content itself.

What steps can reproduce the bug?

Uploaded thread: 01a0ce6c-2623-7b71-af61-f093c2f3a8a8

What is the expected behavior?

No response

Additional information

No response

Activity

  1. added
    bug
    on Sep 25, 2026
  2. added
    CLI
    TUI
    on Sep 25, 2026
  3. github-actions commented on Sep 25, 2026

    @github-actions
    Contributor

    Potential duplicates detected. Please review them and close your issue if it is a duplicate.

    Powered by Codex Action

  4. robimarko commented on Sep 25, 2026

    @robimarko

    Hitting this one as well, and its quite annoying

  5. boncoinmail63-star commented on Sep 25, 2026

    @boncoinmail63-star

    I can confirm a very similar regression after upgrading from Codex CLI 0.156.1 to 0.157.0.

    Environment:

    • Firefox 115 ESR
    • Windows 7
    • Codex running in a browser-based terminal / Codespace

    With 0.157.0:

    • mouse text selection becomes unreliable;
    • Shift+click no longer extends the selection as expected;
    • copying selected text no longer behaves normally;
    • --no-daemon does not help.

    Downgrading back to 0.156.1 immediately restores normal selection/copy behavior.

    So this looks like a 0.157.0 regression rather than a browser/terminal configuration issue. Given the timing, tui.fullscreen_transcript = true becoming the default in 0.157.0 may be related.

  6. cs224 commented on Sep 25, 2026

    @cs224

    Also affected on Linux after upgrading to 0.157.0: neither middle-click paste nor copy/paste through the right-click menu works as before.

    And this not only affects copying into the terminal window, but also copying out of the terminal window!

    My workflow heavily depends on copying back-and-forth between the terminal and other files!

    This is severe enough for my workflow that I downgraded to 0.156.1, which restored the previous behavior.

  7. boussouira commented on Sep 25, 2026

    @boussouira

    A work arround for middle-click paste is to press Shift then middle click

    Restore previous behavoir by adding:

    [tui]
    fullscreen_transcript = false

    to ~/.codex/config.toml file

  8. choikwa commented on Sep 26, 2026

    @choikwa

    A work arround for middle-click paste is to press Shift then middle click

    Restore previous behavoir by adding:

    [tui]
    fullscreen_transcript = false

    to ~/.codex/config.toml file

    thanks. also a workaround for copying from codex-cli

  9. cs224 commented on Sep 28, 2026

    @cs224

    A work arround for middle-click paste is to press Shift then middle click

    Restore previous behavoir by adding:

    [tui]
    fullscreen_transcript = false
    to ~/.codex/config.toml file

    I can confirm this works. Thanks!
    But the name, at least to me, would not indicate that this is the right switch for this issue.

    The most useful official description I found is in Codex’s generated configuration schema.
    It defines tui.fullscreen_transcript as:

    “Own the fullscreen transcript, including scrolling, selection, and search.”

    That “own” is the important part.
    With fullscreen transcript enabled, Codex takes control of mouse interaction for the transcript.
    On terminals such as Konsole, that may mean that an ordinary right-click or middle-click can be sent to Codex instead of being handled by the terminal emulator.

    It seems that there are now additional clipboard-related settings right next to fullscreen_transcript available:

    [tui]
    copy_on_select = "auto"
    right_click_paste = "auto"

    The source describes right_click_paste specifically as a “Right-click text paste fallback”, with auto applying on Windows/WSL/Linux.

    For the moment I am happy with fullscreen_transcript = false

  10. FR-ADDIX commented on Sep 28, 2026

    @FR-ADDIX
    Author

    I can confirm that right-click paste works again for me after updating from Codex CLI 0.157.1 to 0.158.0 on Fedora. I tested it in the same integrated terminal where the issue occurred. I haven’t tested middle-click paste or other mouse selection behavior.

  11. boussouira commented on Sep 28, 2026

    @boussouira

    Right click menu + middle-click paste + mouse selection behavior still weird with default settings on 0.158.0 (still keeping fullscreen_transcript = false in toml file)

  12. TheGh0stShip commented on Sep 30, 2026

    @TheGh0stShip

    Confirmed on Codex CLI 0.159.2 using MobaXterm on Windows over a plain SSH session to Linux.

    Environment/details:

    • TERM=xterm
    • No tmux or screen
    • X11 forwarding is disabled
    • The MobaXterm session uses its normal terminal right-click paste setting; SFTP versus SCP is unrelated

    After the fullscreen TUI overhaul, unmodified right-click no longer pasted or opened the terminal context action inside Codex; holding Shift or Ctrl while right-clicking was required. The mouse wheel also stopped scrolling MobaXterm terminal scrollback and instead scrolled Codex internal chat history. Both behaviors remained normal at a Bash prompt outside Codex.

    Adding the following and restarting Codex restored the previous MobaXterm copy/paste and native scroll-wheel behavior:

    [tui]
    fullscreen_transcript = false

    This confirms the workaround on Codex CLI 0.159.2 and adds a Windows/MobaXterm-to-Linux SSH reproduction.

  13. enriquemorenotent commented on Oct 1, 2026

    @enriquemorenotent
    Contributor

    Incredibly annoying!

  14. bc-openai commented on Oct 1, 2026

    @bc-openai
    Contributor

    This should be fixed as of 0.158.0. @TheGh0stShip can you double check you're on >= 0.158.0 and still experiencing the same paste issue as described in OP?

    If so, please open a separate issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    CLITUIbug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions