Page 1 of 1
Help on Catalog and thumbnail caching - privacy
Posted: Tue Aug 22, 2023 5:34 am
by mrwul
Up front: I use XnViewMP more or less as it is: as a viewer.
So, I am not an expert.
I am looking for 'Help' on Tools > Settings > Catalog and Tools > Settings > Catalog > Enable Thumbnail Caching.
Where can I find it?
For what is it used?
What is being stored?
Background of these questions: I had both above items enabled. That was a long time ago. I never looked at it until now and noticed man (I mean -many!) paths to files that I had opened. Files or paths that did not exist anymore and even entries to files within password protected encrypted partitions, all '0' bytes.
Within a password protected partition, I have a folder XnViewDB with :
Thumb.db (about 2 GB)
XnView.db (about 2MB)
This 'partition' is always unlocked, first thing after boot.
In view of privacy, these paths/filenames (recent file list) where are they stored?
(In XnView.db?)
see screenshot
Thanks!
Re: Help on Catalog and thumbnail caching - privacy
Posted: Tue Aug 22, 2023 6:56 am
by xnview
Catalog is used for thumbnail caching, and to store rating/tag/categories
Re: Help on Catalog and thumbnail caching - privacy
Posted: Tue Aug 22, 2023 12:11 pm
by mrwul
What is listed under "Directory" (Settings > Catalog), where is that stored? Do I need that info?
Re: Help on Catalog and thumbnail caching - privacy
Posted: Tue Aug 22, 2023 4:07 pm
by xnview
Directory?
Re: Help on Catalog and thumbnail caching - privacy
Posted: Tue Aug 22, 2023 4:55 pm
by user0
mrwul wrote: Tue Aug 22, 2023 12:11 pm
What is listed under "Directory" (Settings > Catalog), where is that stored? Do I need that info?
2 files:
xnview wrote: Fri Dec 30, 2016 1:32 pm
Thumb.db contains the cached thumbnails.
XnView.db contains categories, files' info, and ratings.
location depends on your settings:
- app folder OR
- C:\Users\<USER>\AppData\Roaming\XnViewMP
you only need it if you use app Catalog functionality for Tags and Rating, Labels, Categories (stored not inside file as metadata).
eg I use app as viewer only, so I disable it
Re: Help on Catalog and thumbnail caching - privacy
Posted: Tue Aug 22, 2023 6:12 pm
by philalethia
The OP appears to be talking about the part I marked, which hasn't been addressed.
I'd also like to know where it is ...and why it exists, at all. It doesn't appear to really be related to, or necessary for, the Catalog. At least not the XnView.db part. If it's purely related to thumbnails, it should be disabled, if/when you disable thumbnails ...which I have.
Re: Help on Catalog and thumbnail caching - privacy
Posted: Wed Aug 23, 2023 9:42 am
by xnview
these are folders that you have browsed
Re: Help on Catalog and thumbnail caching - privacy
Posted: Sat Aug 26, 2023 8:36 am
by mrwul
As the title of this thread says, from privacy point of view:
- why are they listed?
- how to avoid it?
and
should I enable thumbnail caching, or not?
if not, what is the effect with regards to the speed of XnViewMP? (Does it matter?)
Thanks.
Re: Help on Catalog and thumbnail caching - privacy
Posted: Sat Aug 26, 2023 9:09 am
by xnview
mrwul wrote: Sat Aug 26, 2023 8:36 am
As the title of this thread says, from privacy point of view:
- why are they listed?
- how to avoid it?
You have browsed these folders, you can add them in 'Included/excluded' settings
should I enable thumbnail caching, or not?
yes, you improve the speed of browsing
Re: Help on Catalog and thumbnail caching - privacy
Posted: Sat Aug 26, 2023 6:51 pm
by philalethia
mrwul wrote: Sat Aug 26, 2023 8:36 amshould I enable thumbnail caching, or not?
if not, what is the effect with regards to the speed of XnViewMP? (Does it matter?)
Personally, I always disable thumbnail caching, in every program and OS, so it wont take up space (and, on SSD/flash memory, to avoid frequent instances of writing to it), but the purpose of thumbnail caches, is to speed things up, so that the computer doesn't have to create thumbnails from scratch every time.
Hence, browsing is a bit slower, for me. Barely noticeable, with a small number of files, but it does take a bit of time to properly load, when browsing folders/categories with larger amounts of files.
So it is a matter of priorities.
Re: Help on Catalog and thumbnail caching - privacy
Posted: Sun Aug 27, 2023 12:30 pm
by user0
maybe
introducing auto/manual Cataloging switch will balance privacy/speed as currently there is only auto-Cataloging (that is on by default).
Re: Help on Catalog and thumbnail caching - privacy
Posted: Tue Aug 29, 2023 5:45 am
by mrwul
philalethia wrote: Sat Aug 26, 2023 6:51 pm
mrwul wrote: Sat Aug 26, 2023 8:36 amshould I enable thumbnail caching, or not?
if not, what is the effect with regards to the speed of XnViewMP? (Does it matter?)
Personally, I always disable thumbnail caching, in every program and OS, so it wont take up space (and, on SSD/flash memory, to avoid frequent instances of writing to it), but the purpose of thumbnail caches, is to speed things up, so that the computer doesn't have to create thumbnails from scratch every time.
Hence, browsing is a bit slower, for me. Barely noticeable, with a small number of files, but it does take a bit of time to properly load, when browsing folders/categories with larger amounts of files.
So it is a matter of priorities.
Thanks a lot!
Meanwhile I disabled thumbnail caching as well.
Still puzzled about the folder listing. I believe they only show what folders have been used last.
(AFAIK you cannot double click the folder so as to jump to that folder, neither is there a context menu)
I understand that one can 'exclude' such folders in the 'Exclude-Include' tab. However, over time there are many different folders and one needs to add them to the [Exclude/Include] tab one by one.
As a workaround, it seems to work adding entire drives there... (select one by one from "This PC")
Like this:

- XnView-Settings-Catalog-Exclude drives-29082023 072406.png (24.74 KiB) Viewed 6323 times
Anyway, it could be that this folder listing is of use to others though. For me personally, it would be nice to have an for 'Do not show directory listing' or something like that.