[BUG] Worlds in Worlds

Bob Arning arning at charm.net
Sat Nov 27 17:51:31 UTC 1999


On Sat, 27 Nov 1999 17:59:40 +0100 Marcus Denker <marcus at ira.uka.de> wrote:
>On Sat, Nov 27, 1999 at 11:20:29AM -0500, Bob Arning wrote:
>> On Sat, 27 Nov 1999 16:07:07 +0100 Marcus Denker <marcus at ira.uka.de> wrote:
>> >I found a Bug in the new "Worlds in Worlds":
>> >
>> > -> open a Morphic project
>> > -> world menu, select open, select "inner world".
>> > -> bring up the halo of the inner world ("playfield").
>> > -> click on the red halo-button (world menu appears)
>> > -> click somewhere inside the inner world (menu disappears)
>> > -> bring up the halo again.
>> > -> click on the red halo again. 
>> > -> Error: NonBoolean receiver
>> 
>> I've tried to duplicate this and can't get it to happen. Could you send 
>> me the SqueakDebug.log?
>>

I got it now. I was just doing it wrong. A fix is enclosed, although there may be other lurkers of a similar nature.

Note to Dan: This is a case where 
	
	self world displayWorld
or
	self world whatever

may not yield the expected results. In this case the HaloMorph's world wasn't The World and wasn't ready to deal with a world-like display.

Cheers,
Bob


==========
'From Squeak2.7alpha of 9 November 1999 [latest update: #1656] on 27 November 1999 at 12:44:57 pm'!

!WiWPasteUpMorph methodsFor: 'as yet unclassified' stamp: 'RAA 11/27/1999 12:44'!
displayWorld

	World == self ifTrue: [^super displayWorld].
	parentWorld ifNotNil: [parentWorld displayWorld].! !





More information about the Squeak-dev mailing list