Skip to content

[Bug]: preview_open reports visible:false while the docked Browser panel shows the tab (desktop 0.1.10, Windows) #38052

Closed

Description

@lelmarir

Before submitting

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

Area

apps/server

Steps to reproduce

Desktop app 0.1.10 on Windows 11, Claude Code thread. Settings → Browser → Auto-show floating preview is off. The Browser panel is closed before each run. The page is a small local server on 127.0.0.1.

  1. preview_open({target: {kind: "environment-port", port: N}, reuseExistingTab: false}), with no open. A new tab is created and nothing is shown, as expected with Auto-show off. Response: visible: false.
  2. preview_open({tabId: <tab from step 1>, open: true}). The docked Browser panel opens and shows the tab. Response: visible: false, and tabs[].visible: false.
  3. Separate run, panel closed again: preview_open({target: {kind: "environment-port", port: N}, reuseExistingTab: false, open: true}). The tab shows in the floating preview, not in the docked panel. Response: visible: true.

Reproduced on 0.1.10 on 2026-11-17. The same visible: false with the docked panel open had already been seen twice on this machine.

Expected behavior

visible: true whenever the user can see the tab, including in the docked Browser panel (step 2). This is what #26055 set out to do for #17015.

Actual behavior

Step 2 returns visible: false while the docked panel is on screen and shows the tab. visible is true only when the tab is in the floating preview (step 3). So an agent cannot use visible to tell whether the user sees the page.

Related: #17015 (closed by #26055, which is included in v0.1.10), #31311 (the same Windows + Claude Code case, closed as a duplicate of #17015), #23565.

Two side observations, in case they are connected:

Impact

Minor bug or occasional failure

Version or commit

v0.1.10 (T3CodeBeta/0.1.10, server 0.1.10)

Environment

Windows 11 Pro 10.0.26100 x64, desktop app with its local server. User agent: T3CodeBeta/0.1.10 Chrome/152.0.7977.169 Electron/44.10.1. Provider: Claude Code (Claude Agent SDK), model claude-opus-5-5.

Logs or stack traces

Step 2 response (trimmed):

{"available":true,"visible":false,"tabId":"tab_2_…","url":"http://localhost:64474/","loading":false,"control":{"owner":"agent","ownedByCaller":true,"generation":0},"viewportSetting":{"_tag":"fill"},"tabs":[{"tabId":"tab_2_…","owner":"agent","ownedByCaller":true,"visible":false,"profileId":"default"}]}

Step 3 response (trimmed):

{"available":true,"visible":true,"tabId":"tab_3_…","url":"http://localhost:57465/","loading":false,"control":{"owner":"agent","ownedByCaller":true,"generation":0},"viewportSetting":{"_tag":"fill"},"tabs":[{"tabId":"tab_3_…","owner":"agent","ownedByCaller":true,"visible":true,"profileId":"default"}]}

Screenshots, recordings, or supporting files

No response

Workaround

Ignore visible. To get the docked panel, always make two calls: create the tab with reuseExistingTab: false, then preview_open({tabId, open: true}).

Activity

  1. added
    bugSomething is broken or behaving incorrectly.
    needs-triageIssue needs maintainer review and initial categorization.
    on Nov 17, 2026
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

    bugSomething is broken or behaving incorrectly.needs-triageIssue needs maintainer review and initial categorization.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions