Freeze when scrolling through images with mousewheel

Ask for help and post your question on how to use XnView MP.

Moderators: XnTriq, helmut, xnview

User avatar
xnview
Author of XnView
Posts: 44917
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Freeze when scrolling through images with mousewheel

Post by xnview »

Windows?
Pierre.
mynewcat
Posts: 14
Joined: Fri Oct 04, 2024 11:55 am

Re: Freeze when scrolling through images with mousewheel

Post by mynewcat »

Yes
User avatar
xnview
Author of XnView
Posts: 44917
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Freeze when scrolling through images with mousewheel

Post by xnview »

with debug=2, you have a window like console opened (with all logs)
Pierre.
mynewcat
Posts: 14
Joined: Fri Oct 04, 2024 11:55 am

Re: Freeze when scrolling through images with mousewheel

Post by mynewcat »

Right I tried that all again and debug=2 had reverted to debug=0

So when I look at the output log window, it seems to freeze at this point:
########################################
############### UPDATE MENU ############
########################################
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 0, 0, 0, 127'
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 255, 255, 255, 255'
####LOAD <R:/vegetation/Evermotion Archmodels vol. 173 ù Indoor Plants/035.jpg> 0
## BitmapLoadThread :: loaded 1000 1000
########################################
############### UPDATE MENU ############
########################################
## Bitmap :: load 0
###### GFF:load <R:/vegetation/Evermotion Archmodels vol. 173 ù Indoor Plants/042.jpg>
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 0, 0, 0, 127'
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 255, 255, 255, 255'
getNext => 4
==> 000001C41EA9A2A0
setCurrentFilename <R:/vegetation/Evermotion Archmodels vol. 173 ? Indoor Plants/042.jpg>
#### onCurrentChanged 41
LOAD PREVIEW
LOAD INFO <R:/vegetation/Evermotion Archmodels vol. 173 ù Indoor Plants/042.jpg>
LOAD INFO <R:/vegetation/Evermotion Archmodels vol. 173 ù Indoor Plants/042.jpg> ok
## Bitmap :: load 2048
###### GFF:load <R:/vegetation/Evermotion Archmodels vol. 173 ù Indoor Plants/042.jpg>
####LOAD <R:/vegetation/Evermotion Archmodels vol. 173 ù Indoor Plants/041.jpg> 0
## BitmapLoadThread :: loaded 1000 1000
########################################
############### UPDATE MENU ############
########################################
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 0, 0, 0, 127'
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 255, 255, 255, 255'
getNext => 3
==> 000001C41EACB540
setCurrentFilename <R:/vegetation/Evermotion Archmodels vol. 173 ? Indoor Plants/009.jpg>
#### onCurrentChanged 8
LOAD PREVIEW
LOAD INFO <R:/vegetation/Evermotion Archmodels vol. 173 ù Indoor Plants/009.jpg>
LOAD INFO <R:/vegetation/Evermotion Archmodels vol. 173 ù Indoor Plants/009.jpg> ok
## Bitmap :: load 2048
###### GFF:load <R:/vegetation/Evermotion Archmodels vol. 173 ù Indoor Plants/009.jpg>
####LOAD <R:/vegetation/Evermotion Archmodels vol. 173 ù Indoor Plants/010.jpg> 0
## BitmapLoadThread :: loaded 1000 1000
So the last thing in the log when it freezes is the BitmapLoadThread thing.

Is this what you need?
User avatar
xnview
Author of XnView
Posts: 44917
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Freeze when scrolling through images with mousewheel

Post by xnview »

what do you have after '## BitmapLoadThread :: loaded 1000 1000'
Pierre.
mynewcat
Posts: 14
Joined: Fri Oct 04, 2024 11:55 am

Re: Freeze when scrolling through images with mousewheel

Post by mynewcat »

So here is the directory I am looking at

https://www.dropbox.com/t/92Ma64TkTwAfScEC

Although the error does happen in other file folders with other images, it doesn't always happen, and for some folders it doesn't happen.

But for the above images, it will always happen at some point.

And to answer your question:
####LOAD <R:/vegetation/Evermotion Archmodels vol. 173 ù Indoor Plants/041.jpg> 0
## MyPreviewThread :: ERROR : 0 (000001ED50D47170)
m_stopCondition.wakeOne()
m_loadCondition.wait()
## MyView::onLoaded <R:/vegetation/Evermotion Archmodels vol. 173 ? Indoor Plants/040.jpg> <R:/vegetation/Evermotion Archmodels vol. 173 ? Indoor Plants/040.jpg> <R:/vegetation/Evermotion Archmodels vol. 173 ? Indoor Plants/040.jpg> (1)
## MyView::onLoaded ok
@@ BitmapResizeThread:: clear
@@ BitmapResizeThread:: clear
@@ BitmapResizeThread:: clear
### resetViewport (000001ED4E104F80) ==> 2194 1056 (571 571) 0 0
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 0, 0, 0, 127'
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 255, 255, 255, 255'
## threadFinished to cache 2 R:/vegetation/Evermotion Archmodels vol. 173 ? Indoor Plants/041.jpg (R:/vegetation/Evermotion Archmodels vol. 173 ? Indoor Plants/041.jpg) (000001ED50D47170)
MyPreviewThread :: stop()
A R:/vegetation/Evermotion Archmodels vol. 173 ? Indoor Plants/037.jpg (1000 1000)
A R:/vegetation/Evermotion Archmodels vol. 173 ? Indoor Plants/038.jpg (1000 1000)
##ADD to cache 2 R:/vegetation/Evermotion Archmodels vol. 173 ? Indoor Plants/041.jpg
P R:/vegetation/Evermotion Archmodels vol. 173 ? Indoor Plants/038.jpg (1000 1000)
P R:/vegetation/Evermotion Archmodels vol. 173 ? Indoor Plants/041.jpg (1000 1000)
########################################
############### UPDATE MENU ############
########################################
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 0, 0, 0, 127'
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 255, 255, 255, 255'
User avatar
xnview
Author of XnView
Posts: 44917
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Freeze when scrolling through images with mousewheel

Post by xnview »

no problem with your folder, please send me your xnview.ini
Pierre.
mynewcat
Posts: 14
Joined: Fri Oct 04, 2024 11:55 am

Re: Freeze when scrolling through images with mousewheel

Post by mynewcat »

User avatar
xnview
Author of XnView
Posts: 44917
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Freeze when scrolling through images with mousewheel

Post by xnview »

no problem :(

you start XnView, go into this folder, click on a file and open it in a tab. And scroll with wheel?
Pierre.
mynewcat
Posts: 14
Joined: Fri Oct 04, 2024 11:55 am

Re: Freeze when scrolling through images with mousewheel

Post by mynewcat »

No, I just click one of the images in Windows Explorer, and XV View opens up... and then I just use the scroll wheel.

Basically, I am often digging around my 3d asset collections looking for the right item, and I navigate with explorer.
User avatar
xnview
Author of XnView
Posts: 44917
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Freeze when scrolling through images with mousewheel

Post by xnview »

by using arrows key to navigate, same issue?
Pierre.
mynewcat
Posts: 14
Joined: Fri Oct 04, 2024 11:55 am

Re: Freeze when scrolling through images with mousewheel

Post by mynewcat »

mynewcat wrote: Sat Oct 05, 2024 11:48 am If I use the left and right arrows keys on the keyboard to cycle through, I get freezes even worse than the scroll-wheel.

We're talking 30 seconds or more.

If I press the arrow left and right icons (previous file / next file) with a left click, I don't get the problem.

So:

Scroll-wheel and holding down keyboard arrow keys = freeze
Pressing left and right icons with left click = no freeze

I hope this helps to diagnose the problem!
Here - the arrow keys are worse.

Feels like some kind of buffer issue?
User avatar
xnview
Author of XnView
Posts: 44917
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Freeze when scrolling through images with mousewheel

Post by xnview »

No problem here with your folder...

is it a network drive?
Could you try to disable Settings>View>Misc - Cache?
Pierre.
mynewcat
Posts: 14
Joined: Fri Oct 04, 2024 11:55 am

Re: Freeze when scrolling through images with mousewheel

Post by mynewcat »

It is a mapped network drive of a local drive (I need some drives and folders to be given consistent paths due to the way my software works).

But turning off the cache (both items) seems to have done the trick.

Shall I just leave it off, and will this help you diagnose and fix the issue?
User avatar
xnview
Author of XnView
Posts: 44917
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Freeze when scrolling through images with mousewheel

Post by xnview »

mynewcat wrote: Sun Oct 27, 2024 10:42 am But turning off the cache (both items) seems to have done the trick.
Strange i can't reproduce...
Pierre.