<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
On 8/22/2021 7:12 AM, Hilaire Fernandes via Cuis-dev wrote:
<blockquote cite="mid:df8a9e6a-a8b2-0497-8d06-7766082a9888@drgeo.eu"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<p><font size="+1">By encapsulating in the message suggested by
Phil I get the expected behavior.. Thanks for the tip.<br>
</font></p>
<p><font size="+1">Likely there is a race condition as I reset
frequently the stillMouseDown step handler.</font></p>
<p><font size="+1">Nevertheless method running the steps should be
safer.</font></p>
<p><font size="+1">Hilaire</font><br>
</p>
<div class="moz-cite-prefix">Le 21/08/2021 à 19:22, Phil B a
écrit :<br>
</div>
<blockquote type="cite"
cite="mid:CAMJMOehq3Fu2YDz==vNhGrxLVtCod+mTP3oyfMcNPm7-Fudb6A@mail.gmail.com">
<div>If that is the issue, I think there's a larger problem
to be solved. Morphic is inherently not thread safe so you're
dealing with an intractable problem (short of re-architecting
Morphic.) Other than marking a morph for redraw, anything
else touching Morphic from a background process needs to be
wrapped in UISupervisor whenUIinSafeState: [].</div>
<div><br>
</div>
</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>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://blog.drgeo.eu">http://blog.drgeo.eu</a></pre>
</blockquote>
<br>
Please save an image where you see the problem and make it available
to me. This way I'll be able to understand what's going on, debug
it, and either fix it, or confirm that Phil's suggestion is the best
alternative.<br>
<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>