-
Notifications
You must be signed in to change notification settings - Fork 2
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
Popups immediately close #4
Comments
What OS are you using? |
I have the same issue. Does this require X? I have noticed electron apps, for example, open and immediately close if you don't force them to use Wayland. I am running with fish as the default shell, running kak in it. I have tmux installed and available on path, but have no existing sessions. |
Thanks for the OS info. X should not be needed, I use popup.kak over ssh on a machine that does not have X. I have a hard time reproducing this over docker, but I'll try on fedora. |
Okay, let me know if there's anything else I can do to help. |
Additionally, is there any debug output in the |
Sorry, I thought I responded to this issue already, I am on Arch Linux using Alacritty with Fish shell. I've followed the instructions in the README, tried both cork.kak and manually sourcing, and made sure kak-popup is on my path. I have tried |
My debug buffer is also empty. > echo $RUSTFLAGS
-C target-cpu=native -C strip=symbols I don't think that should be an issue. Strip is bad for debugging of course, but I don't think I'm likely to get a stack trace anyway. Maybe trying build an unstripped version, and attach gdb to kak with EDIT:
but the only thing that seemed to do is make fish lose its cursor, so I needed to restart the terminal. |
This is so close to my setup. I'm on NixOS with fish shell and alacritty as a terminal. The fact that there is no output in the debug buffer is surprising. Can both of you (@jtrv and @chriselrod) try the following and report back:
|
This had the same effect, blank tmux window briefly flashed. The *debug* buffer in Terminal 1 and the output of Terminal 2 are identical:
|
I have the same output: > kak-popup \
popup \
--debug \
--kak-session 67239 \
--kak-client client0 \
--width 319 \
--height 105 \
fish
kakoune::debug: waiting for quit
kakoune::debug: refresh::step: tmux display exited with non-zero status: exit status: 1, err: no server running on /tmp/tmux-1000/default
kakoune::debug: done waiting
kakoune::debug: keys::step: quitting
kakoune::debug: failed to kill tmux session 1697846636965795490: tmux kill-session exited with non-zero status: exit status: 1, err: no server running on /tmp/tmux-1000/default
kakoune::debug: exiting popup
kakoune::debug: error: Capture::handle_output
Caused by:
0: status
1: No such file or directory (os error 2) |
This is so weird, I've had this happen before where tmux doesn't start for some reason. I'll investigate thanks a ton for the outputs. |
If I start tmux so that a server is running, I get
|
@jtrv out of curiosity what output do you get if you have tmux running in another terminal as well? @chriselrod This is more unexpected, what version of tmux are you running ( |
> tmux -V
tmux 3.3a |
Okay so I'm back with some changes and suggestions. I've published a Can either (or both) of you please try the following:
Please tell me what appears, if anything. Mine looks like this for example: After testing please do |
I do get a pane. At the top, it says
while at the bottom of the pane, it says Using other commands yield the same thing, e.g.
|
progress, ok i'll take a look at these. any chance you could send a screenshot? |
Actually I might have figured it out. Does |
Yes, I can confirm it works! |
Awesome! Yep indeed that was it. Didn't even think about how tmux was running the commands through a shell (and idk why i did bash |
Nice it works perfectly now! Thank you! |
I'm not sure what the issue is but when I try using popups they all seem to immediately close.
The text was updated successfully, but these errors were encountered: