-
Notifications
You must be signed in to change notification settings - Fork 32
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
Issue: Floating terminal causes tmux to hang on Ubuntu 22.04 #8
Comments
Same issue here, using linux mint Operating System: Linux Mint 21.2 Tested using all other plugins disabled, so I don't think it's a cross plugin compatibility issue - I'll try updating tmux later and see if that resolves it. This looks like a great plugin, so fingers crossed |
Same for me - have to restart entire terminal and when I restore my session i have an extra session I end up deleting. |
Same issue for me - I'm using Kubuntu 22.04. I really would like to give your plugin a try |
same for me if i press prefix - p terminal becomes unresponsive. I need to manually close the terminal. |
+1 |
Ubuntu 22.04 comes with tmux version 3.2a that doesn't support features used by this plugin (see tmux changelog). I upgraded my tmux 3.2a → 3.4 and everything works now. As for the bug, the reason why tmux freezes is because there are no safety catches defined in the loop on line 58 in Line 58 in 6631d30
|
Hm - I have 22.04 and tmux 3.4 and still experience this issue |
I was facing the same issue after upgrading to tmux 3.4 from 3.2a. I had forgotten to completely kill my active tmux sessions though (using |
Upgrading to tmux 3.4 solves the issue |
This does not solve the issue for me - ll just open a new issue |
sorry, I'll reopen. |
Your problem might be caused by some other factors than the Ubuntu 22.04 default tmux version, if the problem persists even with tmux 3.4. There are other bug issues open where users have shell scripts that doesn't play nice with My fix with #15 only eliminates the issue where Floax will go to infinite loop if @diego898: Can you try to troubleshoot the issue by by manually calling
|
@haapmik - For me the popup appears and is interactable - I can type, etc. Only when I type exit does it close however (not automatically). Here are the logs
|
This indicates that the tmux popup feature works fine without any decorations with your tmux package. Maybe one or more of the decorations used by the FloaX causes your tmux to hang. @diego898, you could try to manually run the command used by the FloaX to troubleshoot the issue further. E.g. adding these extra decorations one by one to find out which one causes your problem. FLOAX_BORDER_COLOR='magenta'
FLOAX_TEXT_COLOR='blue'
FLOAX_TITLE='FloaX: C-M-s C-M-b C-M-f C-M-r C-M-e C-M-d '
FLOAX_WIDTH='80%'
FLOAX_HEIGHT='80%'
FLOAX_SESSION_NAME='scratch'
tmux new-session -d -s "$FLOAX_SESSION_NAME"
tmux -vv popup \
-S fg="$FLOAX_BORDER_COLOR" \
-s fg="$FLOAX_TEXT_COLOR" \
-T "$FLOAX_TITLE" \
-w "$FLOAX_WIDTH" \
-h "$FLOAX_HEIGHT" \
-b rounded \
-E \
"tmux attach-session -t \"$FLOAX_SESSION_NAME\"" |
Hello good people of this thread, unfortunately I don't have an available Ubuntu desktop ready to debug this issue. I'm happy to know whether this issue still persists and whether we should update the install section. Thanks all! |
Description
I recently started using your tmux-floax plugin, which aims to create floating terminals similar to those in zellij. However, I'm experiencing an issue where tmux hangs when I try to use the plugin. It seems that the floating terminal is being created because I see a new session named "scratch," but I cannot see the floating terminal itself, and my terminal becomes unresponsive.
Environment:
Please let me know if you need any additional information or if there are any specific steps you would like me to try.
Thank you for your help!
The text was updated successfully, but these errors were encountered: