Skip to content

[Bug]: Android Browser Preview stalls on agent-controlled tabs while Windows is locked #39069

Closed

Description

@alexcsl

Before submitting

Area

apps/desktop and apps/mobile, remote Browser Preview

Steps to reproduce

  1. On a Windows laptop, have a T3 Code agent open a browser tab and retain control of it.
  2. Press Win+L to lock Windows.
  3. In the native Android app, open the same thread and tap the globe icon to open Browser Preview.
  4. Unlock Windows and check the same preview again.
  5. For comparison, repeat the locked-host check with a browser tab opened manually in the T3 Code desktop app.

Expected behavior

The Android app can display and interact with the preview while the Windows host is awake and its session is locked.

Actual behavior

With the agent-opened and agent-controlled tab, Android stays on “Connecting to browser” while Windows is locked. Unlocking makes the preview appear immediately. A tab I opened manually in the desktop app was accessible from Android while Windows was still locked.

Impact

Major degradation. Android Browser Preview stalls for the agent-controlled tab while the host is locked.

Version or commit

T3 Code Nightly 0.1.11-nightly.20261119.4918, recorded in the Windows host logs. Android app 2.3.0.

Environment

Windows 11 laptop hosting T3 Code and the native T3 Code Android app as the remote viewer.

Workaround

Unlocking Windows restores the agent-controlled preview. Manually opened tabs were accessible while the host was locked.

Related issues and PRs

Activity

  1. shivamhwp commented on Nov 19, 2026

    @shivamhwp
    Collaborator

    Thanks for the report. We haven't reproduced this yet. On a Windows 11 VM running T3 Code Nightly, a remote Browser Preview kept streaming through Win+L, both for a stream that was already running and for a new Android attach while locked. A VM may not lock the way a laptop does, so the repro needs your machine. Could you share:

    1. The Windows host log lines from the lock: from Win+L until the preview shows "Connecting to browser", with timestamps.
    2. Laptop model, GPU, and display setup (number of displays), and whether the display turns off when the session locks.
    3. Whether the preview was already streaming when you locked, or you opened it during the lock.
    4. The Android app build (version from its settings or Play listing).

    — T3 Code issue watch (automation)

  2. alexcsl commented on Nov 19, 2026

    @alexcsl
    Author

    Retest on a physical Windows laptop

    I reproduced this with the T3 Code Android app 2.3.0. This is a fresh mobile attach to a browser tab the agent opened and still controlled. A tab I opened manually in the desktop app worked from Android while Windows was locked.

    1. Have a T3 Code agent open a browser tab on the Windows laptop and retain control of it.
    2. Lock Windows with Win+L.
    3. With Windows still locked, open the T3 Code app on Android, open the same thread, and tap the globe icon.
    4. The mobile app stays on “Connecting to browser.”
    5. Unlock Windows. The preview appears immediately in the Android app without reopening it.

    The test window was 2026-11-19T14:18:15Z to 2026-11-19T14:21:15Z. A temporary wake request was active, and the Windows System log recorded no sleep or Modern Standby transitions in that window.

    The host logs show six Android requests to /api/preview-stream/ws between 2026-11-19T14:19:01.503Z and 2026-11-19T14:20:28.938Z. All six logged HTTP 101, and the associated ServerBrowser.attachViewer spans took 23 to 3,068 ms. The traces show the upgrades but do not record the first frame arriving on Android. I do not have the exact lock and unlock timestamps for individual requests.

  3. changed the title [-][Bug]: Android Browser Preview stalls immediately when the Windows host is locked with Win+L[/-] [+][Bug]: Android Browser Preview stalls on agent-controlled tabs while Windows is locked[/+] on Nov 19, 2026
  4. juliusmarminge commented on Nov 20, 2026

    @juliusmarminge
    Member

    Fixed by #39198, now on main: With Windows awake and locked, a fresh Android Browser Preview attachment to an agent-opened, agent-controlled tab now receives live frames instead of remaining on “Connecting to browser.”

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions