FAQ
Cover
\
Build
\
Source
\
Bugs
\
Reference
\
Libraries
\
Tools
Search
\
Report a Bug
\
Reports
\
Requests
\
Login
Bug 987 : "Save canceled" message when saving untitled sketches without renaming them in 0154
Last modified: 2008-11-04 10:40
P
roject:
processing
trash
Version:
unspecified
Co
m
ponent:
android
book
core
libraries
pde
reference
tools
web
Status
:
RESOLVED
Resolution
:
FIXED -
Pr
i
ority
:
P1
Severity
:
normal
Platform
All
O
S:
All
Windows
Mac OS
Linux
Other
Reporter:
fjen
Assigned To
:
fry
Attachment
Type
Created
Size
Actions
Create a New Attachment
(proposed patch, testcase, etc.)
View All
Votes
:
0
Show votes for this bug
Vote for this bug
S
ummary:
"Save canceled" message when saving untitled sketches without renaming them in 0154
C
omments:
U
RL:
Please use attachments to demonstrate the bug you are reporting.
Description
: Opened: 2008-10-27 23:38
tested on win-xp and os-x both with 154:
create a new sketch, write something in it, press save, dialog opens, choose a location, click
"ok". now you're back in processing and it says "Save Cancled." in the status bar, the sketch
still being in the temporary folder and marked modified.
Additional Comment
#1 From fjen 2008-10-29 12:09
i found the problem:
in Sketch.java on line 743:
if (newName.equals(oldName)) {
return false; // Can't save a sketch over itself
}
the if-clause will be true for new unsafed sketches if they are not renamed in the dialog.
Additional Comment
#2 From fry 2008-11-04 10:40
fixed for 0155, please test the svn to make sure no other regressions are
introduced.