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

Images Flicker in w3m #1666

Open
cqexbesd opened this issue Dec 11, 2024 · 4 comments
Open

Images Flicker in w3m #1666

cqexbesd opened this issue Dec 11, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@cqexbesd
Copy link
Contributor

Contour Terminal version

0.5.2-master-0e9193e8

Installer source

Github: source code cloned

Operating System

Arch Linux as of a few days ago

Architecture

x86-64

Other Software

w3m version w3m/0.5.3+git20230129, options lang=en,m17n,image,color,ansi-color,mouse,gpm,menu,cookie,ssl,ssl-verify,external-uri-loader,nntp,gopher,ipv6,alarm,mark

Steps to reproduce

w3m http://theguardian.co.uk/

wait for it to load all the images and scroll down to the articles, where the images should be shown.

Expected Behavior

To see the images

Actual Behavior

The images only show very briefly when you move the cursor and disappear again.

Additional notes

Works in xterm 396.
It's not specific to the one site - that was just an example of a site with lots of pictures - it seems to happen on any site with images.

I know we have discussed this IRL but I don't think I ever opened an issue - I can't find one at least. No urgency from my side.

@cqexbesd cqexbesd added the bug Something isn't working label Dec 11, 2024
@christianparpart
Copy link
Member

christianparpart commented Dec 27, 2024

Hey @cqexbesd. How are you

I've tried w3m:

w3m version w3m/0.5.3+git20230121, options lang=en,m17n,image,color,ansi-color,mouse,gpm,menu,cookie,ssl,ssl-verify,external-uri-loader,w3mmailer,nntp,gopher,ipv6,alarm,mark

But I did not get it to show any image until I also passed -sixel as CLI argument to it, like so:

w3m -sixel http://theguardian.co.uk/

And this is the result:

image

p.s.: it took a while to load all images in w3m internally, but it did not get a flickering withi.

You may see a flickering when w3m is NOT using sixel but an overlay window. Most likely you're running in X11 still? :D

@Yaraslaut
Copy link
Member

I can repro it, and I am using x11 @christianparpart

@christianparpart
Copy link
Member

I can repro it, and I am using x11 @christianparpart

are you sure w3m is using sixel protocol or overlay window instead?

@Yaraslaut
Copy link
Member

I am not 100% sure but guess that this is sixel, since with tiling wm extra windows would break everything

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants