Great - that's helpful. However, it is not the "save all files" button which writes to default.conf, but it is the menu item "Files > Save everything (Alt + Shift + S)".
The OK button should really flush the settings to disk... I don't see any reason why the configuration should only be saved if I hit the "save everything" button
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The OK button should really flush the settings to disk... I don't see any reason why the configuration should only be saved if I hit the "save everything" button
Yes, it should, but this is not what happens here. Would you mind pointing to where in the code the flush to the disk really happens?
On my machine (Win10) default.conf remains untouched until CB properly closes or if the button 'save everything' is hit. Is this the case on your side as well or rather different when re-reading your comment?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In the past I've also been frustrated by this, but after discussions in the forum with the other devs - it has been concluded that the current behaviour is fine and should stay.
Search the forum for the rationale. I don't remember it exactly.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
i have searched the forum but i didn't found anything related to this, except people complaining about this odd behaviour....
Saving something only on a clean closing of the program is a really bad behaviour. There are tons of reasons why a program can crash/ not perform a clean exit (power loss, crash of the operating system ecc...). And if the user hits "OK" he knows that the settings will be stored. 99% of all programs out there behave like this and i don't see why codeblocks should not...
There is the save everything button, but if you don't have open a project it wont be activated, so no chance to save your settings..
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Saving something only on a clean closing of the program is a really bad behaviour. There are tons of reasons why a program can crash/ not perform a clean exit (power loss, crash of the operating system ecc...). And if the user hits "OK" he knows that the settings will be stored. 99% of all programs out there behave like this and i don't see why codeblocks should not...
Yes - fully agree.
There is the save everything button, but if you don't have open a project it wont be activated, so no chance to save your settings..
Feature already requested: [tickets:#537] activate 'Save everything' btn when no project opened
Sorry - applies to Win10 | nightly build 11112 (and earlier)
By reading the source code, it looks like you have to click the "save all" button.
The first line
Should save the configure file for the application.
Great - that's helpful. However, it is not the "save all files" button which writes to default.conf, but it is the menu item "Files > Save everything (Alt + Shift + S)".
Would it be an idea to invoke
once one of the settings dialog is closed with "OK", since then the user really means the config changes.
I agree on this, but I'm not sure this would cause other issue, I'm not too familar with that piece of the source code. ^_^.
I see. At least there is the 'Save-everything' fall-back for this.
I am hoping that this gets implemented such that the configs are really saved for any user.
The OK button should really flush the settings to disk... I don't see any reason why the configuration should only be saved if I hit the "save everything" button
In the past I've also been frustrated by this, but after discussions in the forum with the other devs - it has been concluded that the current behaviour is fine and should stay.
Search the forum for the rationale. I don't remember it exactly.
i have searched the forum but i didn't found anything related to this, except people complaining about this odd behaviour....
Saving something only on a clean closing of the program is a really bad behaviour. There are tons of reasons why a program can crash/ not perform a clean exit (power loss, crash of the operating system ecc...). And if the user hits "OK" he knows that the settings will be stored. 99% of all programs out there behave like this and i don't see why codeblocks should not...
There is the save everything button, but if you don't have open a project it wont be activated, so no chance to save your settings..
Yes - fully agree.
Feature already requested: [tickets:#537] activate 'Save everything' btn when no project opened
Many thanks!
Related
Tickets:
#537