<!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">
On 8/23/2021 4:15 AM, Hilaire Fernandes via Cuis-dev wrote:
<blockquote cite="mid:4f3f06aa-c365-6b7e-f913-12a7d34c58da@drgeo.eu"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<p><font size="+1">Hi guys,</font></p>
<p><font size="+1">In the link below, an image exposing the issue.</font></p>
<p><font size="+1">You move one of the three points. Then in the
transcript, you see a message informing the stillDown handler
step is (re)started, then immediately after is printed in the
transcipt a message the mouseStillDown method was called. This
last event should have occurred 1500 ms later, not
immediately.</font></p>
<p><font size="+1"><a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="https://www.dropbox.com/s/ww6udqmjctm5e74/drgeoMouseStillDown.zip?dl=0">https://www.dropbox.com/s/ww6udqmjctm5e74/drgeoMouseStillDown.zip?dl=0</a></font></p>
<p><font size="+1">Best</font></p>
<p><font size="+1">Hilaire<br>
</font></p>
<div class="moz-cite-prefix">Le 22/08/2021 à 19:59, Juan Vuletich
a écrit :<br>
</div>
<blockquote type="cite" cite="mid:6122909C.3040408@jvuletich.org">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.</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>
Hi Hilaire,<br>
<br>
Now I see. Thanks. Running exactly the same code as you makes it
easy to understand.<br>
<br>
The problem is that DrGDrawable is inheriting
#processMouseMove:localPosition: from Morph, that is also doing
`self startStepping: #processMouseStillDown stepTime: 1`.<br>
<br>
If I copy down that method to DrGDrawable and remove the last two
lines, I get the behavior you want. I'm not sure if this is the
right solution, as DrGDrawable has many methods related to event
handling, and I only spent a few minutes here.<br>
<br>
Hope this helps.<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>