[BUG] [FIX] EventRecorder playback from Filelist doesn't work

Lothar Schenk lothar.schenk at gmx.de
Thu Feb 26 11:06:47 UTC 2004


Image: 3.7a

Clicking on a tape in a Filelist that was recorded with the EventRecorderMorph 
(e.g. EventRecorder.tape) and then choosing the "open for playback" button 
results in a walkback: "MessageNotUnderstood: EventRecorderMorph>>rewind".

The reason is this call in EventRecorderMorph class>>openTapeFromFile:

openTapeFromFile: fullName
	"Open an eventRecorder tape for playback."
 
	(EventRecorderMorph new readTape: fullName) rewind openInWorld

EventRecorderMorph has no "rewind" method or anything resembling it. Leaving 
out the call to "rewind" seems to work fine (also plausible, considering that 
the tape has just been read in from the file).

The attached change set contains a corresponding patch.

Regards, Lothar
-------------- next part --------------
'From Squeak3.7alpha of 11 September 2003 [latest update: #5707] on 26 February 2004 at 11:49:21 am'!

!EventRecorderMorph class methodsFor: 'instance creation' stamp: 'los 2/26/2004 11:46'!
openTapeFromFile: fullName
	"Open an eventRecorder tape for playback."
 
	(self new) readTape: fullName; openInWorld! !



More information about the Squeak-dev mailing list