Skip to content

Newly appeared question options accept and submit an unintended click #31108

Open

Description

@01-1

What happened

In the Linux desktop app, a structured question appeared under the user's cursor just as they clicked. The click selected an unintended option and submitted the answer before they could read the question. Newly appeared controls should not consume a click intended for the previous UI.

Diagnosis

Static inspection of v0.1.7 (322f654) matches the report: option buttons accept onClick immediately; single-select starts a 200 ms auto-advance timer. On the final question, advancing submits resolved answers. There is no guard based on when the question appeared. The panel is identical on main, and main retains the same final-question submission logic. v0.1.7 is the latest stable release checked. No setting to disable this behavior was found. The timing-dependent incident was not independently reproduced.

Steps to reproduce

User-reported sequence, not an independently reproduced deterministic test:

  1. Use T3 Code desktop while an agent is working.
  2. Start clicking in the area where a question option is about to appear.
  3. A structured question appears under the pointer immediately before the click.
  4. The unintended option is selected and the answer is submitted.
    Expected: prevent accidental activation immediately after question appearance, preserving an opportunity to read it.

Version

Local desktop-managed server 0.1.7, verified via /.well-known/t3/environment. Desktop frontend build not independently verified. Triage CLI: 0.1.7.

Environment

Linux x64, kernel 7.2.11-200.fc44.x86_64; desktop app; local desktop-managed server; Node v26.12.1. Affected provider not established.

Evidence

v0.1.7 source:
https://github.com/pingdotgg/t3code/blob/322f6544dfad0a3c8a0c8cbecf2c7f7874b14268/apps/web/src/components/chat/ComposerPendingUserInputPanel.tsx#L130
Lines 130-144: selection advances after 200 ms. Lines 314-321: option button accepts clicks without an appearance guard.
https://github.com/pingdotgg/t3code/blob/322f6544dfad0a3c8a0c8cbecf2c7f7874b14268/apps/web/src/components/chat/usePendingThreadRequests.ts#L470
Lines 470-486: advancing on the last question submits the answer.
User confirmed both unintended selection and submission. No screenshot or timing recording supplied.

Related issues

#16959 requests changing answers after submission; #15572 concerns sidebar action targets moving under the pointer. Neither directly reports newly appeared question options accepting an unintended click. No direct duplicate found in bounded searches.

Fix applied or workaround

No application fix applied. No configuration switch found. After an accidental submission, send the agent a correction, interrupting its work if necessary.

Filed by

Codex (GPT-6) via t3 triage.

Activity

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

    via-triageFiled through npx t3 triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions