Option menu: option-boxes instead of check-boxes

Bugs and Suggestions in XnView Classic which have been resolved

Moderators: XnTriq, helmut, xnview

Post Reply
jens116
Posts: 38
Joined: Tue Jul 05, 2005 8:38 am

Option menu: option-boxes instead of check-boxes

Post by jens116 »

In the option menu under "install" there are the check-boxes:

[X] Use Windows folder to save INI file
[ ] Use registry to save options

and you use an internal managemant to enable/disable theses boxes.
I think it would be more clearly to use option-boxes in this way:

(*) Use Windows folder to save INI file
( ) Use registry to save options
( ) Use Xnview folder to save INI file
User avatar
xnview
Author of XnView
Posts: 43442
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Option menu: option-boxes instead of check-boxes

Post by xnview »

jens116 wrote:In the option menu under "install" there are the check-boxes:

[X] Use Windows folder to save INI file
[ ] Use registry to save options

and you use an internal managemant to enable/disable theses boxes.
I think it would be more clearly to use option-boxes in this way:

(*) Use Windows folder to save INI file
( ) Use registry to save options
( ) Use Xnview folder to save INI file
Yes, right, i don't know why i have check boxes....
Pierre.
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

There is a bone---

Post by Clo »

—> Pierre

:) Hello Pierre !

• Like jens116 points out, I had already noticed this for a long while as illogical.

• While working on the experimental language DLLs (to add the hotkeys), I attempted to fix up this in the resources,
just "to see". Indeed, the radio-buttons appeared, but that did't work as expected, I got a pretty mess :P
- Hence, please check these codes carefully, I think there is a Image around…

:mrgreen: KR
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
User avatar
helmut
Posts: 8705
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: Option menu: option-boxes instead of check-boxes

Post by helmut »

jens116 wrote:In the option menu under "install" there are the check-boxes:

[X] Use Windows folder to save INI file
[ ] Use registry to save options
There are two decision (ini/registry and location), so there should be two levels of radiobuttons. Since the contrary of a decision is not 100% clear, radiobuttons must be used.
So the right way to go is:

Code: Select all

(o) Save settings in ini file located in:
    (o) Program folder
    ( ) Windows folder
( ) Save settings in Windows registry
This might be a bit of a overkill, though. Your initial suggestion with three radiobuttons coming with a different wording and order might be good, too:

Code: Select all

(o) Save options in INI file in Program folder
( ) Save options in INI file in Windows folder
( ) Use Windows registry to save options 
I think this looks good and is still logical.
Dreamer
XnThusiast
Posts: 4608
Joined: Sun Jul 25, 2004 9:08 pm

Re: Option menu: option-boxes instead of check-boxes

Post by Dreamer »

helmut wrote:

Code: Select all

(o) Save options in INI file in Program folder
( ) Save options in INI file in Windows folder
( ) Use Windows registry to save options 
I think this looks good and is still logical.
I agree. It's a very old "problem"...
Dreamer
User avatar
helmut
Posts: 8705
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: Option menu: option-boxes instead of check-boxes

Post by helmut »

Dreamer wrote:
helmut wrote:

Code: Select all

(o) Save options in INI file in Program folder
( ) Save options in INI file in Windows folder
( ) Use Windows registry to save options 
I think this looks good and is still logical.
I agree. It's a very old "problem"...
So let's fix it, now. Pierre?
User avatar
xnview
Author of XnView
Posts: 43442
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Option menu: option-boxes instead of check-boxes

Post by xnview »

helmut wrote:
Dreamer wrote:
helmut wrote:

Code: Select all

(o) Save options in INI file in Program folder
( ) Save options in INI file in Windows folder
( ) Use Windows registry to save options 
I think this looks good and is still logical.
I agree. It's a very old "problem"...
So let's fix it, now. Pierre?
I'll fix it in the next release....
Pierre.
User avatar
helmut
Posts: 8705
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: Option menu: option-boxes instead of check-boxes

Post by helmut »

xnview wrote:I'll fix it in the next release....
Very good. :-)
darkfader
Posts: 28
Joined: Tue Jul 25, 2006 4:38 pm
Location: Netherlands

Post by darkfader »

I would like "Use registry to save options" to be the default option. I just reinstalled Windows and applications. Of course I forgot to save settings into the registry before deleting everything in Program Files :)
Most applications use the registry as default since it's better for multi-user systems too.
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

Registry sucks !

Post by Clo »

—> darkfader

:) Hello !

• Don't be so sure that the most programmes are using the registry to save the settings !
- For instance, Total Commander doesn't use it at all, just one key to define the location
of the application and of its *.INI files !

- Personally, I hate the programmes which use only the Registry, this prevents the capability to add extra-entries for some cases (no need to change the GUI)…
- XnView is able to create a nicely built and sorted INI, so I much prefer the INI as default; moreover, it's easy to save a simple text-file to reuse it in a new installation (I never use the SFX installers, and I have not any problem !)

:mrgreen: KR
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
darkfader
Posts: 28
Joined: Tue Jul 25, 2006 4:38 pm
Location: Netherlands

Post by darkfader »

Or perhaps put the ini file in the user profile directory. That way, I'm satisfied too :)
Danny
Posts: 575
Joined: Sat Sep 04, 2004 5:09 pm

Post by Danny »

It's much easier to backup your settings, if you're using an .ini file. So i don't like the idea of making the registry default.
Get the bugs fixed, THEN start adding features. It sucks, but someone has to do it.
Post Reply