User forums > General (but related to Code::Blocks)

question about the conf file

<< < (2/2)

mandrav:

--- Quote from: duncanka on February 02, 2006, 06:40:37 am ---
--- Quote from: thomas on February 01, 2006, 10:44:35 pm ---No, no... it is always "yes". The default button is determined by the program, you can't change that with the tab key ;)

--- End quote ---
IMHO, it would make much more sense to detect the user's choice and save that as the action to be performed in the future instead of displaying the dialog.  I always assumed that was what it was doing, and I wouldn't be surprised if that was how many people interpret "Don't annoy me again."

--- End quote ---

Although what you say makes sense, there are situations where this doesn't apply.
Take for example the initial reason we added this dialog: "Build->Rebuild".
It asks you if you 're sure you want to rebuild the project/target. If it worked as you describe, and you pressed no, then you would never be able to rebuild again until you re-enabled this dialog...

thomas:
...also, the idea behind a default button is that the default button is usually the correct choice.

The reason why we have the AnnoyingDialog class is that the dialogs that use it are quite useless and annoying to many people. Although an unexperienced user may need those extra dialogs to find his way around, for all others, they only disrupt the workflow without any advantage.

For example, when I click on "rebuild", and I am being asked "do you really want to..." for the third time, it makes me go "Damnit, do you think I'd click on rebuild if I did not want that... where can I turn this off!". The default button is the correct choice anyway, and the "don't annoy me" setting only does one thing: it does not annoy you unnecessarily :)

It may be arguable whether or not saving a changed layout automatically is the desired behaviour. To me personally, it makes sense. It is what I would expect to happen. Actually, I often hibernate my PC rather than shutting down, because the effect is that the PC looks exactly the same when it's being turned on again. If it were my choice, that should be the default ;)

takeshimiya:
True, and in most programs is called (more polite) "Don't show this message again". :)

Navigation

[0] Message Index

[*] Previous page

Go to full version