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

When -i/--hide-info-box is set the info-box still displays for a split second when scrolling through multiple images. #32

Closed
CamilleScholtz opened this issue Apr 17, 2015 · 10 comments

Comments

@CamilleScholtz
Copy link
Contributor

See title, the info-box still flickers when scrolling fast through multiple images. I am using the newest release.

@phillipberndt
Copy link
Owner

This is intentional: pqiv preloads the next and previous images into memory to allow you to switch between images quickly. If for some reason an image hasn't fully loaded yet when a user requests to switch to it, the info box is used to inform him that the "(Image is still loading)". As soon as loading is completed, the image is displayed and the info box is removed again. Typical reasons for delayed loading include very large images, slow disk/network I/O, high processor load, but of course also mashing the spacebar ;-)

If you want, I can add a command line option to deactivate this behaviour!?

@CamilleScholtz
Copy link
Contributor Author

You are right it says: (Image is still loading). However it displays it only for like 0.05 seconds making it kinda useless. I think a command line option to disable it would be very nice!

phillipberndt added a commit that referenced this issue Apr 17, 2015
@phillipberndt
Copy link
Owner

Maybe it suffices to delay the message for half a second (see 5b13d5b / the delay-info branch)?!

@CamilleScholtz
Copy link
Contributor Author

I just tried the branch and it is much much better in my opinion.

phillipberndt added a commit that referenced this issue Apr 18, 2015
@phillipberndt
Copy link
Owner

Great; merged to master.

phillipberndt added a commit that referenced this issue Apr 18, 2015
@TommyFlowers
Copy link

When running on something like a raspberry pi, the delay of 0.5 seconds is often still not enough. Would it be possible to add an option to force the info box off in that case? Many thanks!

@phillipberndt phillipberndt reopened this Aug 17, 2015
@phillipberndt
Copy link
Owner

Would an even larger delay suffice, or do you really need to have no info box whatsoever?

@TommyFlowers
Copy link

No info box whatsoever would be ideal, but if not a larger delay would likely work. Trouble is it just depends on the size of the image file.

phillipberndt added a commit that referenced this issue Aug 24, 2015
This has been requested by multiple users; if this commit breaks some
users' workflow, I'll have to add an option for this. For now, fixes
issue #32.
@phillipberndt
Copy link
Owner

Here's the simple solution: --hide-info-box now hides the "Image still loading" message as well. If someone complains, I'll add an option to configure this.

@TommyFlowers
Copy link

Perfect - many thanks

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

3 participants