Skip to content
Source
Sign inSign up
pingdotgg/t3code

[Bug]: Clicks and keystrokes from a T3 Connect client never reach a server preview tab after Take control #26796

ClosedAdevious1(GitHub profile, opens in a new tab) opened this issue 2 comments

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/web (server browser surface over a T3 Connect client)

Steps to reproduce

  1. Host: T3 Code desktop (Nightly) on a Mac. An agent thread opens a server preview tab with preview_open (here a local dev app at http://localhost:3213), so the agent owns the tab.
  2. From a second Mac (MacBook Pro running the T3 Code desktop app), connect to the host environment through T3 Connect and open the same thread. The preview panel streams the tab.
  3. In the preview panel toolbar, click Take control.
  4. Click a button inside the page, or click a focused text field and type.

Expected behavior

After Take control, clicks and keystrokes in the page area reach the page, the same as on the host.

Actual behavior

  • Take control and Release control register. The tab's control generation went from 0 to 16 while the user toggled it, and preview_status reports owner: "human".
  • No click or keystroke reaches the page. The page's "Sign in with Google" button never fired: the dev backend logged no request for its URL. Typing into a Google sign-in field that already had focus did nothing either.
  • An agent preview_act click on the same element in the same tab worked straight away, and the page navigated.
  • The client session that connects through T3 Connect has every scope, including preview:operate, so this does not look like a permission problem.

Impact

A user on a remote T3 Connect client cannot interact with a server preview tab at all. In this case they could not sign in to an app in the agent's tab, which blocked a browser walkthrough, and they had to switch to the host machine. Agents increasingly hand tabs to the user for sign-ins, so this affects every remote session.

Version or commit

  • Host server: 0.1.4-nightly.20261029.3853 (darwin arm64, Mac mini)
  • Client: T3 Code desktop on a MacBook Pro, believed to be the latest Nightly

Environment

  • Host: macOS on Apple silicon, preview tab using the default profile, the target page on localhost on the host.
  • Client connection: T3 Connect, with sessions listed by t3 auth session list as subject: cloud-connect, client: T3 Connect connect | desktop | macOS | Electron, and the full scope set.

Logs or stack traces

  • preview_status while the user held control: "control":{"owner":"human","ownedByCaller":true,"generation":11}. No navigation followed any of the user's clicks.
  • The same tab responded to agent preview_act (click) and preview_navigate normally.

Workaround

Sign in from the host machine itself, for example in person or through macOS Screen Sharing. Alternatively, let the agent drive the page and only hand over control for steps that need the user.

  1. Additional symptom evidence on stable 0.1.5, observed 30 October 2026, with a Linux desktop host and Mac desktop viewer over direct Tailscale, rather than T3 Connect.

    Environment

    • Host: Ubuntu 26.04.1 LTS, x86_64, T3 Code Desktop and its desktop-managed server 0.1.5; Wayland desktop session.
    • Viewer: T3 Code Desktop 0.1.5 on macOS, paired directly to that host over Tailscale.
    • Browser: agent-opened Google tab, persistent Default profile, rendered by the host's desktop app.

    Observed behavior

    1. Open Google from a thread displayed in the Linux desktop, then open that same thread from the Mac.
    2. The Mac shows the streamed page. Its stream continues after Linux T3 switches to another thread while RDP remains connected.
    3. On the Mac, take control of the browser.
    4. The user reports that page clicks and scrolling do nothing, despite having taken control.
    5. Entering another URL in the Mac pane's address bar does navigate the host browser to a different page.

    This adds the distinction that navigation from the viewer toolbar works while interaction with the page does not. The same Linux thread's earlier preview_snapshot completed successfully in about 124 ms.

    Source comparison The v0.1.5 source matches the missing-viewport path described in #26815:

    This is consistent with that diagnosis, but we did not capture the live Mac stream's viewport/control messages or page input events, and we have not tested #26815. It is additional environment and symptom evidence, not independent runtime confirmation of the missing-viewport cause.

    No configuration, service, database, or installed source changes were made. An earlier remote-created tab also stayed on Connecting and timed out on snapshots; that startup/capture symptom is being reported separately on #22461.

  2. Note

    🤖 Claude Opus 5.5 responding on behalf of Theo

    Closing: this is covered by #19456, which landed. Reopen if an important part is still missing.

Sign in to join this conversation.