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

img2sixel with flatpak Contour showing broken images #1697

Closed
roadriverrail opened this issue Aug 29, 2022 · 5 comments
Closed

img2sixel with flatpak Contour showing broken images #1697

roadriverrail opened this issue Aug 29, 2022 · 5 comments

Comments

@roadriverrail
Copy link

Basic information

zellij --version: 0.31.3 (used via the "try it out" bash script
stty size: 111 125
uname -av or ver(Windows): Linux downhome 5.15.0-46-generic #49-Ubuntu SMP Thu Aug 4 18:03:25 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

List of programs you interact with as, PROGRAM --version: output cropped meaningful, for example:
flatpak run org.contourterminal.Contour --version: 0.3.
zellij.log
zellij-9.log
2-2022-07-07

Further information

Repo:

  1. Launch Contour (e.g. flatpak run org.contourterminal.Contour)
  2. Display SIXEL image with img2sixel, note result:
    image
  3. Launch zellij via copy/paste bash script.
  4. Perform same command, note corrupted result:
    image

I will attach the zellij log files as suggested.

@imsnif
Copy link
Member

imsnif commented Sep 2, 2022

Hey @roadriverrail - while I didn't run Contour from Flatpak (honestly, I spent the better part of an hour trying to, maybe I just don't get Flatpak), I ran version Contour Terminal Emulator 0.3.2-unreleased-master-77d7f46b installed from the AUR.

There were a a few sixel-related issues there with or without Zellij (eg. images are cut if they exceed the terminal scrollback, sixel-scrolling is on by default, etc.) But I couldn't reproduce this particular one.

This might be image specific... would you be willing to share this specific image so we can be sure we're talking about the same issue?

@roadriverrail
Copy link
Author

I confess that as a cranky old 90s UNIX type, I also "don't get" Flatpak, installed it only to try out Contour, and promptly removed it all after this little tryout. This issue report is mostly a courtesy note in case I'd uncovered a bug, since Contour appears to be one of the bigger sixel terminal emulators out there. I'll attach a copy of the image; it's a pretty unassuming PNG I use as a headshot in a couple of places online.

I'll also note, in case it matters, that I use i3 (specifically as part of Regolith); I've found some programs cope with being tiled better than others.

I'll also note that wezterm appears to work better for all my setups than Contour will, and this issue does not repro on wezterm and Zellij.
unknown

@imsnif
Copy link
Member

imsnif commented Sep 9, 2022

Hey, thanks for this @roadriverrail - I think I managed to narrow this issue down and opened a relevant issue on the Contour side (contour-terminal/contour#809). There might of course still be other related issues on the Zellij side, but I'm 90% sure the Contour fix will fix this particular behaviour.

@roadriverrail
Copy link
Author

@imsnif Thanks a bunch for the follow-up here, pushing it through to its probable source is great for everyone. As I have no particular stake at this point, and as this is now moved over to Contour, I will close the issue.

@christianparpart
Copy link

Hey, thanks for this @roadriverrail - I think I managed to narrow this issue down and opened a relevant issue on the Contour side (contour-terminal/contour#809). There might of course still be other related issues on the Zellij side, but I'm 90% sure the Contour fix will fix this particular behaviour.

Sorry for the inconveniences over here. We're about to fix it this week and also release a new version containing a couple of more bug fixes. :)

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

No branches or pull requests

3 participants