Bug 700 : closing window creates new sketch in tmp without need-save-as status
Last modified: 2008-11-24 12:42




Status:
RESOLVED
Resolution:
FIXED -
Priority:
P2
Severity:
normal

 

Reporter:
fjen
Assigned To:
fry

Attachment Type Created Size Actions

Description:   Opened: 2007-12-08 07:40
os-x 10.4 ppc java 1.4.x processing 135

closing the last window via its close-button in the pde creates a new sketch (if set to do so in
the preferences) in the newer multi-window versions. this sketch, as all new blank sketches,
is created somewhere in the tmp directory structure. now, normally these sketches ask for a
place to be save to upon the first save attempt. this does not happen for blank sketches
created for a window-close, they are saved inside tmp and will eventually get deleted as part
of the tmp cleanup ... already lost some sketches this way assuming they are in my
sketchbook as it used to be.

example:
- start / restart processing
(- make sure prefs are set to treat the window-close as "new sketch" not as "quit")
- click close-button of the currently open sketch window
(- blank sketch should open)
- type something in and press save
- now look where the sketch folder is located
Additional Comment #1 From fry 2008-11-24 12:42
fixed or won't need to be since the current release just prompts whether
you want to quit.