<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Exactly as Luciano says. If the morphs in the list handle
keyboard focus, they get it, meaning the list loses it. A quick
test is to define this in BorderedBoxMorph:</p>
<p>handlesKeyboardFocus<br>
^(self class == BorderedBoxMorph) not</p>
<p>So, it is a matter of using morphs that don't take keyboard
focus.</p>
<p>HTH,</p>
<div class="moz-cite-prefix">On 2026-07-14 5:28 AM, Luciano
Notarfrancesco via Cuis-dev wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAL5GDyo3n0D_nL-m6ouLkR66Pud10AtzCqCnox07n5NjuW7BxQ@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="auto">Hi Hilaire,</div>
<div dir="auto">I think this happens because the morphs inside the
list are handling keyboard focus, so when the mouse pointer
hovers one of the items the keyboard focus changes (the list
loses the focus and the color changes). One way to deal with it
is to lock the morphs that you use as list items, just send them
the message #lock before adding them to the list. I’m not sure
what’s the best way to do it, did you find a better solution or
do you have other ideas?</div>
<div><br>
<div class="gmail_quote gmail_quote_container">
<div dir="ltr" class="gmail_attr">On Sun, Jul 12, 2026 at
21:59 Hilaire Fernandes via Cuis-dev <<a
href="mailto:cuis-dev@lists.cuis.st"
moz-do-not-send="true" class="moz-txt-link-freetext">cuis-dev@lists.cuis.st</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<p><font size="4" style="color:rgb(0,0,0)">Hi, </font></p>
<p><font size="4" style="color:rgb(0,0,0)">Since the
latest changes, I have observed flickering when
hovering some widgets of Cuis-Smalltalk-UI</font></p>
<p><font size="4" style="color:rgb(0,0,0)">For example,
PluggableListOfMorph example1 openInWorld</font></p>
<p><font size="4" style="color:rgb(0,0,0)">I think it is
related to focus attribution changing between owner
and children.</font></p>
<p><font size="4" style="color:rgb(0,0,0)">Thanks</font></p>
<p><font size="4" style="color:rgb(0,0,0)">Hilaire</font></p>
</div>
<div text="#000000" bgcolor="#FFFFFF">
<pre cols="72" style="font-family:monospace">--
<a href="http://mamot.fr/@drgeo" target="_blank"
style="font-family:monospace" moz-do-not-send="true"
class="moz-txt-link-freetext">http://mamot.fr/@drgeo</a></pre>
</div>
-- <br>
Cuis-dev mailing list<br>
<a href="mailto:Cuis-dev@lists.cuis.st" target="_blank"
moz-do-not-send="true" class="moz-txt-link-freetext">Cuis-dev@lists.cuis.st</a><br>
<a href="https://lists.cuis.st/mailman/listinfo/cuis-dev"
rel="noreferrer" target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">https://lists.cuis.st/mailman/listinfo/cuis-dev</a><br>
</blockquote>
</div>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
</blockquote>
<pre class="moz-signature" cols="72">--
Juan Vuletich
<a class="moz-txt-link-abbreviated" href="http://www.cuis.st">www.cuis.st</a>
github.com/jvuletich
researchgate.net/profile/Juan-Vuletich
independent.academia.edu/JuanVuletich
patents.justia.com/inventor/juan-manuel-vuletich</pre>
</body>
</html>