Crash recovery

Post your questions and problem reports here

Moderator: kfury77

Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
  • Check the Support section of the corresponding product first. Chances are you will find your answer there;
  • Do not create new topics for already reported problems. Add your comments to the existing topics instead;
  • Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
  • Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
  • Include the version number of the software you are using;
  • This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;
Post Reply
axelay
Posts: 2
Joined: Sun Mar 21, 2010 9:32 pm

Re: Crash recovery

Post by axelay »

Ctrl-s should be a reflex... Like breathing air, you never notice you are doing it but it necessary :lol:

aXe
User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Re: Crash recovery

Post by Karlis »

Auto-save has been requested, but it is a pretty dangerous feature too, because one may not want to auto-save at random moments (even if he or she thinks they want). I am not sure whether we need this feature.

There was an idea about more complex solution, an auto-save of copies of open documents, but that would be a big one. This is not too often requested, thus I am not sure. Thoughts?
Karlis Blumentals
Blumentals Software
www.blumentals.net
davenz

Re: Crash recovery

Post by davenz »

Autosave could possibly be added as an option, but I for one wouldn't use it; it is potentially dangerous because of the possibility of overwriting something by mistake.

On a completely different note; the whole Microsoft Word/Office 'recover last document on crash' system is kind of cool; several other of my programs do that now as well. They basically create a temp file that ghosts/clones the file(s) being worked on, then if the app crashes, the clone/temp file(s) is/are retrieved and offered as a recovered document. This has its place, especially with software that crashes often, though I don't think I've ever had a crash with any of my Blumentals software, at least nothing where I have lost work. That's not to say it doesn't happen though, as has been pointed out.

Back to autosave; in applications that have this feature it is usually set to save every X minutes (most I've seen are set to 10 minutes by default), though I think it would only be useful in a crash situation if it saved every 5 seconds; I can do a boat-load of work in 1 minute, let alone 10. This makes such a feature almost pointess anyway. I am in the habit of saving (control + S) every other keystroke after using a very unstable editor a while back and the habit stuck, so none of these features would interest me, though I can see how they could be very useful for some users. I guess it should be logged as a feature request for future versions and other users can +1 or not as they see fit.

My 2 cents

Dave
davethompson.co.nz
gary
Posts: 10
Joined: Mon Dec 24, 2007 8:04 am

Re: Crash recovery

Post by gary »

Just make the auto-save into an "auto-save-backup" function do this:

Suppose the file you are working on is thefile.php
Auto-save-backup occasionally saves the file in a temp folder as thefile.php.tmp
When Webuilder crashes, you just go grab the last auto-saved version from the temp folder, and move on with your life.

If you want to get fancy, Webuilder could ask if you want to review files in that temp folder after a crash and restart has occurred (just like MS Office).

I just lost about half an hour of brilliant coding work tonight - thus auto-save-backup is a useful feature.

-Gary.
Post Reply