Linux: Full-screen scrolling after key release
Moderators: XnTriq, helmut, xnview, Dreamer
-
- Posts: 3
- Joined: Wed Dec 22, 2021 2:16 am
Linux: Full-screen scrolling after key release
Hello,
I just started using XnViewMp (Ubuntu version), and have a bug to report:
In "Browse" mode (with details list & the preview visible), you can hold the "down" keyboard key to quickly scroll through images. And as expected, when you see the image you are looking for, you can release the key, and it stops. However, if you do the same in the mode where it only shows the image (not Browse mode), then it continues scrolling for a long time after you have already released the key. Sometimes it can keep going for many seconds, and you have to wait for it to stop before you can start going way back to where you actually intended to stop.
This makes it difficult to find the photo you want, as almost all the time it is used in the "photo viewing mode", so hopefully it can be fixed. Otherwise, I love the software.
Thank you
I just started using XnViewMp (Ubuntu version), and have a bug to report:
In "Browse" mode (with details list & the preview visible), you can hold the "down" keyboard key to quickly scroll through images. And as expected, when you see the image you are looking for, you can release the key, and it stops. However, if you do the same in the mode where it only shows the image (not Browse mode), then it continues scrolling for a long time after you have already released the key. Sometimes it can keep going for many seconds, and you have to wait for it to stop before you can start going way back to where you actually intended to stop.
This makes it difficult to find the photo you want, as almost all the time it is used in the "photo viewing mode", so hopefully it can be fixed. Otherwise, I love the software.
Thank you
Last edited by DrkMstr310 on Sat Mar 19, 2022 3:32 am, edited 2 times in total.
-
- Posts: 3
- Joined: Wed Dec 22, 2021 2:16 am
Re: Bug: Full-Screen Scrolling After Key Release On Linux
Hi,
Was there maybe a difficulty reproducing this issue? Has anyone else seen it? It looks like all the bug posts that were more recent than this got a response, maybe I left out some info?
Thank you again
Was there maybe a difficulty reproducing this issue? Has anyone else seen it? It looks like all the bug posts that were more recent than this got a response, maybe I left out some info?
Thank you again
-
- Author of XnView
- Posts: 44470
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Bug: Full-Screen Scrolling After Key Release On Linux
ok, i'll check how to fix this issue...
Pierre.
-
- Posts: 3
- Joined: Wed Dec 22, 2021 2:16 am
-
- Posts: 145
- Joined: Sun Apr 28, 2019 6:01 am
Re: Bug: Full-Screen Scrolling After Key Release On Linux
Any luck managing to repro this?
-
- Posts: 8705
- Joined: Sun Oct 12, 2003 6:47 pm
- Location: Frankfurt, Germany
-
- Posts: 145
- Joined: Sun Apr 28, 2019 6:01 am
Re: Linux: Full-screen scrolling after key release
I was more wanting to follow up, as he mentioned he'd look into it in January but the issue still seems to persist - this appears to be the same issue as I posted 2 years ago (viewtopic.php?f=62&t=40701&p=164113#p164113). In that case too he mentioned he'd look into it, but then ceased responding, even after I replied.
-
- Posts: 145
- Joined: Sun Apr 28, 2019 6:01 am
Re: Linux: Full-screen scrolling after key release
...Like even since that last reply, he responded to at least 12 other posts, yet this response - despite being reported far earlier - was ignored. So since there doesn't really seem there's any sort of "queue" system, I'm not sure how to ensure that one's issue reports aren't simply ignored indefinitely...
-
- Posts: 145
- Joined: Sun Apr 28, 2019 6:01 am
-
- Author of XnView
- Posts: 44470
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Linux: Full-screen scrolling after key release
currently i have no way to fix this issue, need to investigate more...
Pierre.
-
- Posts: 145
- Joined: Sun Apr 28, 2019 6:01 am
Re: Linux: Full-screen scrolling after key release
Maybe replicate whatever loading method is done in "browse" mode, since the issue never occurs there?
-
- Posts: 167
- Joined: Fri Apr 17, 2020 5:35 pm
Re: Linux: Full-screen scrolling after key release
Your description sounds like a CPU- or GPU-related issue.
I find this very problem to be even worse with Windows' built-in image viewer. Rapidly scrolling through fullsize images happens faster than the program can render -> preload -> release from RAM/VRAM.
What is your CPU, GPU, and RAM?
Do you notice this issue is less obvious (and lags less) when dealing with smaller resolution images?
Do you notice this issue is less obvious (and lags less) when dealing with certain image formats?
Do you notice this issue is less obvious (and lags less) with the following settings?
I find this very problem to be even worse with Windows' built-in image viewer. Rapidly scrolling through fullsize images happens faster than the program can render -> preload -> release from RAM/VRAM.
What is your CPU, GPU, and RAM?
Do you notice this issue is less obvious (and lags less) when dealing with smaller resolution images?
Do you notice this issue is less obvious (and lags less) when dealing with certain image formats?
Do you notice this issue is less obvious (and lags less) with the following settings?
- General -> ICC -> uncheck "Use ICC"
- View -> View -> High quality zoom: Never
- View -> Misc -> Cache, uncheck "Read one image ahead"
- View -> Misc -> Cache, uncheck "Keep current image"
-
- Posts: 145
- Joined: Sun Apr 28, 2019 6:01 am
Re: Linux: Full-screen scrolling after key release
Of course load delays would be more noticeable with larger files - that's a completely different issue. Whether each image takes 5ms or 500ms to load, the issue I'm addressing here is what it does *after the key is released.* Once it finishes displaying whichever is the current image, it should not continue to load any further additional images. This is regardless of the speed that each image loads.
As a counterexample, you can try Nomacs (Linux). You hold the pagedown key, it cycles between images, you release the pagedown key, it stops. This is true whether you're flipping through giant images that take 1s to load or tiny thumbnail size images. In XnView, it may continues loading a further 10 or 20 photos after releasing the key.
As a counterexample, you can try Nomacs (Linux). You hold the pagedown key, it cycles between images, you release the pagedown key, it stops. This is true whether you're flipping through giant images that take 1s to load or tiny thumbnail size images. In XnView, it may continues loading a further 10 or 20 photos after releasing the key.
-
- Posts: 167
- Joined: Fri Apr 17, 2020 5:35 pm
Re: Linux: Full-screen scrolling after key release
I still think it's related to the CPU/GPU, but not for my original reasons.
I did some more testing, and the rendering of images in "Browse" mode seems worlds more efficient than when in "View" mode.
What' I'm guessing is that the CPU is being overburdened with rendering, that it interferes with the input (such as releasing the arrow key). This is the same principle for decoding a modern video format of a high resolution without proper acceleration. The controls and buttons of the media player, as well as keyboard inputs, will lag.
Whatever method is being used to render the images in "Browse" mode should be used in "View" mode.
I'm noticing substantially more CPU usage when scrolling through images in "View" mode; yet not that much when using "Browse" mode.
I'm going to test something out with an older version of XnViewMP.
I did some more testing, and the rendering of images in "Browse" mode seems worlds more efficient than when in "View" mode.
What' I'm guessing is that the CPU is being overburdened with rendering, that it interferes with the input (such as releasing the arrow key). This is the same principle for decoding a modern video format of a high resolution without proper acceleration. The controls and buttons of the media player, as well as keyboard inputs, will lag.
Whatever method is being used to render the images in "Browse" mode should be used in "View" mode.
I'm noticing substantially more CPU usage when scrolling through images in "View" mode; yet not that much when using "Browse" mode.
I'm going to test something out with an older version of XnViewMP.
-
- Posts: 145
- Joined: Sun Apr 28, 2019 6:01 am
Re: Linux: Full-screen scrolling after key release
Could be. In any event, the author has been ignoring this since it was first reported over 3 years ago, here: viewtopic.php?f=62&t=40701&p=182087