Bug 1089 : truncated filename causes exception when reopening a sketch and trying to run
Last modified: 2009-02-19 17:15




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

 

Reporter:
fjen
Assigned To:
fry

Attachment Type Created Size Actions
titlebar shows wrong name, tab and system-names are ok. application/zip 2008-12-02 00:44 142.70 KB

Description:   Opened: 2008-12-02 00:41
some of my students have reported an exception for sketches that they created, closed and
reopened on win-xp (non-english). the name of the sketch is shown wrongly in the titlebar
(abbreviated, uppercase and with a tilde) but ok on the tab and system. it does not contain any
special chars. the exception happens if you try to run the sketch (something about "token(s)"), i
will paste it here once the student has mailed it to me. the sketches run fine if you copy-paste
them into a new sketch.

(see attachment)
Additional Comment #1 From fjen 2008-12-02 00:44
edit]
titlebar shows wrong name, tab and system-names are ok.
Additional Comment #2 From fry 2008-12-02 03:42
Can you confirm that this only happens when they double-click on a .pde
file to open the sketch?

Also, why are they using 0156? Please have them use the newer releases so
I'm not chasing phantom bugs that have already been fixed.

And if 1.0 doesn't work for them, please have them file bugs so we can get
that fixed as well. Particularly in a case where they're using a
non-English / non-Roman system, we badly need help testing that sort of
thing, so having you around to help look into issues is enormously helpful.
Additional Comment #3 From fjen 2008-12-02 23:16
reported exception was:
Syntax errors on token(s), misplaced construct(s)

i had a student in the mainz class yesterday with the same problem on a german win-xp and
1.0.1. i will ask them to test double clicking.


Additional Comment #4 From fry 2008-12-03 05:35
But again, I need you to confirm that this only happens when they
double-click on a .pde
file to open the sketch, or whether it's being caused by File > Open (or
even File > New for that matter). In either case it's a very different bug.
Additional Comment #5 From fjen 2008-12-03 08:21
jep, i know. mailed them already and one student reported back that it happend upon double-
clicking, still waiting for the others to confirm that too.

i'm meeting them maybe tomorrow, monday latest. so i will be able to test hands-on then.
Additional Comment #6 From fry 2008-12-03 11:52
Cool, thanks. I suspect (hope) it's just on double-click, since that's
easily remedied. If it does it at all stages of "Open" (e.g. opening from
File > Open or the sketchbook) that's gonna be a lot less fun to deal with.

Yay Windows!
Additional Comment #7 From fry 2009-02-19 17:15
I've added a fix for 1.0.2 that should take care of it.