1.8.3 - images skip and diminish on network drive

*** Please report new bugs here! ***

Moderators: helmut, XnTriq, xnview, Dreamer

Post Reply
user250203
Posts: 8
Joined: Mon Feb 03, 2025 9:52 pm

1.8.3 - images skip and diminish on network drive

Post by user250203 »

XnView: MP 1.8.3 - 64-bit
OS: Windows 10 22H2 64-bit

When opening images from network shares, the image is initially displayed, but after about a second XnView switches to a seemingly random other image and the count of images in the directory, as indicated at the very left of the status bar, will have diminished by at least 1 (often more).
Browsing through images (with next/previous) will typically diminish the amount of images XnView recognizes further.

Testing in a directory with 1196 JPEG photos, XnView will *always* quickly move away from the image initially opened (and displayed correctly) and indicate 1195 images in the directory. Moving through the images will eventually diminish the amount of recognized images to 1052.

Sometimes, XnView will skip over several images before settling on one, the amount of recognized images greatly diminished.

Larger collections of images seem to make this behavior more likely; directories with 100-200 images will trigger this bug very rarely, while directories with over about 1000 images will always skip at least one image, and directories over 3000 images will often skip several images.
  • Images skipped are briefly displayed correctly. XnView moves away from them without any user input.
  • The amount of recognized images may decrease by more than images skipped.

Step to reproduce: Double click an image (in Windows Explorer) in a network share (mapped network drive) directory with many images.

Expected behaviour: Image is displayed indefinitely. All images are recognized and can be displayed.
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 1.8.3 - images skip and diminish on network drive

Post by xnview »

you have this strange behavior only on network drive? Same with 1.8.4?
Pierre.
user250203
Posts: 8
Joined: Mon Feb 03, 2025 9:52 pm

Re: 1.8.3 - images skip and diminish on network drive

Post by user250203 »

So it would seem.

I don't have any directories quite that large locally, only a couple hundred images, but I've never noticed any weird skipping or disappearing then.
user250203
Posts: 8
Joined: Mon Feb 03, 2025 9:52 pm

Re: 1.8.3 - images skip and diminish on network drive

Post by user250203 »

1.8.4 doesn't seem to skip the initially opened image anymore, but the indicated count of recognized images still drops when moving through them, and thus some images will never be shown.
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 1.8.3 - images skip and diminish on network drive

Post by xnview »

Even with 'Filter by all'?
Pierre.
user250203
Posts: 8
Joined: Mon Feb 03, 2025 9:52 pm

Re: 1.8.3 - images skip and diminish on network drive

Post by user250203 »

I'm not sure where "Filter by all" is, but XnView's own file browser filter is set to All / All, and yes it happens that way.
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 1.8.3 - images skip and diminish on network drive

Post by xnview »

please change debug=2 in your xnview.ini, and send me the content of logs window...
Pierre.
user250203
Posts: 8
Joined: Mon Feb 03, 2025 9:52 pm

Re: 1.8.3 - images skip and diminish on network drive

Post by user250203 »

https://pastebin.com/6DEEwaS8

Copied the log as soon as I saw the indicated count of images in the status bar drop by 143 (from 1196 to 1053).

I replaced part of the file paths in the log with "[snip]" for my privacy.
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 1.8.3 - images skip and diminish on network drive

Post by xnview »

do you have the problem even if you disable Settings>View>Misc- read ahead & keep current?
Pierre.
user250203
Posts: 8
Joined: Mon Feb 03, 2025 9:52 pm

Re: 1.8.3 - images skip and diminish on network drive

Post by user250203 »

Yes, I've now tried all combinations of these two settings and they make no difference.

I've also taken a look at the logs of the remote Samba server, but there aren't any errors or warnings either.
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 1.8.3 - images skip and diminish on network drive

Post by xnview »

you have only this problem on network drive not local drive? could you send me your .ini?
Pierre.
user250203
Posts: 8
Joined: Mon Feb 03, 2025 9:52 pm

Re: 1.8.3 - images skip and diminish on network drive

Post by user250203 »

I've only noticed it on network drives. I copied the directory with 1196 images to my computer and noticed no skipping or diminishing numbers.

Here's my ini: https://pastebin.com/SyYpMUiZ (I've removed recent file paths)

I also noticed that 1.8.4 does skip the initially opened file, after a few seconds, in a larger than previously tested remote directory (2500+ images this time), and will then proceed to quickly flick through a couple dozen images before settling on about ~1800 images.
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 1.8.3 - images skip and diminish on network drive

Post by xnview »

user250203 wrote: Sun Mar 02, 2025 1:11 am I also noticed that 1.8.4 does skip the initially opened file, after a few seconds, in a larger than previously tested remote directory (2500+ images this time), and will then proceed to quickly flick through a couple dozen images before settling on about ~1800 images.
Please try latest version
Pierre.
user250203
Posts: 8
Joined: Mon Feb 03, 2025 9:52 pm

Re: 1.8.3 - images skip and diminish on network drive

Post by user250203 »

Updated to 1.8.6: No discernable improvement or change.
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 1.8.3 - images skip and diminish on network drive

Post by xnview »

i've tried with your .ini and a shared folder with 3000+ jpeg files, and no problem :(
Pierre.
Post Reply