Page 1 of 1
Linux: Unable to delete cached directory
Posted: Mon Jun 29, 2015 5:31 am
by rmtk
I found that I can not delete any directory items in Settings-Browser-Catalog-CachedDirectory, even for deleted directories. All deleted directories reappear when I open settings again.
This bug seems to be Linux specific. On Windows I can delete cached directories successfully.
Re: Linux: Unable to delete cached directory
Posted: Mon Jun 29, 2015 11:54 am
by rmtk
And the thumbnails of deleted files seem to be never removed.
For example, if you remove 2 images from a folder containing 10 images and then click rebuild thumbnails, the cache list would show there are still 10 files in the folder. Even if you then add 3 images into the folder, the cache list would show there are now 13 files in the folder, instead of 11 files actually.
Re: Linux: Unable to delete cached directory
Posted: Mon Jun 29, 2015 12:19 pm
by rmtk
I clicked the optimize button and selected only "remove empty directories", the nonexist cached directory items were not removed.
Then I selected "check for orphaned directories" and "check for orphaned files", all cached directories were gone...

But the two files Thumb.db and XnView.db are still very large, not shrinked at all.
Re: Linux: Unable to delete cached directory
Posted: Wed Jul 01, 2015 12:29 pm
by xnview
i have not the problem. Even with a clean catalog?
Re: Linux: Unable to delete cached directory
Posted: Thu Jul 02, 2015 1:42 pm
by rmtk
Now I find it a very strange bug.
I can't delete the cached directories because I store the images in /home/rm/ALL/Documents/Pictures and its subfolders. If I change the folder name from Pictures to Picture or Pictures1 or Pictured, or change the location to /home/rm/ALL/Pictures, no problem at all! Please investigate it.
Re: Linux: Unable to delete cached directory
Posted: Thu Jul 02, 2015 2:24 pm
by xnview
how do you delete cached directory? You select them, and 'delete'?
Re: Linux: Unable to delete cached directory
Posted: Thu Jul 02, 2015 3:16 pm
by rmtk
Yes. I tried it from a clean catolog, with Thumb.db and Xnview.db removed.
Re: Linux: Unable to delete cached directory
Posted: Fri Jul 03, 2015 8:33 am
by xnview
rmtk wrote:Yes. I tried it from a clean catolog, with Thumb.db and Xnview.db removed.
and xnview.ini removed?
Linux: Unable to delete cached directory
Posted: Mon Jul 06, 2015 4:50 am
by rmtk
No. I don't want to lose my configuration.
If you want to investigate my xnview.ini I can send you.
Re: Linux: Unable to delete cached directory
Posted: Fri Jul 10, 2015 1:18 am
by rmtk
It seems that sometimes cached thumbnails can be removed from "CachedDirectory" window but not actually from the database. On my friend's Windows PC, I see an empty CachedDirectory window, but the size of both Thumb.db and Xnview.db are 100MB+ .
Re: Linux: Unable to delete cached directory
Posted: Mon Jul 13, 2015 9:16 am
by xnview
rmtk wrote:It seems that sometimes cached thumbnails can be removed from "CachedDirectory" window but not actually from the database.
i can't repoduce
On my friend's Windows PC, I see an empty CachedDirectory window, but the size of both Thumb.db and Xnview.db are 100MB+ .
you need to click on optimize to reduce the size of database
Re: Linux: Unable to delete cached directory
Posted: Tue Jul 14, 2015 3:13 pm
by rmtk
Yes, optimize clean them all.
However I still have no idea why the folder /home/rm/ALL/Documents/Pictures is so strange on my computer...