<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Hilaire,<br>
<br>
On 5/6/2020 5:10 PM, Hilaire Fernandes via Cuis-dev wrote:
<blockquote cite="mid:786e851e-f00c-2025-cae0-81fcc1ec75a0@drgeo.eu"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<p><font size="+1">Hu Juan, <br>
</font></p>
<p><font size="+1">Hum I am not sure what is remote control world
stepping, you mean in the context of a modal menu?</font></p>
</blockquote>
<br>
I used the wrong word. What I mean is what I call "remote control"
world cycles. In Cuis, #doOneCycle is only called from
PasteUpMorph>>mainLoop. The World itself is in control.<br>
<br>
In Squeak, (indirect) senders of #doOneCycleNowFor: include
DialogWindow, TileMorph, MenuMorph, AllPlayersTool, CategoryViewer,
EventRecordingSpace, and several tests. None of those should control
the World.<br>
<br>
Still, the problem we have in Cuis is that a ModalMenu stops the
world while active. Maybe the solution is not to use modal menus and
dialogs at all.<br>
<br>
<blockquote cite="mid:786e851e-f00c-2025-cae0-81fcc1ec75a0@drgeo.eu"
type="cite">
<p><font size="+1">Anyway, I changed my code so a modal menu is
not necessary anymore, then problem solved so far. <br>
</font></p>
</blockquote>
<br>
Great!<br>
<br>
<blockquote cite="mid:786e851e-f00c-2025-cae0-81fcc1ec75a0@drgeo.eu"
type="cite">
<p><font size="+1"> </font></p>
<p><font size="+1">You saw my tweet ;-) <a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="https://twitter.com/GNUDrGeo/status/1258023273713012738">https://twitter.com/GNUDrGeo/status/1258023273713012738</a><br>
</font></p>
</blockquote>
<br>
Of course! Still, I wasn't sure if you hadn't gone the not-so-nice
way of implementing your own ModalMenu and cycling the World
yourself. Good that you didn't need to do that!<br>
<br>
<blockquote cite="mid:786e851e-f00c-2025-cae0-81fcc1ec75a0@drgeo.eu"
type="cite">
<p><font size="+1"> </font></p>
<p>Thanks<br>
</p>
<div class="moz-cite-prefix">Le 06/05/2020 à 16:34, Juan Vuletich
a écrit :<br>
</div>
<blockquote type="cite" cite="mid:5EB2CAF6.5000009@jvuletich.org">The
reason is that in Cuis we removed all "remote control" world
stepping that Squeak had. Maybe we could introduce it back, by
having the modal methods call back the World for stepping...
Would that work for you?<br>
</blockquote>
<pre class="moz-signature" cols="72">--
GNU Dr. Geo
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://drgeo.eu">http://drgeo.eu</a></pre>
</blockquote>
<br>
Thanks,<br>
<pre class="moz-signature" cols="72">--
Juan Vuletich
<a class="moz-txt-link-abbreviated" href="http://www.cuis-smalltalk.org">www.cuis-smalltalk.org</a>
<a class="moz-txt-link-freetext" href="https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev">https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev</a>
<a class="moz-txt-link-freetext" href="https://github.com/jvuletich">https://github.com/jvuletich</a>
<a class="moz-txt-link-freetext" href="https://www.linkedin.com/in/juan-vuletich-75611b3">https://www.linkedin.com/in/juan-vuletich-75611b3</a>
@JuanVuletich</pre>
</body>
</html>