<html>
<body>
<font size=3>Karl, Ned,<br>
Many thanks for your suggestions. The following executed in a workspace
demonstrates the problem:<br><br>
&nbsp;&nbsp; <i>symbol := Morph
new.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&quot; create &quot;<br>
&nbsp;&nbsp; symbol
openInHand.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&quot; place &quot;<br>
&nbsp;&nbsp; (ActiveWorld submorphs includes: symbol) ifFalse: [self
error]. &quot; Use. &quot;<br><br>
</i>This test fails. But the last statement does not fail if I select and
<i>doIt </i>after having placed the new morph.<br><br>
The problem is clearly non-trivial. <br><br>
I have tried waiting after the openInHand:<br>
&nbsp; <i> ActiveWorld
doOneCycle.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&quot; try to wait - 1. &quot;<br>
&nbsp;&nbsp; ActiveWorld
doOneCycleNow.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&quot; try to wait - 2. &quot;<br>
&nbsp;&nbsp; ActiveWorld runLocalStepMethods.&nbsp;&nbsp;&nbsp;&nbsp;
&quot; try to wait - 3. &quot;<br>
</i>No help there.<br><br>
I have tried<br>
&nbsp;&nbsp; <i>symbol := Morph
new.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&quot; create &quot;<br>
&nbsp;&nbsp; symbol
openInHand.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&quot; place &quot;<br>
&nbsp;&nbsp; WorldState addDeferredUIMessage: <br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>[(ActiveWorld
submorphs includes: symbol)&nbsp;&nbsp; &quot; use &quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
ifFalse: [self error] ]<br>
</i>No change.<br><br>
I'm running Squeak3.6-5429-full. There is no <i>addedMorph:</i> method in
the whole system. (It is a feature of 3.7)<br><br>
<i>Morph&gt;&gt;intoWorld:</i> runs when owner is set, but the morph is
not yet positioned. So it runs before <i>openInHand </i>returns. A halt
shows that it is in the same thread as the triggering menu command and
<i>openInHand</i>. But the positioning is independent of this thread and
takes place while the halt debugger is open.<br><br>
Amazing.<br>
--Trygve<br><br>
<br>
<x-sigsep><p></x-sigsep>
-- <br><br>
Trygve Reenskaug&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mailto: trygver &lt;at&gt;
ifi.uio.no<br>
Morgedalsvn. 5A&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="http://heim.ifi.uio.no/~trygver" eudora="autourl">http://heim.ifi.uio.no/~trygver</a><br>
N-0378 Oslo&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Tel: (+47) 22 49 57 27<br>
Norway<br>
</font></body>
<br>
</html>