tmux-python / tmux-python/tmuxp

Sessions with zoomed panes now start to lose its zoom state when refocused

Open
#316 12 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

cannot-reproduce pinned
Dominant language
Python
Stars
4.6k
Forks
248
Avg merge
2h 13m
Merged PRs (30d)
1

Description

First time I see this behavior, must be due to the recent changes.

With at least two sessions open, chose one and have multiple panes open on it. Zoom one of the panes (prefix + z) and then switch to another session. Now switch back to the session with the zoomed pane. On switching back the zoom state is lost.

  • tmuxp load -d ./foo.yaml
  • tmux 2.6
  • tmuxp 1.3.5
  • libtmux 0.7.7

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce with tmuxp load -d ./foo.yaml using two sessions, multiple panes, and the tmux prefix + z zoom command. Switch away and back to the zoomed session, then trace the session-switch handling and compare pane state before and after refocusing. Done means the zoomed pane remains zoomed after returning to the session.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.