Forced restart no save

Forum for discussion about the Windows IDE of Hollywood

Forced restart no save

Postby lazi » Tue May 26, 2015 10:11 pm

I am away for two days from my Amiga and tried to use a win7 laptop with hollywood.

Worked to days on a script with the Hollywood IDE, and lost every bit I typed these two days.
Very disappointed.

The dafult setting in the IDE is not saving at run which I did not bothered. The machine does not turned off
just put in sleep mode when needed.

After some f***ing update installed in the back the machine forced a reboot and the IDE did not said a word about
the unsaved script.

:(
User avatar
lazi
 
Posts: 268
Joined: Fri Feb 25, 2011 12:08 am

Re: Forced restart no save

Postby lazi » Thu May 28, 2015 11:28 am

Maybe a save on run default setting would be better.
That is the way how it works on Cubic IDEfor example and cannnot see any drawback from that.

It is a nice possibility to check things without save but for the blokes like me who does not read manuals in time could make problems. :)
User avatar
lazi
 
Posts: 268
Joined: Fri Feb 25, 2011 12:08 am

Re: Forced restart no save

Postby airsoftsoftwair » Sun May 31, 2015 11:50 pm

I'm sorry for your loss of data but personally, I never ever ever ever leave the computer without hitting save first :) I'll try to implement something that saves the script if the IDE is automatically shut down but all this auto-backup stuff can get quite complicated if done properly so I've never really tackled it. Enabling auto-save by default is not a good idea when it comes to just playing around with some example scripts without really wanting to change anything permanently... if auto save were enabled many people would probably mess up the examples that come with Hollywood.
User avatar
airsoftsoftwair
 
Posts: 2233
Joined: Fri Feb 12, 2010 3:33 pm
Location: Germany

Re: Forced restart no save

Postby lazi » Mon Jun 01, 2015 2:06 am

I think you are right. I just thought that it saves on running a script as used to work on my main machine.
The most annoying thing was that forced restart.

The lost script is rewritten already, and it is better then before :-)
User avatar
lazi
 
Posts: 268
Joined: Fri Feb 25, 2011 12:08 am

Re: Forced restart no save

Postby Bugala » Mon Jun 01, 2015 10:38 am

And reminds me that there is this rare occurence but Windows IDE have couple of times (I would say at max 5 times in total so far) got completely stuck that it doesnt respond anything even after waiting for 15 minutes and i am forced to force close it down.

Last time it happened to me actually yesterday and I lost 15 - 30 minutes of code (luckily not that big loss since i do keep saving, but anyway).

Some programs like Open Office when it crashes or is forcebly shut down, it will still recover your text next time you open it. I have no idea how that is done, but that could be useful thing too, although not that urgent since once again, as long as you keep saving, you dont lose that much.
Bugala
 
Posts: 645
Joined: Sun Feb 14, 2010 8:11 pm

Re: Forced restart no save

Postby jalih » Mon Jun 01, 2015 3:01 pm

airsoftsoftwair wrote: I'll try to implement something that saves the script if the IDE is automatically shut down but all this auto-backup stuff can get quite complicated if done properly so I've never really tackled it.

Handle WM_QUERYENDSESSION message?
jalih
 
Posts: 244
Joined: Fri Jun 18, 2010 8:08 pm
Location: Finland

Re: Forced restart no save

Postby airsoftsoftwair » Tue Jun 02, 2015 6:29 pm

Yes, but that of course just gives you the raw notification. It's the details that make it somewhat complicated... there could be an arbitrary number of unsaved files which have to be saved somewhere, then there need to be some pop ups at the next start that inform the user about what has happened and ask him which ones he wants to have restored etc.
User avatar
airsoftsoftwair
 
Posts: 2233
Joined: Fri Feb 12, 2010 3:33 pm
Location: Germany


Return to Windows IDE

Who is online

Users browsing this forum: No registered users and 2 guests

cron