Skip to content

Codex desktop: pending question interface disappears after switching tabs and does not return #43057

Open

Description

@jtalborough

What version of the Codex App are you using?

Version 26.901.31953

What subscription do you have?

Pro

What platform is your computer?

macOS 26.6.2, Codex desktop app.

What issue are you seeing?

A pending structured user-input question disappears when the user switches tabs and does not reappear on return. The user cannot continue answering the original question through its interface.

What steps can reproduce the bug?

User-reported sequence (not independently reproduced):

  1. In a Codex desktop conversation, have the assistant ask a question using request_user_input_async.
  2. While the question is pending, switch tabs.
  3. Return to the conversation.
  4. The question interface is gone and does not reappear.

The exact tab type and whether assistant completion affects this behavior have not yet been isolated. Reissuing the question restored an opportunity to answer in this conversation.

What is the expected behavior?

Unanswered questions should remain recoverable in their originating conversation after tab switching, with their pending state and any entered answers preserved until submitted or explicitly dismissed.

Additional information

This report is submitted at the affected user's request. No private conversation, logs, or project content are included. Related issue #32458 concerns timed auto-dismissal in the VS Code extension; this report concerns tab switching in the macOS desktop app, without a confirmed timer.

Activity

  1. added
    bug
    app
    tool-calls
    on Sep 5, 2026
  2. github-actions commented on Sep 5, 2026

    @github-actions
    Contributor

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

    Powered by Codex Action

  3. seeyu commented on Sep 7, 2026

    @seeyu

    Adding a possibly related occurrence reported by the affected user on 2026-09-07.

    Environment (verified locally):

    • Codex desktop app 26.901.51231, build 8109
    • Bundled codex-cli 0.153.4
    • macOS 26.6.2, arm64
    • Default collaboration mode

    Observed sequence in one assistant turn:

    1. The user explicitly requested clarifying questions.
    2. The assistant called functions.request_user_input_async with three Russian-language questions, each with two or three suggested answers. The tool returned {"accepted":true}.
    3. The assistant continued read-only investigation, then called the same tool with one additional question and two suggested answers. This also returned {"accepted":true}.
    4. The assistant finished its turn referring to the submitted questions.
    5. The user replied that they could not see the questions and explicitly requested that this be reported to the developers. No answers to either request arrived in the conversation.

    The missing UI is user-reported; the successful tool responses are directly observed. We have not established whether the questions never rendered or disappeared before the user looked, whether tab switching occurred, or whether turn completion or the second request affected visibility. This may share the cause described in this issue, but that is not confirmed.

    Expected behavior: accepted unanswered questions should remain visible and recoverable in their originating task, including after the assistant completes its turn. If the UI cannot present a request, the tool should surface that failure rather than letting the assistant assume the user can answer it.

    Impact: the clarification workflow stalls because the assistant believes questions are available while the user cannot see or answer them. Plain-text questions are the immediate workaround.

  4. sassan-ali-tat commented on Sep 10, 2026

    @sassan-ali-tat

    Same failure without tab or chat switching: $grill-me structured-decision protocol

    I can confirm the reported disappearance independently of the tab-switch sequence. In this occurrence, there was no tab switch and no chat switch.

    Trigger:

    1. The user invoked a $grill-me skill.
    2. The skill and AGENTS.md require one decision at a time in durable transcript Markdown, using a fully stated question and lettered options (A – **Title**, B – **Title**, etc.).
    3. The harness instead invoked its native structured-selection UI.
    4. That UI briefly flashed and disappeared. The required transcript question was not rendered as a usable fallback.

    Therefore the failure is not limited to focus/navigation restoration. A prompt- and skill-driven structured-decision workflow can itself trigger an accepted-but-unusable native elicitation. The assistant then waits for an answer to a question the user cannot see or answer, while the user's explicit, durable decision protocol has been suppressed.

    This is direct user-facing evidence for the same impact: pending questions must be recoverable, and unsuccessful UI presentation must cause an explicit tool failure or a transcript fallback.

    Verified reporting environment

    • ChatGPT Desktop / Codex harness: 26.903.71938, build 8576
    • Bundled Codex CLI: 0.153.4
    • Operating system: macOS 15.7.9 (build 24G830)
    • Hardware: Mac Studio with Apple M2 Ultra
    • Architecture: Apple Silicon (arm64)

    These values were read directly from the affected Mac on 2026-09-10.

  5. akinokoiri commented on Sep 12, 2026

    @akinokoiri

    补充一个不同于“切换标签页”的 Windows 复现路径(由受影响用户明确要求反馈):

    • Codex Desktop:26.908.4834.0
    • Windows,当前任务中由 request_user_input_async 展示多选问题。
    • 弹窗在模型仍处于生成/思考过程中时可见,用户也能在此时作答。
    • 模型输出完成后,选项弹窗消失。
    • 再展开该轮的过程/思考记录,也看不到原先的选项,因此用户无法回看问题的完整可选答案,也无法通过原界面补答。
    • 本次没有报告通过切换标签页触发;观察到的消失条件是该轮输出完成。

    实际影响:

    1. 用户若等到模型输出结束才准备回答,会失去选项上下文,只能告诉模型“看不到选项”。
    2. 这会诱使用户在模型仍运行时提交答案。用户担心这类中途输入会被当作 steering message,而不是结构化问题的答案,从而改变或打断当前推理流程。
    3. 对连续访谈(例如一轮多个偏好问题)尤其明显,因为最终回复无法作为完整、持久的问卷记录。

    期望行为:

    • 未回答的问题及其全部选项应在该轮结束后继续保留/可恢复,直到回答或明确关闭。
    • 已回答的问题也应在转录中保留题目、选项和用户选择,便于回看。
    • 结构化回答应明确绑定到相应问题,不应在 UI 或协议层表现为普通的中途 steering 输入。

    这看起来可能与本 issue 的“pending question state 没有持久化/恢复”属于同一类问题,但触发条件不同:这里是 turn completion,而不是 tab switching。

  6. mudsg24 commented on Sep 23, 2026

    @mudsg24

    Still seeing the same behavior on macOS 27.0 (26A428) with the latest ChatGPT app installed on my machine: version 26.915.31945 (build 9922), using Codex inside ChatGPT.

    The structured question appeared, but after switching tabs/tasks and returning, the unanswered question interface was gone, so I could no longer select or submit an answer.

    The local transcript confirms that request_user_input_async emitted a structured async question and returned {"accepted":true}. The assistant completed its turn about 12.7 seconds later without receiving an answer. We have not isolated whether turn completion also contributes to the disappearance; the observed sequence includes switching tabs/tasks.

    This occurred on September 23, 2026. The pending question still does not reliably survive switching away and returning in this environment.

  7. sivakorn-su commented on Sep 23, 2026

    @sivakorn-su

    Confirmed recurrence on a newer desktop build.

    Environment:

    • Codex Desktop 26.915.31945 (build 9922)
    • macOS 26.6.2 (25G83), Apple Silicon / arm64
    • Observed: 2026-09-23

    Reproduction / observed behavior:

    1. In a long-running Codex task, the assistant invoked a structured user-input question.
    2. The UI showed “asking a question” / “waiting for your response”, but no question card or choices were rendered.
    3. Switching to another task and returning did not restore the question interface.
    4. A plain-text follow-up sent to the affected task was accepted by the app, but the task remained stuck waiting for user input.

    Additional diagnostic evidence from the app's thread state:

    • The thread remained active with the waitingOnUserInput flag.
    • The latest turn remained inProgress.
    • The latest turn contained no structured question payload to render; its tail ended with normal commentary/tool markers.
    • Queued follow-up messages did not clear the orphaned waiting state.

    Expected behavior:

    • A pending question should remain visible after task/tab switching, or fall back to an answerable plain-text question.
    • If the structured payload is missing, the task should expose a recovery/cancel path instead of remaining indefinitely in waitingOnUserInput.

    Workaround used: fork to a new task and resend the original prompt. No private conversation content, local paths, logs, or screenshots are included in this comment.

  8. SrProfessional commented on Nov 26, 2026

    @SrProfessional

    I observed a related case in a Windows Codex app smoke test with request_user_input_async. The selector remained visible while the assistant waited in the same turn, then failed to return after closing and reopening the same chat.

    1. In a test conversation, have the assistant ask a structured question with two choices. Keep the turn active while waiting and retain the choices in the transcript.
    2. Leave the selector unanswered and close the conversation. Reopen the same chat.
    3. The choices are visible as text, but there is no interactive selector. Asking the assistant to resume the pending question makes a new selector appear with the same choices.

    Expected: Reopening the same chat automatically shows one interactive selector for the unanswered question, with the original choices. The person should be able to answer without remembering or typing a recovery prompt. A question that was already answered or explicitly dismissed should not be restored.

    The Windows machine has the Codex app package version 26.1120.5083.0. This test used a sandbox. No transcript, project content, or screenshot is included.

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

    appbugtool-calls

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions