XnView.db always created, even if thumbs cache db disabled

Ideas for improvements and requests for new features in XnView MP

Moderators: XnTriq, xnview

Post Reply
Defenestration
Posts: 47
Joined: Fri Aug 18, 2006 7:08 pm

XnView.db always created, even if thumbs cache db disabled

Post by Defenestration » Mon Jan 17, 2011 3:34 am

Why does XnViewMP put the file XnView.db in the folder, C:\Users\<user name>\AppData\Roaming\XnViewMP, even when thumbnail caching is disabled ?

Can this be fixed in a future version, so the file is only created if thumbnail caching is disabled ?

mahikeulbody
Posts: 139
Joined: Sun Dec 13, 2009 4:54 pm

Re: XnView.db always created, even if thumbs cache db disabl

Post by mahikeulbody » Mon Jan 17, 2011 7:55 am

I think db is not only to cache thumbnail but also to cache exif and others metadata informations.
As I said in another thread, the use of db is confusing IMHO.

User avatar
xnview
Author of XnView
Posts: 31272
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: XnView.db always created, even if thumbs cache db disabl

Post by xnview » Mon Jan 17, 2011 2:07 pm

The database is used for thumbnails cache, but for categories, metadata, ...
Pierre.

Defenestration
Posts: 47
Joined: Fri Aug 18, 2006 7:08 pm

Re: XnView.db always created, even if thumbs cache db disabl

Post by Defenestration » Tue Jan 18, 2011 2:43 am

I prefer to use XnView in portable mode (ie. by having xnview.ini) in the program folder. Even with this, XnViewMP 0.35 still puts files in my C:\Users folder.

When using an .ini file, I would prefer it if all files were created in/under the location of the xnview.exe program folder. This would also allow it to be used on USB pen drives, without leaving any traces.

While checking the registry, I also noticed that Xnview creates a couple of entries, and some are also created by Qt.

Can you make it so that when using a .ini config file, XnView won't create any files, folders outside of the program folder, or registry entries (ie. so no traces will be left at all) ?

Also, what options do I need to disable/change to stop XnView creating the XnView.db file ?

Post Reply