-
Notifications
You must be signed in to change notification settings - Fork 4
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
WezTerm freezes on restoring session. #83
Comments
from what I've figured out, it's struggling to resurrect inside the current window. If i remove the following from window = window, then it works fine, it just opens the workspace in a new window. |
Found the problematic part, I believe, this line causes the issue. If I comment it out then everything works fine:
|
Thank you very much for the detailed description and investigation! 😄 I would be interested to know if you changing resolution, like when switching monitors? And can you replicate it and then check the output of the debug menu? The default keybindings to open it is |
Hi @MLFlexer, I don't have a separate monitor so no, I didn't do anything like that. As for the debug menu, I can't access it due to terminal completely freezing. |
Thanks for trying it out. Unfortunetly this makes it a bit difficult to figure out the main cause of this. Do you know if it is related to the current GUI window being smaller or larger than the one you are trying to resurrect? And is this something you have experienced many times? or just with this particular resurrected state? |
Here’s a rewritten version of your reply for the GitHub issue: Hi @MLFlexer,
The windows are the exact same size as the one I am trying to resurrect since I use AwesomeWM it manages them automatically. Also the issue occurs for all saved workspaces.. However, your question about resizing prompted me to experiment, and I discovered that resizing the window actually unfreezes the terminal. Here’s a video demonstrating the behavior: wezterm-2025-01-04_02.12.18.mp4Let me know if there's any additional information or logs I can provide to help troubleshoot this further. |
Sorry for the late reply, have been very busy lately... Thanks for the additional information! Does it work if you change your config to use Also can you try and make a keybind which changes the window size using set_inner_size and see if there is a particular input it crashes on? Try the following keybind: {
key = "x",
mods = "ALT",
action = wezterm.action_callback(function(window, pane)
window:set_inner_size(<width>, <height>)
end),
}, |
Also, do you have window decorations and padding set? Because, then it might be related to #72 (comment) aswell |
#87 adds an option to avoid resizing, that might help initially, but I think it would be beneficial if you could also test the |
Hi, thanks for the plugin.
I tried to use this in my config:
The session saves fine, but when I try to restore a session by simply using smart_workspace_switcher and then opening my previous zoxide directory. Wezterm straight up freezes nothing works.
I don't know what logs you would expect from me, but here is the saved workspace state(Please feel free to ask for any other logs):
The text was updated successfully, but these errors were encountered: