Page 1 of 1

How does the database work in XnView MP?

Posted: Thu Aug 18, 2011 6:52 pm
by stankovic
I hope that some of the more experienced users will help me to understand how the database works. Here is a summary of what i know or believe to know, so please correct me if i am wrong:

When i open in browser mode some images from folder pane then i receive an image list. These images are scanned and the progress of scanning is visible in the progressbar inside of the statusbar. All these viewed folder appear in settings -> cache db -> thumbnails under "cached directory". If i now add some ratings, labels, categories then i will be able to select that images from categories pane and in the filelist toolbar as source not a folder but "<DB result>" will be displayed.

So far so good! But i have no idea what the options in the "Exclude/Include" tab do or what their purpose are?

Re: How does the database work in XnView MP?

Posted: Fri Aug 19, 2011 10:36 am
by xnview
stankovic wrote: So far so good! But i have no idea what the options in the "Exclude/Include" tab do or what their purpose are?
If you add a folder in 'exclude', thumnails will not be saved in database...

Re: How does the database work in XnView MP?

Posted: Wed Aug 24, 2011 6:15 pm
by stankovic
I am not sure if i have understood you, Pierre. When i put a folder in the exclude list i have following: the entry dissappears from the "cached directory" and from database list but appears again when i browse the same folder again in folder pane. Somehow i cannot follow the concept or purpose of that.

Edit:

And in that context: what a sense has the "include" feature.

(Sorry, if my questions seem stupid to you, but i try to understand exactly what is happening)

Re: How does the database work in XnView MP?

Posted: Mon Aug 29, 2011 8:59 am
by xnview
Ok, there is a bug
stankovic wrote: And in that context: what a sense has the "include" feature.
You can exclude c:\picture and want to include c:\picture\tmp

Re: How does the database work in XnView MP?

Posted: Mon Aug 29, 2011 4:35 pm
by stankovic
xnview wrote:Ok, there is a bug
You can exclude c:\picture and want to include c:\picture\tmp
Ah, that makes sense! If i understand correctly these two pages in the preferences are both related to handling of thumbnails rather than database. Wouldn't it be better to rename the preferences page to "Cache thumbnails" to avoid confusion? Because of the name i really thought it must be about the database and confused the Exclude/Include settings with something similar like watched folders.

Out of curiosity: what is the bug? The anew adding of a excluded folder to cached directory probably? The simultaneous removal from database is intended?