jung6717 / arduino

Automatically exported from code.google.com/p/arduino
0 stars 0 forks source link

Sketch Fails to save on close if it is the last sketch open #105

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Start arduino.exe
2. Open a sketch
3. Close the blank sketch that opened on program start
4. Edit that code in the sketch you opened.
5. File -> Close
6. Click Yes to save changes
7. Start arduino.exe again and reopen that sketch and find your changes 
aren't there.

What is the expected output? What do you see instead?
I expected my file to save... The originally opened file from step 2

What version of the Arduino software are you using? On what operating
system?  Which Arduino board are you using?
0017 - Win XP SP3 - Duemilanove

Please provide any additional information below.
It works correctly if you do file -> quit instead of file -> close. Only 
happens when the sketch you're doing file -> close to is the only one open. 
Race condition on program ending?
Closing it with the window's X also fails to save

If you compiled it once, at least you can recover code from from the .cpp 
file in the applet folder

Original issue reported on code.google.com by look.a.n...@gmail.com on 4 Sep 2009 at 2:00

GoogleCodeExporter commented 9 years ago
See: http://dev.processing.org/bugs/show_bug.cgi?id=1193

Original comment by dmel...@gmail.com on 6 Sep 2009 at 3:52

GoogleCodeExporter commented 9 years ago

Original comment by dmel...@gmail.com on 23 Oct 2009 at 10:27

GoogleCodeExporter commented 9 years ago
Issue 185 has been merged into this issue.

Original comment by dmel...@gmail.com on 28 Jan 2010 at 1:53