v1.10.5 Metadata read lag.
Moderators: xnview, Dreamer
-
FKCapitalism2
- Posts: 398
- Joined: Sun Apr 23, 2023 5:14 am
v1.10.5 Metadata read lag.
I am not sure if this is related with huge list of metadata in info panel, but this also happens when i click on the image in thumbnails view so i think its unrelated to info panel.
1. Extract files and double click 01.jpg it opens in full screen,
2. Switch to thumbnails view to show all three files
3. Click with mouse over 02.jpg (phone charger image) - this will trigger the lag for couple seconds, sometimes 5-10 seconds.
Sometimes after initial lag for 5-10 seconds and XnViewMP hanging when i click away from that thumbnail and go back it has zero lag this probably because it updates database so if you can't reproduce problem second time try deleting database.
If can't reproduce at all try my XnViewMP config (also included).
Source files: https://www.upload.ee/files/19245905/Me ... g.zip.html
1. Extract files and double click 01.jpg it opens in full screen,
2. Switch to thumbnails view to show all three files
3. Click with mouse over 02.jpg (phone charger image) - this will trigger the lag for couple seconds, sometimes 5-10 seconds.
Sometimes after initial lag for 5-10 seconds and XnViewMP hanging when i click away from that thumbnail and go back it has zero lag this probably because it updates database so if you can't reproduce problem second time try deleting database.
If can't reproduce at all try my XnViewMP config (also included).
Source files: https://www.upload.ee/files/19245905/Me ... g.zip.html
-
xnview
- Author of XnView
- Posts: 47669
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
-
FKCapitalism2
- Posts: 398
- Joined: Sun Apr 23, 2023 5:14 am
Re: v1.10.5 Metadata read lag.
Yes as soon as you highlight 2.jpg in browser XnViewMP starts to lag and being frozen and CPU load grows.
I double checked its because of what i put in Info Panel because when i delete everything in Settings > View > Info no more lag, but i am not sure why does Info Panel also affect browser mode.
-
FKCapitalism2
- Posts: 398
- Joined: Sun Apr 23, 2023 5:14 am
Re: v1.10.5 Metadata read lag.
Checked the more calls to {ExifTool:...} the more lag on some images.
e.g. if you put {ExifTool:MeteringMode} in Info Tab multiple times like 20 times you see lag grows significantly versus using it just one time, i think each request run independently or something and not cached in DB.
For instance this image lags very long time when clicked in viewer or when switching to it using full screen mode with arrow keys (page up / page dn): https://www.upload.ee/files/19249504/lag.zip.html
e.g. if you put {ExifTool:MeteringMode} in Info Tab multiple times like 20 times you see lag grows significantly versus using it just one time, i think each request run independently or something and not cached in DB.
For instance this image lags very long time when clicked in viewer or when switching to it using full screen mode with arrow keys (page up / page dn): https://www.upload.ee/files/19249504/lag.zip.html
-
xnview
- Author of XnView
- Posts: 47669
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: v1.10.5 Metadata read lag.
Do you use exiftool in database?FKCapitalism2 wrote: Tue Apr 14, 2026 1:14 pm e.g. if you put {ExifTool:MeteringMode} in Info Tab multiple times like 20 times you see lag grows significantly versus using it just one time, i think each request run independently or something and not cached in DB.
you can send us the logs (debug=2 in xnview.ini) when you select the file?
Pierre.
-
jkm
- Posts: 480
- Joined: Sat May 11, 2024 12:43 am
Re: v1.10.5 Metadata read lag.
It sounds like it's just a matter that you don't have the app configured to store Exiftool metadata in the database.FKCapitalism2 wrote: Tue Apr 14, 2026 1:14 pm e.g. if you put {ExifTool:MeteringMode} in Info Tab multiple times like 20 times you see lag grows significantly versus using it just one time, i think each request run independently or something and not cached in DB.
1. Settings:Metadata Exiftool=ENABLED
2. Settings:Catalog "Update Metadata"
3. Restart app.
For more information, read the "New Features" guide. viewtopic.php?t=50370
jkm wrote: Tue Dec 02, 2025 10:28 am Lastly, if you have this feature turned on, then using {Exiftool:} items in Labels will be instantaneous, since it will pull the information from the database, instead of using exiftool to re-read the information from the files every time you browse a folder.
-
user0
- XnThusiast
- Posts: 2878
- Joined: Sat May 09, 2015 9:37 am
Re: v1.10.5 Metadata read lag.
I can reproduce with any image filesFKCapitalism2 wrote: Tue Apr 14, 2026 1:14 pm e.g. if you put {ExifTool:MeteringMode} in Info Tab multiple times like 20 times you see lag grows significantly versus using it just one time, i think each request run independently or something and not cached in DB.
issue disappears if Preview pane is closed
actually there are few issuesxnview wrote: Tue Apr 14, 2026 4:12 pm Do you use exiftool in database?
you can send us the logs (debug=2 in xnview.ini) when you select the file?
A
as OP described above
B
lag also exists with default settings - when Import Exiftool values is OFF in Settings>Metadata
in this case all {ExifTool:..} tags should be ignored (like in Advanced search)
-
FKCapitalism2
- Posts: 398
- Joined: Sun Apr 23, 2023 5:14 am
Re: v1.10.5 Metadata read lag.
Thanks for info, however this fixes the problem for full screen view only, after pressing "update metadata" it does not lag in full screen view anymore. For thumbnail/browser view lag still exists even after pressing "update metadata".jkm wrote: Tue Apr 14, 2026 5:53 pm It sounds like it's just a matter that you don't have the app configured to store Exiftool metadata in the database.
1. Settings:Metadata Exiftool=ENABLED
2. Settings:Catalog "Update Metadata"
3. Restart app.
Also i deleted the whole database and XnViewMP build a new database after opening folder with images, yet i am still forced to press Update Metadata for saving ExifTool metadata in database it does not save automatically when adding new images to database.
After disabling "preview panel" in thumbnails mode i don't need to press Update Metadata anymore XnViewMP automatically saves metadata in database now after viewing image in full screen.
Note even with preview panel disabled - every image is open in full screen for a first time it lags significantly and program freezes i assume its because initial ExifTool info read process not optimized.
-
xnview
- Author of XnView
- Posts: 47669
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: v1.10.5 Metadata read lag.
i don't thinkin this case all {ExifTool:..} tags should be ignored (like in Advanced search)
You have now Exiftool fields in database, you select a file in browser and you have the lag with 20 {ExifTool:..} fields in Settings>View>Info ?FKCapitalism2 wrote: Tue Apr 14, 2026 7:54 pm Thanks for info, however this fixes the problem for full screen view only, after pressing "update metadata" it does not lag in full screen view anymore. For thumbnail/browser view lag still exists even after pressing "update metadata".
Do you have a way to reproduce?Also i deleted the whole database and XnViewMP build a new database after opening folder with images, yet i am still forced to press Update Metadata for saving ExifTool metadata in database it does not save automatically when adding new images to database.
yes, the first time Exiftool needs to be startedNote even with preview panel disabled - every image is open in full screen for a first time it lags significantly and program freezes i assume its because initial ExifTool info read process not optimized.
Pierre.
-
jkm
- Posts: 480
- Joined: Sat May 11, 2024 12:43 am
Re: v1.10.5 Metadata read lag.
This bit is notable:
If you are still having this problem, where the exiftool data is not updating when adding new images, then don't try to "fix" it. Instead:
1. Close the App.
2. Zip up a copy of your db files and your ini file, together with at least some of the files that don't get their exiftool info, and make that available to Pierre.
3. Document the specific path where the files are not getting updated.
Your configuration needs to be examined in its broken state.
Once that is done, restart the app and do Settings:Catalog:Maintenance, with Optimize database and all the Clean Up options checked. (Purge options NOT checked).
When that is complete, you can go to the files missing the metadata and do an "update metadata from files" to populate for those files.
After that, see if the problem of missing exiftool data when adding new files is magically fixed. If it is, repeat the archive procedure above and make the "working" db and ini files available to Pierre as well, so he can compare.
Also pay attention if the problem occurs in the future. It would be helpful if you can establish any pattern for when it occurs.
First, verify the Exiftool box is checked in Settings:Metadata. (It needs to be checked if you expect Exiftool data to work.) If it is, then...FKCapitalism2 wrote: Tue Apr 14, 2026 7:54 pm Also i deleted the whole database and XnViewMP build a new database after opening folder with images, yet i am still forced to press Update Metadata for saving ExifTool metadata in database it does not save automatically when adding new images to database.
If you are still having this problem, where the exiftool data is not updating when adding new images, then don't try to "fix" it. Instead:
1. Close the App.
2. Zip up a copy of your db files and your ini file, together with at least some of the files that don't get their exiftool info, and make that available to Pierre.
3. Document the specific path where the files are not getting updated.
Your configuration needs to be examined in its broken state.
Once that is done, restart the app and do Settings:Catalog:Maintenance, with Optimize database and all the Clean Up options checked. (Purge options NOT checked).
When that is complete, you can go to the files missing the metadata and do an "update metadata from files" to populate for those files.
After that, see if the problem of missing exiftool data when adding new files is magically fixed. If it is, repeat the archive procedure above and make the "working" db and ini files available to Pierre as well, so he can compare.
Also pay attention if the problem occurs in the future. It would be helpful if you can establish any pattern for when it occurs.
-
FKCapitalism2
- Posts: 398
- Joined: Sun Apr 23, 2023 5:14 am
Re: v1.10.5 Metadata read lag.
I do not know what exactly causes the lag upon first time reading the {ExifTool:..} fields, but from my observation more {ExifTool:..} fields i use in info panel the longer XnViewMP lags, so i assume its doing each {ExifTool:..} request as separate ExifTool.exe instance, but its just a guess.xnview wrote: Wed Apr 15, 2026 1:15 pmYou have now Exiftool fields in database, you select a file in browser and you have the lag with 20 {ExifTool:..} fields in Settings>View>Info ?FKCapitalism2 wrote: Tue Apr 14, 2026 7:54 pm Thanks for info, however this fixes the problem for full screen view only, after pressing "update metadata" it does not lag in full screen view anymore. For thumbnail/browser view lag still exists even after pressing "update metadata".
-
xnview
- Author of XnView
- Posts: 47669
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: v1.10.5 Metadata read lag.
and do you reproduce
Also i deleted the whole database and XnViewMP build a new database after opening folder with images, yet i am still forced to press Update Metadata for saving ExifTool metadata in database it does not save automatically when adding new images to database.
Pierre.
-
FKCapitalism2
- Posts: 398
- Joined: Sun Apr 23, 2023 5:14 am
Re: v1.10.5 Metadata read lag.
Update i can't reproduce the issue anymore in v1.10.5.xnview wrote: Thu Apr 16, 2026 6:21 am and do you reproduceAlso i deleted the whole database and XnViewMP build a new database after opening folder with images, yet i am still forced to press Update Metadata for saving ExifTool metadata in database it does not save automatically when adding new images to database.
Only bug i can reproduce even though {ExifTool:..} tags saved to database properly. In thumbnail/browser mode XnViewMP lags substantially when selecting thumbnail of image 02.jpg and 04.jpg and this is related to having many {ExifTool:..} tags in Settings > View > Info.
Which is not normal because Settings > View > Info panel values are not shown in thumbnail/browser mode so they should not affect thumbnail/browser mode at all.
Source files: https://www.upload.ee/files/19254578/La ... n.zip.html
-
xnview
- Author of XnView
- Posts: 47669
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: v1.10.5 Metadata read lag.
FKCapitalism2 wrote: Thu Apr 16, 2026 6:39 am Only bug i can reproduce even though {ExifTool:..} tags saved to database properly. In thumbnail/browser mode XnViewMP lags substantially when selecting thumbnail of image 02.jpg and 04.jpg and this is related to having many {ExifTool:..} tags in Settings > View > Info.
Which is not normal because Settings > View > Info panel values are not shown in thumbnail/browser mode so they should not affect thumbnail/browser mode at all.
Pierre.
-
xnview
- Author of XnView
- Posts: 47669
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: v1.10.5 Metadata read lag.
This problem is supposed to be fixed in XnView MP 1.11.1. Please check and confirm the bug fix here.
Pierre.