-
Notifications
You must be signed in to change notification settings - Fork 232
Sessions with zoomed panes now start to lose its zoom state when refocused #316
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I'm getting a tmux message when switching back: "no previous window". |
The session must be created by tmuxp, I'm using this one: session_name: foo
windows:
- layout: main-vertical
options:
main-pane-width: 160
panes:
- blank
- blank
- blank I start it from inside a tmux session ( |
The message "no previous window" always shows up when switching to tmuxp created sessions. Not only it shows up, I've noticed there's now quite a delay for the layout to load up when running |
I can't recreate it. My zoom is preserved.
I tried the yaml (on this machine, it's tmux 2.5 and the left pane is massive), and couldn't recreate the zoom glitch. I believe it's happening to you, I just haven't been able to recreate it yet. |
I should try it on tmux 2.6. |
Missing zoom is secondary. it's lost because tmux is always emitting the error message "no previous window" at the bottom, which should reset the layout. There's also the issue regarding slower layout loading. For now I'm just pinned to tmuxp 1.3.2. |
This issue has been automatically marked as stale because it has not had This bot is used to handle issues where the issue hasn't been discussed or |
Reopening Is this the issue preventing you from using tmuxp at the latest version? |
Just to make sure, you can still load the windows/panes via tmuxp. But the session zoom breaks the zoom state after tmuxp loads it, and it started happening after the hook added when fixing #312?
Got it. So if #364 is fixed, this should be fixed? |
Most probably yes. |
#364 is just a reopened duplicate of this one due to the stale bot. |
I thought #364 description was pretty clear on that... |
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
The text was updated successfully, but these errors were encountered: