|Anonymous | Login||02-27-2021 06:45 UTC|
|Main | My View | View Issues | Change Log | Docs|
|Viewing Issue Simple Details [ Jump to Notes ]||[ View Advanced ] [ Issue History ] [ Print ]|
|ID||Category||Severity||Reproducibility||Date Submitted||Last Update|
|0005720||[Squeak] Morphic||major||always||01-11-07 21:47||01-15-07 03:54|
|Summary||0005720: a project saved with a scripted press-me button in it doesnt load back.|
in a morphic project drop as press-me button from the object menu. Then edit its script to something like:
RectangleMorph new openInHand.
Now, everytime you press the button you get a new RectangleMorph. If you save that project to disk when loading it back you get a debug screen related with RenamedClassSourceReader.
|Attached Files||Scriptable button bug.001.pr [^] (19,166 bytes) 01-14-07 20:22|
(0008872 - 421 - 487 - 487 - 487 - 487 - 487)
I could try to recreate the bug using the formula described or I could save myself some trouble by asking for more info.
Which squeak image were you using?
Can you upload the simplist project that recreates the bug?
The first rule of trouble shooting is first hand information.
Thanks for reporting the bug and thanks in advance for persuing it.
Yours in curiosity and ser vice, -- Jerome Peace
(0008878 - 405 - 441 - 441 - 441 - 441 - 441)
I use 3.9 final 7067. That's the file name al least.
I was developing an application when it happened, but the simplest morphic project to do that is an empty one with just that button and nothing else. Just create an empty morphic project, drop the press me button, edit its script to be 'RectangleMorph new openInHand', save the project and that is it.
I upload a project like that.
(0008880 - 873 - 987 - 987 - 987 - 987 - 987)
Thanks Javier the upload helped.
I confirmed the problem happens in 3.9 and not in 3.8.
The difficulty comes in when the script is writen. That creates a uniclass to hold the script. Apparently the class definition does not get writen out or does not get read back in before the script method. I am not an expert on things etoys.
I should mention that your project upload was important in tracking down the problem.
I originally set the button action via redMenu>extras>addaButtonUpAction.
That works w/o invoking the etoys scripting
So it still works after being saved and reloaded. But yours demonstates the problem. And when I went and edited the buttons script I ran into the same problem.
So something has gotten broken in etoys.
And thanks to you we have a repeatable test failure. Good work.
Yours in service, --Jerome Peace
(0008881 - 86 - 86 - 86 - 86 - 86 - 86)
|Things are broken as far back as 6680. (though the DNU message is about #asLowerCase.|
|01-11-07 21:47||jreyes||New Issue|
|01-13-07 08:50||wiz||Note Added: 0008872|
|01-14-07 20:22||jreyes||File Added: Scriptable button bug.001.pr|
|01-14-07 20:23||jreyes||Note Added: 0008878|
|01-15-07 02:24||wiz||Note Added: 0008880|
|01-15-07 02:50||wiz||Note Added: 0008881|
|01-15-07 03:54||wiz||Relationship added||child of 0005724|
| Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
51 total queries executed.|
35 unique queries executed.