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.
Custom folder for config file
Moderators: helmut, XnTriq, xnview
Re: 0.85b1: Custom Settings folder issue
Hey, very good to see that you're around again, Dreamer!
Greetings to Slovakia!

Re: 0.85b1: Custom Settings folder issue
'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.
Re: 0.85b1: Custom Settings folder issue
@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
- 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
Could you please explain in some more detail? (ATM, I don't understand).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
Re: 0.85b1: Custom Settings folder issue
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.
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
Re: 0.85b1: Custom Settings folder issue
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: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.
Right - apart from "Program" and "User" there should also be "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.
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.

Re: Custom folder for config file
Chicken & egg problemPerhaps 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.
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 -
- Dark Themed XnViewMP 1.7.1 64bit on Win11 x64 -
Re: Custom folder for config 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.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.