fix: switching layouts is glitchy #64

Closed
opened 2026-04-26 16:15:08 +00:00 by barrettruth · 0 comments
barrettruth commented 2026-04-26 16:15:08 +00:00

Switching a live multi-pane window from one mosaic layout to another is currently glitchy in interactive use.

Problem

Changing @mosaic-algorithm on an existing window can leave transient wrong geometry, awkward intermediate states, or behavior that feels unreliable compared with staying inside one layout.

Scope

  • Reproduce the glitches when switching between existing layouts on a live window
  • Identify whether the problem is stale pane order, hook timing, intermediate tmux layout state, or missing normalization during layout changes
  • Make layout switching deterministic and stable

Acceptance criteria

  • Switching from one mosaic layout to another on a live window is stable
  • No visibly broken intermediate state remains after the switch
  • Pane order / master semantics remain consistent after the switch
  • Tests cover at least one cross-layout switch path
Switching a live multi-pane window from one mosaic layout to another is currently glitchy in interactive use. ## Problem Changing `@mosaic-algorithm` on an existing window can leave transient wrong geometry, awkward intermediate states, or behavior that feels unreliable compared with staying inside one layout. ## Scope - Reproduce the glitches when switching between existing layouts on a live window - Identify whether the problem is stale pane order, hook timing, intermediate tmux layout state, or missing normalization during layout changes - Make layout switching deterministic and stable ## Acceptance criteria - [ ] Switching from one mosaic layout to another on a live window is stable - [ ] No visibly broken intermediate state remains after the switch - [ ] Pane order / master semantics remain consistent after the switch - [ ] Tests cover at least one cross-layout switch path
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
barrettruth/tmux-mosaic#64
No description provided.