Page 1 of 1
0.83: Custom catalog default path
Posted: Thu Oct 20, 2016 6:19 am
by jadO
If the custom catalog path does not exist, XnviewMP does not complain or crash. So how exactly does it handle this situation? Where does it store the catalog database files in this case?
Re: Custom catalog default path
Posted: Thu Oct 20, 2016 7:35 am
by xnview
when you edit it in Settings?
Re: Custom catalog default path
Posted: Wed Oct 26, 2016 3:11 am
by jadO
xnview wrote:when you edit it in Settings?
No. When I remove the paths from xnview.ini.
Re: Custom catalog default path
Posted: Wed Oct 26, 2016 8:13 am
by xnview
in this case XnView must choose user path
See
Issue 1009 for details.
Re: Custom catalog default path
Posted: Wed Oct 26, 2016 10:49 am
by jadO
xnview wrote:in this case XnView must choose user path
See
Issue 1009 for details.
It seems that currentl it uses "some" path, I looked into the user folder and did not see anything XnViewMP related.
Re: Custom catalog default path
Posted: Thu Dec 01, 2016 7:29 am
by jadO
xnview wrote:in this case XnView must choose user path
You know what? I think in this case it should NOT use the users path. I think it should use the system TEMP path.
Re: Custom catalog default path
Posted: Thu Dec 01, 2016 10:04 am
by cday
jadO wrote:xnview wrote:in this case XnView must choose user path
I think in this case it should NOT use the users path. I think it should use the system TEMP path.
Could you explain your reasoning?
Re: Custom catalog default path
Posted: Thu Dec 01, 2016 1:33 pm
by jadO
cday wrote:jadO wrote:xnview wrote:in this case XnView must choose user path
I think in this case it should NOT use the users path. I think it should use the system TEMP path.
Could you explain your reasoning?
I am seeing this from a portable users perspective where you want to leave as few data as possible on an external computer. For that I think the TEMP dir is the perfect place for XnVIEWMP to put data on if a custom path is empty or not present.
In those cases the data gets wiped automatically with a system cleanup rather than stay in a users folder forever.
Edit: For the portable version it might even be better to default to the application dir in case the custom path is empty or not found. So data do not get spread over an external computer. There is one bad situation though when using ffmpeg as this seems to utilize the systems temp folder for creating thumbnails and sometimes not properly delete them. It would be helpful to be able to explicitely set a temp folder for those kind of operations.
Re: Custom catalog default path
Posted: Mon Dec 19, 2016 5:18 am
by helmut
This problem is supposed to be fixed in XnView MP 0.84 beta 3. Could you please confirm the bug fix, jad0?
Re: Custom catalog default path
Posted: Sun Mar 19, 2017 2:08 pm
by jadO
helmut wrote:This problem is supposed to be fixed in XnView MP 0.84 beta 3. Could you please confirm the bug fix, jad0?
I have just tried 0.85b1 and the custom paths in xnview.ini have been saved incorrectly. So again I was confroted with the issue that I launched XnViewMP with non-existing custom paths.
The application started and also started generating thumbnails but could not find the custom paths.
So again my question: As I could not locate the database files, where are these stored in this case and should it not be better (as discussed in this thread) to have a fallback default setting in such a case. I have made my preference clear. For the sake of portable usage this default setting use a path that does not leave data on the host machine in case of use like from a USB device.
So this could be the applications directory or at least the temp folder on host machins so data gets wiped on system cleanup.
As per supposed fix you have mentioned: I have checked the users folder and could not find the files as well. So it does not seem to be fixed.