Skip to content

[Bug]: WSL-only: Annotate and Screenshot buttons are gone for every browser tab since #35424 streams them #38509

Open

Description

@ardeae-praktijk

Area

apps/web + apps/desktop: browser panel on Windows with the WSL-only backend.

Summary

On 0.1.10 with wslOnly: true, the Annotate button and the Screenshot button are missing for every browser tab, including tabs I open myself. #35424 fixed typed URLs in WSL-only mode (thanks!) by streaming the server tab, but a streamed tab gets no annotation. So a WSL-only user can now navigate, but can no longer annotate a page for the agent.

Steps to reproduce

  1. Windows 11, T3 Code 0.1.10 (desktop + server), desktop-settings.json: "wslBackendEnabled": true, "wslOnly": true.
  2. Browser panel → + → type dekies.be → Enter.
  3. The page loads with the "You have control / Release control" bar (streamed server tab).

Expected: the toolbar shows Annotate preview and Screenshot, as it did before (they were there on 0.1.9 when the tab rendered natively).
Actual: only Picture-in-Picture and the overflow menu are shown.

Why (from the shipped bundle)

In PreviewPanel, the toolbar gets onPickElement and onCapture only when the tab is not a streamed server tab:

W = H?.runtime === "server" && !U   // streamed server tab
onCapture     = Z && B && !W ? ... : undefined
onPickElement = Z && B && !W ? ... : undefined

In WSL-only mode every tab is now W, so both buttons go away.

Related

Activity

  1. lukaspodmelle commented on Nov 22, 2026

    @lukaspodmelle

    Same here on 0.1.11 (desktop + WSL server, Fedora 42). Went straight from 0.1.9 to 0.1.11 last night and with wslOnly every tab opened as the streamed one with "Release control", no Annotate / Screenshot, even tabs I opened myself.

    Workaround that works for me: Settings -> Sharing & access -> turn off "WSL only" (keep WSL backend on). After the restart, tabs I open myself via + load natively again, localhost still reaches the WSL server and Annotate is back. Agent-opened tabs still stream.

    Downgrade wasn't an option btw, 0.1.9 only knows migrations up to 081 and 0.1.11 is at 102.

  2. RuanGoms commented on Nov 22, 2026

    @RuanGoms

    Another symptom of the same WSL-only root cause: the built-in browser pane goes blurry while scrolling and turns sharp about 200 ms after I stop.

    Environment: Windows 11 (10.0.26200, x64), desktop app on the nightly channel (0.1.12-nightly.20261122.5098; also seen on 0.1.11), wslOnly: true + wslBackendEnabled: true, server in WSL Ubuntu.

    Why (v0.1.11 source):

    • In WSL-only mode every tab is forced headless, so it is streamed instead of rendered natively. The WSL bootstrap has no desktopBrowserFd/desktopBrowserControlFd, so the server's desktop channel is unavailable and markHeadless runs on open.
    • Streamed tabs use JPEG at quality 70 by default. The client never sends quality, so the server default applies.
    • While scrolling, the server's "motion mode" restarts the screencast at half size and drops to quality 50. My trace shows attachViewer with maxWidth=517|724, maxHeight=1241 and no quality, so frames during a scroll are roughly 259-362 x 620 at q50. About 200 ms after scrolling stops, a full-size frame arrives.

    So the open PRs that restore native tabs in WSL-only mode (#35896, #36530, #38539) should fix this too. Separately, having the client send quality, or a gentler motion mode, would help streamed tabs in general.

    Refs (v0.1.11):

    • apps/web/src/browser/previewRuntime.ts:33-44,72-84
    • apps/server/src/preview/ServerBrowser.ts:1049-1050,1109-1123 (markHeadless), :107-113 (motion constants), :3226-3240,3328-3341 (screencast restart on motion)
    • apps/server/src/preview/DesktopBrowserChannel.ts:77-79
    • apps/desktop/src/backend/DesktopBackendConfiguration.ts:548-549 (fds for the Windows backend) vs :606-618 (WSL bootstrap, none)
    • apps/desktop/src/backend/DesktopBackendManager.ts:489-490
    • apps/server/src/preview/ServerBrowserStream.ts:33,91-93
    • packages/client-runtime/src/preview/serverBrowserStream.ts:220-225

    Diagnosed via t3 triage with Claude Code (Claude Opus 5.5).

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