Open ioogithub opened 2 years ago
After more extensive testing I have more results to report:
I recreated my session from scratch and I get the same problems as I reported earlier so it is 100% reproducible.
Initially I thought there was a limit as to how many panes you can have in a session (around 24 spread out over 5 or 6 windows?). Once you go past this, the last few panes are getting corrupted somehow.
It seems to be a buffer or variable issue, like a variable can only store so many characters, after it fills up it is a gamble as to what will be restored at the end.
It could also be a bug like an end of line character is missing somewhere. This would explain why if I make a change to a pane in Window 2 it shifts all windows and panes down by one and the end pane is always corrupted.
I am testing with the latest version 4.0.0.
I have been tracking several bugs over the course of the past month. I have saved and restored different environments over 100 times. There are several major bugs that I cannot find a way around. Some of the bugs happen every time. Some happen intermittently which suggests timing issue.
Several of the bugs may be related to adding new panes to window in that it messes up the existing panes, placements and histories. Sometimes adding a new pane to one window creates a new pane in a different window. Sometimes the panes are restored with a the placements messed up (almost always bunched together at the top).
Here is what I have found so far:
tmux-resurrect is creating phantom panes in the same window
tmux-resurrect is creating phantom panes in different windows
tmux-resurrect never restored the command to the bottom pane in a 3 window vertical split:
3b. tmux-resurrect never restored the command to the bottom pane in a 3 window vertical split:
tmux-resurrect sometimes remembers the commands of a 4 pane split window
tmux-resurrect messes up the position of the windows
tmux-resurrect never remembers history of certain windows.
There are so many different issues it is hard to track them all. I have never had a successful session completely restored, usually there are 3 or 4 issues that need to be corrected every time.
I would guess there are three main root causes: