-
Notifications
You must be signed in to change notification settings - Fork 885
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
image preview often disappears in st. #856
Comments
@SageEx According to #759 (comment), I set xfps to 300, but |
Yep, I have this problem too, I just refresh the view by <C-L> once it
vanishes.
I'd like a proper solution too.
On Sat 22 Apr, 2017, 1:35 PM crocket, ***@***.***> wrote:
@SageEx <https://github.com/SageEx> According to #759 (comment)
<#759 (comment)>, I
set xfps to 300, but st fails to display image previews consistently.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#856 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AGz56-jAiKmFUGXit0hhogUgcUxIrdYJks5rybTPgaJpZM4NE_ZW>
.
--
Arindam Banerjee
|
w3mimgdisplay is slow and doesn't work with other terminals than xterm and urxvt. A developer of |
Luke Smith who runs a YouTube channel said this issue will be fixed in a few months, but he didn't provide me with an evidence. Does anyone have any evidence that this issue will be fixed? |
They usually do : ) No one's stepped forward to implement sixel support yet. Tbqh, I'd rather st implement Kitty's image protocol from some short looking into this it seems like it's superior to sixel and kitty preview support is coming soon™. |
@toonn Actually, saitoha, the maintainer of sixel, implemented sixel support for st, but st maintainers haven't accepted his patches, yet. https://gist.github.com/saitoha/70e0fdf22e3e8f63ce937c7f7da71809 https://git.suckless.org/st/log/ Will kitty preview support actually come to ranger or any terminal emulator soon? Can you refer me to evidences? |
@toonn That is not a pull request. Saitoha patched a lot of programs to add support for sixel, but all programs seem to have rejected his sixel patches for years. App developers are consistently delaying or rejecting sixel. Because suckless is obsessed with minimal codebase, I don't think sixel will be merged into st in the forseeable future. It's very likely for suckless developers to say that people don't need image support in terminal emulators. Suckless developers rejected innate scroll support for st, too. I moved from st to alacritty, but I'll move again to kitty once ranger assimilates kitty image preview functionality. w3m fails to persist image previews in alacritty. I badly want persistent ranger image preview. |
#1077 is most definitely a PR, I've been reviewing it since it was opened. |
@toonn I was not talking about #1077. I was talking about https://gist.github.com/saitoha/70e0fdf22e3e8f63ce937c7f7da71809 which has a slim chance of getting into st. |
Ah, then you'll have to patch both st and ranger with sixel support, should be easy for st since the code's minimal. Might be relatively simple for ranger too. |
I moved away from st because st will not accept sixel or any extra feature into its core. https://gist.github.com/saitoha/70e0fdf22e3e8f63ce937c7f7da71809 will rot away because the core will move on. At this point, kitty would be the fastest way to get persistent image preview in ranger. |
Ok. I'm going ahead and closing this issue since there's probably nothing we can do about it. I suspect this would have to be fixed in w3mimgdisplay itself. |
Sorry for the necrobump but anyone know the version at whitch the sixel patch was made |
I had the same issue, changing w3m_delay to 0.2 (in rc.conf) fixed the issue of dissappearing instantly/randomly, after any key press it still disappears but at least i can preview images now. |
This patch made the previews with w3m work flawlessly (I applied it to st 0.8.4) |
I still had the problem with this st build |
ISSUE TYPE
RUNTIME ENVIRONMENT
EXPECTED BEHAVIOR
The image preview should remain intact, no matter what I do.
CURRENT BEHAVIOR
When I press shift in st, the image preview disappears.
If I revisit the image, the image preview reappears until I press shift or any other key.
The image preview disappears after a few seconds automatically.
It also disappears if I shift the focus to another window.
POSSIBLE SOLUTIONS
It doesn't happen in uxterm, but uxterm doesn't support fontconfig which st supports well.
I must have proper fontconfig support to read chinese characters in ranger.
I could use urxvt, but urxvt doesn't support fontconfig properly.
The text was updated successfully, but these errors were encountered: