Page 1 of 1

Incorrect settings

Posted: Sun Sep 11, 2022 2:49 pm
by artsi
XnViewMP 1.3.0 appimage on debian.

Question 2:

I must have some wrong settings, but which one?

Every time I click on a directory, xnviewmp rescan the directory and it seems to rebuild the thumbnails, every time. I only have 1 directory with only 700 images on my SSD drive and every operation takes about 20 seconds, because it rebuilds the thumbnails every time.

Shouldn't it cache the already built thumbnails?

Obviously I did something wrong but I don't know what.

Question 2:

Is there a way of restricting the image scanning to only 1 directory + the subdirectories. I don't need anything else. I'd like something:

include /home/artsi/photos
exclude /home/artsi

Thanks

Re: Incorrect settings

Posted: Mon Sep 12, 2022 12:10 pm
by xnview
artsi wrote: Sun Sep 11, 2022 2:49 pm Shouldn't it cache the already built thumbnails?
yes, what do you have in settings>catalog?
Is there a way of restricting the image scanning to only 1 directory + the subdirectories. I don't need anything else. I'd like something:

include /home/artsi/photos
exclude /home/artsi
yes in settings>Catalog - excluded

Re: Incorrect settings

Posted: Mon Sep 12, 2022 2:43 pm
by artsi
xnview wrote: Mon Sep 12, 2022 12:10 pm
artsi wrote: Sun Sep 11, 2022 2:49 pm Shouldn't it cache the already built thumbnails?
yes, what do you have in settings>catalog?

Here's the screenshot. The other tabs excluded/included and tools are empty.

If I change from the darktable directory to the next export, when I come back to the darktable directory if rescan and rebuild the thumbnails which takes around 20 seconds (754 objects)

Thanks

Re: Incorrect settings

Posted: Tue Sep 13, 2022 5:57 am
by xnview
why do you have a 'base path'?

Re: Incorrect settings

Posted: Tue Sep 13, 2022 3:38 pm
by artsi
xnview wrote: Tue Sep 13, 2022 5:57 am why do you have a 'base path'?
Because that's where the base of the images on this drive are located.

For testing purposing, I just removed the base path and it makes no difference.

Any time I switch directory or operation, XnViewMP rebuilds something. The bar under the info/preview/categories/sets goes 10%,20%,... takes between 20 to 30 seconds (with the base path or without the base path).

I also have deleted all of my configs from the ~/.config/xnviewmp directory and started fresh without any setting changed and it still does the same thing.

Thanks

Re: Incorrect settings

Posted: Tue Sep 13, 2022 3:42 pm
by xnview
artsi wrote: Tue Sep 13, 2022 3:38 pm
xnview wrote: Tue Sep 13, 2022 5:57 am why do you have a 'base path'?
Because that's where the base of the images on this drive are located.
'Base path' is used to shared folder between multiple computers

Any time I switch directory or operation, XnViewMP rebuilds something. The bar under the info/preview/categories/sets goes 10%,20%,... takes between 20 to 30 seconds (with the base path or without the base path).

I also have deleted all of my configs from the ~/.config/xnviewmp directory and started fresh without any setting changed and it still does the same thing.
do you have a .db in the xnviewmp folder?

Re: Incorrect settings

Posted: Tue Sep 13, 2022 4:06 pm
by artsi
xnview wrote: Tue Sep 13, 2022 3:42 pm [do you have a .db in the xnviewmp folder?
Just checked and did a global search and no I don't have one.

How do I create it?

Thanks

Re: Incorrect settings

Posted: Tue Sep 13, 2022 7:26 pm
by artsi
xnview wrote: Tue Sep 13, 2022 3:42 pm [do you have a .db in the xnviewmp folder?
Further info:

When checking the config xnview.ini, I have in the start section:

Code: Select all

LastFilename=
OpenWith=@Invalid()
OpenWithName=@Invalid()
OpenWithParam=@Invalid()
PathBrowser=/home/froggy/temp/darktable/
RecentFiles=@Invalid()
checkFreq=0
customPath=/home/froggy/temp/darktable/
dbFlag=1
dbFolder=
dbThumbFlag=3
dbThumbFolder=
debug=0

The dbfolder and the dbthumbfolder entries are empty

Thanks

Re: Incorrect settings

Posted: Wed Sep 14, 2022 6:46 am
by xnview
your .db should be in /home/froggy/temp/darktable/

Re: Incorrect settings

Posted: Wed Sep 14, 2022 1:39 pm
by artsi
xnview wrote: Wed Sep 14, 2022 6:46 am your .db should be in /home/froggy/temp/darktable/
It's not there. It doesn't exist.

Code: Select all

find -name "*iew.db" -print
from the home directory, it returns nothing

Thanks

Re: Incorrect settings

Posted: Wed Sep 14, 2022 3:01 pm
by xnview
/home/froggy/temp/darktable/ is normal to save settings?? you have the rights?

Re: Incorrect settings

Posted: Wed Sep 14, 2022 8:11 pm
by artsi
xnview wrote: Wed Sep 14, 2022 3:01 pm /home/froggy/temp/darktable/ is normal to save settings?? you have the rights?
Oh yes, I do. I write there all the time. That's where I do my darktable processing.

I will be deleting everything (xnview) and restarting from zero and see what happens.

Thanks