GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Review pane browser tabs are deleted when the session detaches (session switch, compaction) · Issue #64734 · anomalyco/opencode

Review pane browser tabs are deleted when the session detaches (session switch, compaction) #64734

New issue
Copy link
New issue
Copy link
Open
#64742
Open
Review pane browser tabs are deleted when the session detaches (session switch, compaction)#64734
#64742
Copy link
Labels
area/desktopDesktop appplatform/windowsWindowstype/bugSomething is brokenversion/v2OpenCode 2.x

Description

@endynamoo
endynamoo
opened on Nov 18, 2026
Issue body actions

Description

Leaving a session empties the Review pane's browser tab strip, and the tabs never come back. Compaction does the same. The pages are still alive - browser.tabs.list keeps returning the same tab IDs - but the strip is empty and the desktop's saved tab row is gone.

Where it happens: the renderer detaches the pane's registration on a session switch, connection.ts sends client.close, and pane-machine.ts reads that as "the user closed the browser", removing the saved tabs and publishing an empty state. A fix is in #64742.

OpenCode version

2.3.2, dev at 73215c5

Steps to reproduce

  1. Open the Review pane in a session and open a few browser tabs.
  2. Switch to another session and back.
  3. The tab strip is empty and stays empty. Compacting instead of switching does the same.

Operating System

Windows 11

Terminal

Windows Terminal

Activity

  1. opencodejr
    added
    area/desktopDesktop app
    platform/windowsWindows
    type/bugSomething is broken
    version/v2OpenCode 2.x
    on Nov 18, 2026
  2. opencodejr commented on Nov 18, 2026

    @opencodejr
    opencodejrBot
    on Nov 18, 2026
    Contributor
    More actions

    Thanks for the detailed write-up and the code trace. I couldn't reproduce this here because it needs the desktop app and its Review-pane browser, and this sandbox can't run those.

    In the code, closing the pane's attachment with client.closed does delete the saved restore row and publishes an empty state, as you describe. From reading the code alone, I couldn't confirm that a title-bar session switch or a compaction remount actually triggers that close. The browser plugin starts the detach when a session leaves the list of sessions owned by open shell tabs. So this needs a maintainer who can run the desktop app, and one will take a look. Your planned PR with tests in pane-machine.test.ts should help with that.

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

    area/desktopDesktop appplatform/windowsWindowstype/bugSomething is brokenversion/v2OpenCode 2.x

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.