[GH-ISSUE #241] Application hangs if run inside zellij with sixel/image support #124

Closed
opened 2026-03-02 23:44:47 +03:00 by kerem · 6 comments
Owner

Originally created by @kyotuca on GitHub (Aug 31, 2023).
Original GitHub issue: https://github.com/aome510/spotify-player/issues/241

Describe the bug
Starting the application after installing either of sixel or image features does nothing and the process just hangs forever if ran in a zellij session in kitty, if i run it directly inside kitty everything works fine.

To Reproduce
Run kitty, start a zellij session and run spotify_player with image support installed

Log and backtrace
spotify-player-23-08-31-11-27.log, the backtrace is empty.

Environment

  • OS: Arch linux
  • Application version: 0.15.0
  • Application features: sixel, image
Originally created by @kyotuca on GitHub (Aug 31, 2023). Original GitHub issue: https://github.com/aome510/spotify-player/issues/241 **Describe the bug** Starting the application after installing either of sixel or image features does nothing and the process just hangs forever if ran in a zellij session in kitty, if i run it directly inside kitty everything works fine. **To Reproduce** Run kitty, start a zellij session and run spotify_player with image support installed **Log and backtrace** [spotify-player-23-08-31-11-27.log](https://github.com/aome510/spotify-player/files/12484674/spotify-player-23-08-31-11-27.log), the backtrace is empty. **Environment** - OS: Arch linux - Application version: 0.15.0 - Application features: sixel, image
kerem 2026-03-02 23:44:47 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@sewnie commented on GitHub (Aug 31, 2023):

test if spotify_player runs under tmux, or use kitty's integrated terminal workspaces.

on my system, it seems that spotify_player with image support (not sixel) runs fine.

<!-- gh-comment-id:1701286108 --> @sewnie commented on GitHub (Aug 31, 2023): test if spotify_player runs under tmux, or use kitty's integrated terminal workspaces. on my system, it seems that spotify_player with image support (not sixel) runs fine.
Author
Owner

@kyotuca commented on GitHub (Sep 2, 2023):

In tmux it does work, as well as in kitty.
I like to use zellij instead of tmux or kitty's multiplexer because of the clean interface and because i also use other emulators.

<!-- gh-comment-id:1703855232 --> @kyotuca commented on GitHub (Sep 2, 2023): In tmux it does work, as well as in kitty. I like to use zellij instead of tmux or kitty's multiplexer because of the clean interface and because i also use other emulators.
Author
Owner

@sewnie commented on GitHub (Sep 2, 2023):

Then it is a zellij bug, close this issue and move it to there.

<!-- gh-comment-id:1703856239 --> @sewnie commented on GitHub (Sep 2, 2023): Then it is a zellij bug, close this issue and move it to there.
Author
Owner

@funkycode commented on GitHub (Nov 16, 2024):

I doubt the issue is inside zellij side, because if I set TERM=tmux-256color it does work in zellij.
On other hand when running in tmux with TERM=xterm-kitty it hangs the same way as in zellij without changing env variable.

<!-- gh-comment-id:2480525391 --> @funkycode commented on GitHub (Nov 16, 2024): I doubt the issue is inside zellij side, because if I set `TERM=tmux-256color` it does work in zellij. On other hand when running in tmux with `TERM=xterm-kitty` it hangs the same way as in zellij without changing env variable.
Author
Owner

@handlemind commented on GitHub (Dec 28, 2024):

Same issue with setup kitty+zellij, and setting TERM to tmux-256color works. Found out that app hangs on the line viuer::get_kitty_support(). But still unclear where this should be submitted.

<!-- gh-comment-id:2564118577 --> @handlemind commented on GitHub (Dec 28, 2024): Same issue with setup kitty+zellij, and setting TERM to tmux-256color works. Found out that app hangs on the line `viuer::get_kitty_support()`. But still unclear where this should be submitted.
Author
Owner

@DrGenetik commented on GitHub (Jan 31, 2026):

The Viuer crate project is at https://github.com/atanunq/viuer. There is an issue filed there that is probably the same as this: https://github.com/atanunq/viuer/issues/70.

I think the fix landed in https://github.com/atanunq/viuer/pull/90 and included in release 0.11.0 (https://github.com/atanunq/viuer/releases/tag/v0.11.0) of the Viuer crate.

Spotify-player is still on 0.9.2 of this crate (https://github.com/aome510/spotify-player/blob/master/spotify_player/Cargo.toml#L45) from June 2025. It would probably be worth trying to bump this dependency and see if this fixes this issue. A bonus is that spotify-player might get album image display under Konsole.

<!-- gh-comment-id:3829121022 --> @DrGenetik commented on GitHub (Jan 31, 2026): The Viuer crate project is at https://github.com/atanunq/viuer. There is an issue filed there that is probably the same as this: https://github.com/atanunq/viuer/issues/70. I think the fix landed in https://github.com/atanunq/viuer/pull/90 and included in release 0.11.0 (https://github.com/atanunq/viuer/releases/tag/v0.11.0) of the Viuer crate. Spotify-player is still on 0.9.2 of this crate (https://github.com/aome510/spotify-player/blob/master/spotify_player/Cargo.toml#L45) from June 2025. It would probably be worth trying to bump this dependency and see if this fixes this issue. A bonus is that spotify-player might get album image display under Konsole.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/spotify-player#124
No description provided.