Option menu: option-boxes instead of check-boxes

Bugs and Suggestions in XnView Classic which have been resolved

Moderators: XnTriq, xnview

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

Option menu: option-boxes instead of check-boxes

Post by jens116 » Mon May 22, 2006 11:23 am

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: 32081
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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

Post by xnview » Mon May 22, 2006 12:51 pm

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 » Mon May 22, 2006 4:24 pm

—> 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: 8175
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

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

Post by helmut » Mon May 22, 2006 5:12 pm

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.

User avatar
Dreamer
XnThusiast
Posts: 4605
Joined: Sun Jul 25, 2004 9:08 pm
Location: Slovakia

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

Post by Dreamer » Tue May 23, 2006 11:59 pm

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: 8175
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

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

Post by helmut » Sun May 28, 2006 7:27 pm

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: 32081
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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

Post by xnview » Mon May 29, 2006 7:07 am

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: 8175
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

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

Post by helmut » Mon May 29, 2006 10:08 pm

xnview wrote:I'll fix it in the next release....
Very good. :-)

User avatar
darkfader
Posts: 28
Joined: Tue Jul 25, 2006 4:38 pm
Location: Netherlands

Post by darkfader » Sat Jul 29, 2006 6:47 pm

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 » Sat Jul 29, 2006 10:32 pm

—> 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

User avatar
darkfader
Posts: 28
Joined: Tue Jul 25, 2006 4:38 pm
Location: Netherlands

Post by darkfader » Sun Jul 30, 2006 5:52 am

Or perhaps put the ini file in the user profile directory. That way, I'm satisfied too :)

Danny
Posts: 564
Joined: Sat Sep 04, 2004 5:09 pm

Post by Danny » Sat Dec 09, 2006 11:31 am

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