Custom folder for config file

Ideas for improvements and requests for new features in XnView MP

Moderators: helmut, XnTriq, xnview

Post Reply
Dreamer
XnThusiast
Posts: 4608
Joined: Sun Jul 25, 2004 9:08 pm

Custom folder for config file

Post by Dreamer »

Hello Pierre,

I'm testing the new version, I'd like to place all setting files in the same (custom) folder, but it looks it's impossible.

In the start-up dialog, the option "Custom" for the .ini file is unavailable, it's available only for other settings.

In the Settings window > Integration > Paths > "Use .ini file in folder" the option "Custom" is available, but it doesn't work.

To reproduce:

- Settings > Integration > Paths > "Use .ini file in folder" select the option "Program (XnView)"
- restart the program
- Settings > Integration > Paths > "Use .ini file in folder" select the option "Custom"
= [...] browse button is missing
= xnview.ini file is created in the User path (Roaming folder)
- restart the program
= ini file from Program path is used
= the "Custom" option is changed back to "Program (XnView)".

MP 0.85 beta 1 64-bit, Windows 10 Home 64-bit.
Attachments
Screenshot_03192017_113039.png
Dreamer
User avatar
helmut
Posts: 8704
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: 0.85b1: Custom Settings folder issue

Post by helmut »

Hey, very good to see that you're around again, Dreamer! :) Greetings to Slovakia!
User avatar
xnview
Author of XnView
Posts: 46255
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.85b1: Custom Settings folder issue

Post by xnview »

'Custom' for ini setting is only used when using -ini, you can't change in the UI. perhaps i need to hide it in this case
Pierre.
User avatar
helmut
Posts: 8704
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: 0.85b1: Custom Settings folder issue

Post by helmut »

@Dreamer:
- Could you please check whether this problem was introduced in 0.85 beta 1? If this problem occurs in 0.84, too, the topic title should be changed appropriately.
- There's a template for bug reports, see http://newsgroup.xnview.com/viewtopic.php?t=27835
xnview wrote:'Custom' for ini setting is only used when using -ini, you can't change in the UI. perhaps i need to hide it in this case
Could you please explain in some more detail? (ATM, I don't understand).
Dreamer
XnThusiast
Posts: 4608
Joined: Sun Jul 25, 2004 9:08 pm

Re: 0.85b1: Custom Settings folder issue

Post by Dreamer »

It looks it's not a bug. Pierre's post was not clear for me too, but I think the option "Custom" is used only when using the command line option -ini (I'm not sure how it works), in this case the option "Custom" is selected in the MP GUI.

Perhaps it could be moved to Suggestions forum. I don't understand, why the custom path for xnview.ini is missing, if it's available for 3 other options below.
Dreamer
User avatar
helmut
Posts: 8704
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: 0.85b1: Custom Settings folder issue

Post by helmut »

Dreamer wrote:It looks it's not a bug. Pierre's post was not clear for me too, but I think the option "Custom" is used only when using the command line option -ini (I'm not sure how it works), in this case the option "Custom" is selected in the MP GUI.
Thank you for your explanation. It's a good idea to indicate that -ini was used but it's a bad way to do this using "Custom".
Dreamer wrote:Perhaps it could be moved to Suggestions forum. I don't understand, why the custom path for xnview.ini is missing, if it's available for 3 other options below.
Right - apart from "Program" and "User" there should also be "Custom".

Next question will be why there are buttons to open path of config files and catalog but no buttons for "Other files" and "Thumbnails database". That's inconsistent.

:arrow: Suggestions
User avatar
m.Th.
XnThusiast
Posts: 1676
Joined: Wed Aug 16, 2006 6:31 am
Contact:

Re: Custom folder for config file

Post by m.Th. »

Perhaps it could be moved to Suggestions forum. I don't understand, why the custom path for xnview.ini is missing, if it's available for 3 other options below.
Chicken & egg problem

If the path for the .ini file is „custom” then this path must be stored somewhere - either in Registry (which means that it isn't a cross-platform solution, contradicts with the GUI and partially denies the need for the INI file) either in another INI file.
m. Th.

- Dark Themed XnViewMP 1.7.1 64bit on Win11 x64 -
User avatar
helmut
Posts: 8704
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: Custom folder for config file

Post by helmut »

m.Th. wrote:.. If the path for the .ini file is „custom” then this path must be stored somewhere - either in Registry (which means that it isn't a cross-platform solution, contradicts with the GUI and partially denies the need for the INI file) either in another INI file.
Right. "Custom" isn't possible for xnview.ini and must be removed in the dialog. Please note that Pierre used this "Custom" for indicating that the user has started XnView with parameters -ini <path of config file>. As written above this type of indication is no good and should be changed.
Post Reply