Code::Blocks Forums

User forums => Help => Topic started by: SimpleID on August 15, 2017, 07:58:12 pm

Title: Autosave issues
Post by: SimpleID on August 15, 2017, 07:58:12 pm
Hi! I have autosave enabled with 1 minute,all option boxes checked  and "Create backup and save to original file" selected. When I modify a file, a star appears next to the filename in editor tabs and "Modified" appears in status bar. When I manually save, these modification indicators disappear, which is the intended behaviour. Now my problem is that these indicators do not disappear with autosave and everytime CB lose focus and get it back, it warns me that file has been externally modified(which is not the case)and ask me to reload it. It appears CB is not aware of its own autosave.
I'm scared to turn off external modification watch option.

1-Am I wrong to think autosave should act as a manual save?
1-Is there a setting I have missed?
2-Should I file a bug report/feature request?
Thank you,

(I'm running CB in win10)
Title: Re: Autosave issues
Post by: oBFusCATed on August 16, 2017, 12:21:48 am
I can reproduce this. Please log it on the sf.net tickets page, so it is not forgotten.
If you don't want to have a backup file, then auto-save works fine.
Title: Re: Autosave issues
Post by: SimpleID on August 16, 2017, 01:06:02 am
Thank you! I registered SF and opened a ticket there.
With your advice, I'm now relying on sole "Original file save" and will temporarily make my own routine backup by another mean.
Title: Re: Autosave issues
Post by: oBFusCATed on August 16, 2017, 01:30:20 am
The best backup is to use a vcs like git, svn, mercurial, etc...