Skip to content
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

SessionX window flashes on my screen when called but disappears literally on the next frame #166

Open
johnnguyencodes opened this issue Jan 1, 2025 · 12 comments

Comments

@johnnguyencodes
Copy link

Hello! For some reason, when I bring up SessionX, the window appears for one quick fraction of a second, but immediately goes away, it's like it only just flashes on the screen. About two weeks ago it was working fine, so I wonder if something in the most recent update broke it?

For my sessionx config, i only have the following two lines:

set -g @plugin 'omerxx/tmux-sessionx'
set -g @sessionx-bind 'q'

@rodhash
Copy link

rodhash commented Jan 1, 2025

Same here, just installed and I see just a flash of what seems to be a tmux pop-up.

I didn't download that custom fzf-tmux script so the only configuration I did is this:
set -g @sessionx-fzf-builtin-tmux 'on'

tmux: tmux 3.5a
fzf: HEAD-0476a65 (brew) which is version 0.57.0
bat: 0.24.0
zoxide: not installed, using Z instead

@Pipo2410
Copy link

Pipo2410 commented Jan 1, 2025

Hello, same here, the window flickers and goes away. I managed to capture an error it shows.
Screenshot 2025-01-01 at 16 15 28

tmux: 3.5a
fzf: 0.57.0 (brew)
bat: 0.24.0
zoxide: 0.9.6

[UPDATE]: Fixed by updating the bash version as described here: comment #163
Plugin fully worked after restarting the computer.
@johnnguyencodes @rodhash can you try the same?

@hmrc87
Copy link

hmrc87 commented Jan 5, 2025

  • ghostty terminal & wezterm
  • /usr/bin/env bash shows me 5.2
  • tmux 3.5a
  • fzf 0.57.0 (brew)
  • bat 0.24.0
  • zoxide 0.9.6

Now it boots up but stays like this and the terminal freezes:

image

@rodhash
Copy link

rodhash commented Jan 5, 2025

[UPDATE]: Fixed by updating the bash version as described here: comment #163 Plugin fully worked after restarting the computer. @johnnguyencodes @rodhash can you try the same?

Not sure but I don't see any change.

@hmrc87
Copy link

hmrc87 commented Jan 5, 2025

[UPDATE]: Fixed by updating the bash version as described here: comment #163 Plugin fully worked after restarting the computer. @johnnguyencodes @rodhash can you try the same?

Not sure but I don't see any change.

For me at first I did not see any changes, even after updating the tools. Then I tried out another Terminal and suddenly the behaviour changed in my old terminal. Im still stuck but at least somewhere else :) Maybe it helps us getting to the root of the issue

@mermutt
Copy link

mermutt commented Jan 6, 2025

[UPDATE]: Fixed by updating the bash version
I see the same problem on Mac OS X with wezterm and zsh.

@xbc5
Copy link

xbc5 commented Jan 7, 2025

image

If I kill the terminal and restart tmux it unfreezes, until I open sessionx again.

@johnnguyencodes
Copy link
Author

johnnguyencodes commented Jan 7, 2025

I updated bash but it didn't resolve the issue. What did resolve the issue was installing a specific version of sessionx before the breaking changes were merged.

Thus, I changed

set -g @plugin 'omerxx/tmux-sessionx

to

set -g @plugin 'omerxx/tmux-sessionx#3a1911e

which corresponds to #151 and now it works as expected.

The subsequent merge, #157, broke the plugin for me.

@ralvapil
Copy link

ralvapil commented Jan 7, 2025

set -g @plugin 'omerxx/tmux-sessionx#3a1911e

This seems to fix it for me as well!

@TanishBhandari286
Copy link

No Still not working i dont know why

set -g @plugin 'omerxx/tmux-sessionx#3a1911e'
this didnt fix it
can anyone please guide me

@mermutt
Copy link

mermutt commented Jan 7, 2025

set -g @plugin 'omerxx/tmux-sessionx#3a1911e

This seems to fix it for me as well!

It fixed it for me too.

set -g https://github.com/plugin 'omerxx/tmux-sessionx#3a1911e'
this didnt fix it
can anyone please guide me

I had to downgrade omerxx/tmux-sessionx to hash #3a1911e manually. Could be due to how I use tpm plugin manager. So what I did was - I cd into ~/.tmux/plugins/tmux-sessionx directory, executed git checkout 3a1911e command and restarted tmux.

@johnMocingbird
Copy link

set -g @plugin 'omerxx/tmux-sessionx#3a1911e

This seems to fix it for me as well!

It fixed it for me too.

set -g https://github.com/plugin 'omerxx/tmux-sessionx#3a1911e'
this didnt fix it
can anyone please guide me

I had to downgrade omerxx/tmux-sessionx to hash #3a1911e manually. Could be due to how I use tpm plugin manager. So what I did was - I cd into ~/.tmux/plugins/tmux-sessionx directory, executed git checkout 3a1911e command and restarted tmux.

This works on my end ^^ ty so much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants