I wonder if I am the only one constantly bothered by this one. I use XnView in two ways:
- start a pic file via the Total Commander to see what it is. This happens in some different directories, like my download folder etc.
- having a library of all my personal digicam pics, use XnView to browse and view these (lots of).
I need the cache (database) only for the thumbnails of case number two. In case number one one there is zero need for a cache behaviour. In fact it just blows up the database with nonsense.
Therefore I don't understand why it is not possible to explicitely tell the database which folders to look for.
To maintain a clean and useful cache is very simple and takes maybe just 5 minutes to program: add an option next to 'Enable caching' called 'Stop fill cache'.
OR change XnViews behaviour so that when I call it via the Total Commander or Windows Explorer by double click on a file to not add this file to the cache.
Please...
Enable caching but disable filling the cache
Moderators: XnTriq, helmut, xnview
-
- Posts: 251
- Joined: Sat Nov 17, 2007 7:53 am
- Location: Germany
-
- Author of XnView
- Posts: 44593
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Enable caching but disable filling the cache
You can use option/General/'fullscreen edit' to not start in browser modepic_viewer wrote:OR change XnViews behaviour so that when I call it via the Total Commander or Windows Explorer by double click on a file to not add this file to the cache.
Pierre.
-
- Posts: 251
- Joined: Sat Nov 17, 2007 7:53 am
- Location: Germany
Thanks for pointing out this option (cool!).
But it does not solve the problem. Two examples:
- I open a file via TC in a directory but it is not the one I was looking for. To quickly find the correct one I hit Enter and the Fullscreen edit changes to browser mode. Exactly what I want, but now the cache is filled again with information that I don't want in the cache. I have a really quick computer, so in cases like this caching does not save me valuable time. It works perfectly without.
- From time to time you will use the dir tree in the left pane to navigate to a different directory. There is NO way to avoid loading lots of crap into the cache database when doing this, as you will have to click on several points in the tree to get to the desired destination, and each time you activate an 'unwanted' directory where XnView starts caching 'unwanted' information. I really hate when I click within the tree and XnView starts to cache dozens of subfolders that I have no interest in.
The option 'Stop fill cache' would get rid of all this.
But it does not solve the problem. Two examples:
- I open a file via TC in a directory but it is not the one I was looking for. To quickly find the correct one I hit Enter and the Fullscreen edit changes to browser mode. Exactly what I want, but now the cache is filled again with information that I don't want in the cache. I have a really quick computer, so in cases like this caching does not save me valuable time. It works perfectly without.
- From time to time you will use the dir tree in the left pane to navigate to a different directory. There is NO way to avoid loading lots of crap into the cache database when doing this, as you will have to click on several points in the tree to get to the desired destination, and each time you activate an 'unwanted' directory where XnView starts caching 'unwanted' information. I really hate when I click within the tree and XnView starts to cache dozens of subfolders that I have no interest in.
The option 'Stop fill cache' would get rid of all this.
-
- Author of XnView
- Posts: 44593
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Yes as soon as you go to browser, the db is filledpic_viewer wrote: - I open a file via TC in a directory but it is not the one I was looking for. To quickly find the correct one I hit Enter and the Fullscreen edit changes to browser mode. Exactly what I want, but now the cache is filled again with information that I don't want in the cache. I have a really quick computer, so in cases like this caching does not save me valuable time. It works perfectly without.
So perhaps a solution like XnViewMP (excluded folder)?
Pierre.
-
- XnThusiast
- Posts: 4441
- Joined: Sun Oct 17, 2004 4:57 am
- Location: Bordeaux, France
CD <DIR>
Pierre
Hello !
• Whether the CD <DIR> command should work from a button in the browser,
this could also help when starting it with no folder (like I do).
- It's faster than to use the Favourites list, and doesn't fill the cache uselessly…
- It could also work from the view mode by opening only the folder of the current image one opened from TC…
KR
Claude
Clo
Hello !
• Whether the CD <DIR> command should work from a button in the browser,
this could also help when starting it with no folder (like I do).
- It's faster than to use the Favourites list, and doesn't fill the cache uselessly…
- It could also work from the view mode by opening only the folder of the current image one opened from TC…
KR
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice •
-
- Posts: 251
- Joined: Sat Nov 17, 2007 7:53 am
- Location: Germany
This is somehow disappointing for me. Such a simple and useful feature and nobody is interested...well guys, I solved the problem myself. I rebuilt the xnview.db carefully by only adding the paths/folders that need to be in it. Then I set the read-only flag on this file. Fortunately XnView continues with its normal operation, no crash, no problem - and my database stays fully optimized all day.
Setting this flag via the TC is maybe even easier than in XnViews options dialog (I am sure I would have to search half an hour until I find it).
Thanks.
Setting this flag via the TC is maybe even easier than in XnViews options dialog (I am sure I would have to search half an hour until I find it).
Thanks.
-
- XnThusiast
- Posts: 2005
- Joined: Tue Jul 17, 2007 1:17 am
- Location: France
Hello,
Yes, I think it's a good idea to have an extra option: "stop to fill the existing thumbnails cache" for leaving the cache as it is.
By this way it will be possible to use the existing thumbnails cache (optimized, so not too big) for some folders, and do not allow the cache filling for some others folders.
-----------------------
But better, maybe a contextual option in the browser mode (tree view) for each folders (right mouse click):
- allow the cache filling for this folder
or
- allow the cache filling for this folder and sub-folders too
(by default = Do not allow the cache filling).
Or my favorite way, more sophisticated and powerful (~ like Chmod in UNIX):
111 = allow the read write cache (7)
000 = do not allow read write cache (0)
101 = allow the read, do not allow write, allow cache (5)
110 = allow the read and write, but do not allow the cache filling(6)
100 = allow read, but do not allow the write and the cache (4) (* maybe by default)
...
...
Yes, I think it's a good idea to have an extra option: "stop to fill the existing thumbnails cache" for leaving the cache as it is.
By this way it will be possible to use the existing thumbnails cache (optimized, so not too big) for some folders, and do not allow the cache filling for some others folders.
-----------------------
But better, maybe a contextual option in the browser mode (tree view) for each folders (right mouse click):
- allow the cache filling for this folder
or
- allow the cache filling for this folder and sub-folders too
(by default = Do not allow the cache filling).
Or my favorite way, more sophisticated and powerful (~ like Chmod in UNIX):
111 = allow the read write cache (7)
000 = do not allow read write cache (0)
101 = allow the read, do not allow write, allow cache (5)
110 = allow the read and write, but do not allow the cache filling(6)
100 = allow read, but do not allow the write and the cache (4) (* maybe by default)
...
...
XnViewMP Linux X64 - Debian - X64
-
- Posts: 69
- Joined: Sun Sep 16, 2007 10:29 pm
-
- XnThusiast
- Posts: 2005
- Joined: Tue Jul 17, 2007 1:17 am
- Location: France
Black & White list functionality
The easier way is to have a black and a white list functionality for the cache.
A- a White list to do only that: Exclude all exept these folders and subfolders...
B- a black list to do only that: Include all exept these folders and subfolders...
See here:
http://newsgroup.xnview.com/viewtopic.php?p=69262#69262
A- a White list to do only that: Exclude all exept these folders and subfolders...
B- a black list to do only that: Include all exept these folders and subfolders...
See here:
http://newsgroup.xnview.com/viewtopic.php?p=69262#69262
XnViewMP Linux X64 - Debian - X64