Skip to content

Switching to previous workspace returns focus to 1st pane. #449

Closed

Description

@richardaubin

IMO this is ux breaking and also visually jarring when using the dimmed unfocused panes feature.

Not only is the focus on the pane gone, but also any panes that rely on the focused also follow the new focus.
The majority of the returned-to workspace goes through a visual shift, and the user has to recall which pane they were currently working in, and select it to continue.

  1. Select a pane other than the first one in a workspace to focus it.
  2. Change workspace
  3. Return to previous workspace
  4. See wmux changing focus to first pane.

Activity

  1. amirlehmam commented on Nov 13, 2026

    @amirlehmam
    Owner

    Thanks for the clear repro, you were right that this broke the flow, especially with dimmed unfocused panes.

    Fixed in v2.61.0. Focus is tracked once per window, so on every switch the workspace you came back to had no focused pane of its own and fell back to its first one. Each workspace now remembers the pane it last had focused and goes back to it. It only falls back to the first pane when that pane has been closed in the meantime.

    Update from the in-app updater or grab the installer from the release page. Let me know if anything still jumps around.

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