8000 BUG: When creating a new terminal window, the WMUX browser changes page to the WMUX GitHub page. · Issue #40 · amirlehmam/wmux · GitHub
[go: up one dir, main page]

Skip to content

BUG: When creating a new terminal window, the WMUX browser changes page to the WMUX GitHub page. #40

Closed

Description

@AxelM-MSK

My cloud session opened a WMUX window that was controlling a page in the browser. I added a new tab to one of the console windows, dragged it, and added it as another tab in the same workspace; the browser immediately changed to the WMUX GitHub page.

Activity

  1. added a commit that references this issue on Jun 20, 2026
  2. amirlehmam commented on Jun 20, 2026

    @amirlehmam
    Owner

    Fixed in v0.9.0 🚀 Thanks @AxelM-MSK! Root cause: dragging/adding a tab restructures the split tree, which remounts the pane (same React reconciliation issue as #49). The browser pane lost its in-memory URL on remount and re-initialised to its hardcoded default — the wmux GitHub page.

    Fix: the browser pane now persists its live URL into the surface state (onUrlChange → updateSurface), so a remount restores the page you were actually on instead of jumping to the default. Browser tabs also remember their URL across session save/restore now.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0