1.11.2 XnView MP wasting time on loading txt files in folders (for thumbs?)

*** Please try to reproduce your bug and confirm the bug fix. ***

Moderators: xnview, Dreamer

gyoical
Posts: 14
Joined: Mon Jan 16, 2023 9:13 am

1.11.2 XnView MP wasting time on loading txt files in folders (for thumbs?)

Post by gyoical »

OS: Windows 11 64bit 25H2 26200.8655

I don't know if it's a bug. (Maybe it's a design choice, or maybe a tweak in config can avoid this.) I feel like it has always been behaving like this, definitely not just in recent versions.

When XnView MP encounters a folder that has lots of txt files (Let's say 10,000), it would spend a long time loading those txt files. (While I already chose not to show nor have thumbs for text files) I can see it trying to load every single txt from Windows Resource Monitor. And it won't start generating thumbnails for images until the process is done.

It doesn't happen if I choose not to generate thumbs for folders.
User avatar
xnview
Author of XnView
Posts: 48148
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: 1.11.2 XnView MP wasting time on loading txt files in folders (for thumbs?)

Post by xnview »

when trying to generate the thumbnail for subfolder?
gyoical
Posts: 14
Joined: Mon Jan 16, 2023 9:13 am

Re: 1.11.2 XnView MP wasting time on loading txt files in folders (for thumbs?)

Post by gyoical »

Yes and no? I don't now how to answer that one. Since I didn't try to generate thumbnails for the folder. It's just what XnView MP seemed to do. Besides, there's nothing to generate since the folder has only txt files.

For example my folder has a scheme like this:

[Folder A] (has images)
[Folder A/text folder] (has 10,000 txt)

When browsing in [Folder A], XnView MP would go through all txt files in [Folder A/text folder] first, seeming for generating thumbnails or for some other reasons.
User avatar
xnview
Author of XnView
Posts: 48148
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: 1.11.2 XnView MP wasting time on loading txt files in folders (for thumbs?)

Post by xnview »

:bugconfirmed: Thanks to your detailed description I can reproduce the problem.
User avatar
xnview
Author of XnView
Posts: 48148
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: 1.11.2 XnView MP wasting time on loading txt files in folders (for thumbs?)

Post by xnview »

This problem is supposed to be fixed in XnView MP 1.11.4. Please check and confirm the bug fix here.