Image loading is abnormally slow v1.12.2 (win11) [Solved]

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

Moderators: xnview, Dreamer

alee001
Posts: 340
Joined: Sun Sep 04, 2022 4:43 am

Image loading is abnormally slow v1.12.2 (win11) [Solved]

Post by alee001 »

Since updating to this version, both previewing thumbnails and adding batch files have been loading abnormally slowly. For example, after adding 103 JPEG images (approximately 33MB) to the folder, it took more than a minute to load the thumbnails!?
You do not have the required permissions to view the files attached to this post.
Last edited by alee001 on Thu Oct 22, 2026 2:01 pm, edited 1 time in total.
User avatar
xnview
Author of XnView
Posts: 49096
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Image loading is abnormally slow v1.12.2 (win11)

Post by xnview »

if you restart xnview in this folder, no slow thumbnails loading?
If you try to 'View>rebuild thumbnails' on these 103 files?
jpeg have embedded thumbnail?
alee001
Posts: 340
Joined: Sun Sep 04, 2022 4:43 am

Re: Image loading is abnormally slow v1.12.2 (win11)

Post by alee001 »

xnview wrote: Tue Oct 20, 2026 4:28 pm if you restart xnview in this folder, no slow thumbnails loading?
If you try to 'View>rebuild thumbnails' on these 103 files?
jpeg have embedded thumbnail?
This doesn't happen with individual folders or when adding new files, but every time I open a program or switch between folders or images with over a thousand thumbnails, even when I press F5 or Shift+F5 to rebuild the thumbnails.
User avatar
xnview
Author of XnView
Posts: 49096
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Image loading is abnormally slow v1.12.2 (win11)

Post by xnview »

do you use thumbnail caching?
1.11.7 works correctly?
We need the logs when changing debug=2 in your xnview.ini
alee001
Posts: 340
Joined: Sun Sep 04, 2022 4:43 am

Re: Image loading is abnormally slow v1.12.2 (win11)

Post by alee001 »

xnview wrote: Wed Oct 21, 2026 4:27 pm do you use thumbnail caching?
1.11.7 works correctly?
We need the logs when changing debug=2 in your xnview.ini
The current settings are shown in the image. If these settings cause loading problems, please advise.

Also, strangely, the currently used xnview.ini file cannot be found in the path; only two backup ini files are present.
You do not have the required permissions to view the files attached to this post.
User avatar
xnview
Author of XnView
Posts: 49096
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Image loading is abnormally slow v1.12.2 (win11)

Post by xnview »

alee001 wrote: Thu Oct 22, 2026 2:27 am Also, strangely, the currently used xnview.ini file cannot be found in the path; only two backup ini files are present.
what do you have in settings>Paths?

1.11.7 works correctly?
We need the logs when changing debug=2 in your xnview.ini
alee001
Posts: 340
Joined: Sun Sep 04, 2022 4:43 am

Re: Image loading is abnormally slow v1.12.2 (win11)

Post by alee001 »

xnview wrote: Thu Oct 22, 2026 6:01 am
alee001 wrote: Thu Oct 22, 2026 2:27 am Also, strangely, the currently used xnview.ini file cannot be found in the path; only two backup ini files are present.
what do you have in settings>Paths?

1.11.7 works correctly?
We need the logs when changing debug=2 in your xnview.ini
Why is xnview.ini located in C:\ProgramData\XnViewMP instead of C:\Users\xxx\AppData\Roaming\XnViewMP? (See attached reference.)

The slow loading times are as follows:

v1.11.7 (Normal) < v1.12.1 (Medium) < v1.12.2 (Severe)
You do not have the required permissions to view the files attached to this post.
User avatar
xnview
Author of XnView
Posts: 49096
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Image loading is abnormally slow v1.12.2 (win11)

Post by xnview »

alee001 wrote: Thu Oct 22, 2026 7:28 am Why is xnview.ini located in C:\ProgramData\XnViewMP instead of C:\Users\xxx\AppData\Roaming\XnViewMP? (See attached reference.)
You have configured it like that, the default is Roaming

What is the filesize of your .db?
could you try to disable Catalog>'maximum size ...'?
The slow loading times are as follows:

v1.11.7 (Normal) < v1.12.1 (Medium) < v1.12.2 (Severe)
Please send me logs of 1.11.7 & 1.12.2. i'm not able to reproduce...
alee001
Posts: 340
Joined: Sun Sep 04, 2022 4:43 am

Re: Image loading is abnormally slow v1.12.2 (win11)

Post by alee001 »

xnview wrote: Thu Oct 22, 2026 8:30 am
alee001 wrote: Thu Oct 22, 2026 7:28 am Why is xnview.ini located in C:\ProgramData\XnViewMP instead of C:\Users\xxx\AppData\Roaming\XnViewMP? (See attached reference.)
You have configured it like that, the default is Roaming

What is the filesize of your .db?
could you try to disable Catalog>'maximum size ...'?
The slow loading times are as follows:

v1.11.7 (Normal) < v1.12.1 (Medium) < v1.12.2 (Severe)
Please send me logs of 1.11.7 & 1.12.2. i'm not able to reproduce...
I've never changed the xnview.ini setting to the path ProgramData\ unless a new version changes the behavior.

Disabling Catalog>maximum size might be the reason (in all versions), but why does using it slow down the program, and is it necessary?
Last edited by alee001 on Thu Oct 22, 2026 2:03 pm, edited 1 time in total.
User avatar
user0
XnThusiast
Posts: 3209
Joined: Sat May 09, 2015 9:37 am

Re: Image loading is abnormally slow v1.12.2 (win11)

Post by user0 »

alee001 wrote: Thu Oct 22, 2026 1:09 pm
xnview wrote: Thu Oct 22, 2026 8:30 am
alee001 wrote: Thu Oct 22, 2026 7:28 am Why is xnview.ini located in C:\ProgramData\XnViewMP instead of C:\Users\xxx\AppData\Roaming\XnViewMP? (See attached reference.)
You have configured it like that, the default is Roaming
I've never changed the xnview.ini setting to the path ProgramData\ unless a new version changes the behavior.
alee001 wrote: Tue Sep 01, 2026 5:01 am After trying various options, I finally found the relevant setting. As shown in the image, changing it to "Location machine" applied to all folders.
is it you?

also do you understand why you db is >4Gb?
if not:
1. make backup of XnView.db
2. run Maintenance with first 5 checkboxes checked
    in Settings>Catalog>Maintenance
alee001
Posts: 340
Joined: Sun Sep 04, 2022 4:43 am

Re: Image loading is abnormally slow v1.12.2 (win11)

Post by alee001 »

user0 wrote: Thu Oct 22, 2026 1:27 pm
alee001 wrote: Thu Oct 22, 2026 1:09 pm
xnview wrote: Thu Oct 22, 2026 8:30 am
You have configured it like that, the default is Roaming
I've never changed the xnview.ini setting to the path ProgramData\ unless a new version changes the behavior.
alee001 wrote: Tue Sep 01, 2026 5:01 am After trying various options, I finally found the relevant setting. As shown in the image, changing it to "Location machine" applied to all folders.
is it you?

also do you understand why you db is >4Gb?
if not:
1. make backup of XnView.db
2. run Maintenance with first 5 checkboxes checked
    in Settings>Catalog>Maintenance
The old version path should be retained during reinstallation.

Thank you for your suggestion. Please reduce unnecessary .db files, except for XnView.db.
User avatar
xnview
Author of XnView
Posts: 49096
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Image loading is abnormally slow v1.12.2 (win11)

Post by xnview »

alee001 wrote: Thu Oct 22, 2026 1:44 pm The old version path should be retained during reinstallation.
xnview.ini is not changed during installation
alee001
Posts: 340
Joined: Sun Sep 04, 2022 4:43 am

Re: Image loading is abnormally slow v1.12.2 (win11)

Post by alee001 »

xnview wrote: Thu Oct 22, 2026 2:45 pm
alee001 wrote: Thu Oct 22, 2026 1:44 pm The old version path should be retained during reinstallation.
xnview.ini is not changed during installation
Yes, updates will be retained, but reinstallation will be the default.
HanVroon
Posts: 243
Joined: Thu Jan 28, 2010 7:30 am

Re: Image loading is abnormally slow v1.12.2 (win11) [Solved]

Post by HanVroon »

Hi,

As I read this topic, I noticed the line:
Why is xnview.ini located in C:\ProgramData\XnViewMP instead of C:\Users\xxx\AppData\Roaming\XnViewMP? (See attached reference.)

This is a bug, I noticed it over a month ago and forgot about it.
If, In Settings, you select Integration or subitem Path, don't change anything, just press OK, C:\ProgramData\XnViewMP\xnview.ini is created.
I'll try to remember to create a bug report for this.

Bt.w.: the original ini is gone then, so you need to put it back to where it belongs.
alee001
Posts: 340
Joined: Sun Sep 04, 2022 4:43 am

Re: Image loading is abnormally slow v1.12.2 (win11)

Post by alee001 »

HanVroon wrote: Thu Oct 22, 2026 6:48 pm Hi,

As I read this topic, I noticed the line:
Why is xnview.ini located in C:\ProgramData\XnViewMP instead of C:\Users\xxx\AppData\Roaming\XnViewMP? (See attached reference.)

This is a bug, I noticed it over a month ago and forgot about it.
If, In Settings, you select Integration or subitem Path, don't change anything, just press OK, C:\ProgramData\XnViewMP\xnview.ini is created.
I'll try to remember to create a bug report for this.

Bt.w.: the original ini is gone then, so you need to put it back to where it belongs.
Thank you for your attention. I initially set the path to change the location of the database file, never imagining it would move the core files!

Just imagine what it would be like if users could customize the path in win.ini?