Help on Catalog and thumbnail caching - privacy

Ask for help and post your question on how to use XnView MP.

Moderators: XnTriq, helmut, xnview

mrwul
Posts: 341
Joined: Tue May 25, 2010 7:01 pm

Help on Catalog and thumbnail caching - privacy

Post 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
SnagIt-22082023 072528.png
Thanks!
You do not have the required permissions to view the files attached to this post.
User avatar
xnview
Author of XnView
Posts: 44589
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Help on Catalog and thumbnail caching - privacy

Post by xnview »

Catalog is used for thumbnail caching, and to store rating/tag/categories
Pierre.
mrwul
Posts: 341
Joined: Tue May 25, 2010 7:01 pm

Re: Help on Catalog and thumbnail caching - privacy

Post by mrwul »

What is listed under "Directory" (Settings > Catalog), where is that stored? Do I need that info?
User avatar
xnview
Author of XnView
Posts: 44589
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Help on Catalog and thumbnail caching - privacy

Post by xnview »

Directory?
Pierre.
User avatar
user0
XnThusiast
Posts: 1893
Joined: Sat May 09, 2015 9:37 am

Re: Help on Catalog and thumbnail caching - privacy

Post 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
philalethia
Banned
Posts: 139
Joined: Tue Aug 01, 2023 10:20 am

Re: Help on Catalog and thumbnail caching - privacy

Post 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.
You do not have the required permissions to view the files attached to this post.
User avatar
xnview
Author of XnView
Posts: 44589
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Help on Catalog and thumbnail caching - privacy

Post by xnview »

these are folders that you have browsed
Pierre.
mrwul
Posts: 341
Joined: Tue May 25, 2010 7:01 pm

Re: Help on Catalog and thumbnail caching - privacy

Post 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.
User avatar
xnview
Author of XnView
Posts: 44589
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Help on Catalog and thumbnail caching - privacy

Post 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
Pierre.
philalethia
Banned
Posts: 139
Joined: Tue Aug 01, 2023 10:20 am

Re: Help on Catalog and thumbnail caching - privacy

Post 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.
User avatar
user0
XnThusiast
Posts: 1893
Joined: Sat May 09, 2015 9:37 am

Re: Help on Catalog and thumbnail caching - privacy

Post by user0 »

maybe introducing auto/manual Cataloging switch will balance privacy/speed as currently there is only auto-Cataloging (that is on by default).
Last edited by user0 on Thu Apr 11, 2024 3:17 pm, edited 1 time in total.
mrwul
Posts: 341
Joined: Tue May 25, 2010 7:01 pm

Re: Help on Catalog and thumbnail caching - privacy

Post 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
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.
You do not have the required permissions to view the files attached to this post.