<div dir="ltr">I was thinking, perhaps Morph>>handlesKeyboardFocus should answer false so that morphs don't get focus by default unless you implement this method? Would that lead to more predictable behaviour? What's the advantage of the current behaviour? It just saves you from implementing handlesKeyboardFocus in your morphs or does it have any other advantage?</div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Thu, Jul 16, 2026 at 12:45 AM Juan Vuletich <<a href="mailto:juan@cuis.st">juan@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"><u></u>

  
    
  
  <div>
    <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>On 2026-07-14 5:28 AM, Luciano
      Notarfrancesco via Cuis-dev wrote:<br>
    </div>
    <blockquote type="cite">
      
      <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">
          <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" target="_blank">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 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 bgcolor="#FFFFFF">
              <pre cols="72" style="font-family:monospace">-- 
<a href="http://mamot.fr/@drgeo" style="font-family:monospace" target="_blank">http://mamot.fr/@drgeo</a></pre>
            </div>
            -- <br>
            Cuis-dev mailing list<br>
            <a href="mailto:Cuis-dev@lists.cuis.st" target="_blank">Cuis-dev@lists.cuis.st</a><br>
            <a href="https://lists.cuis.st/mailman/listinfo/cuis-dev" rel="noreferrer" target="_blank">https://lists.cuis.st/mailman/listinfo/cuis-dev</a><br>
          </blockquote>
        </div>
      </div>
      <br>
      <fieldset></fieldset>
    </blockquote>
    <pre cols="72">-- 
Juan Vuletich
<a href="http://www.cuis.st" target="_blank">www.cuis.st</a>
<a href="http://github.com/jvuletich" target="_blank">github.com/jvuletich</a>
<a href="http://researchgate.net/profile/Juan-Vuletich" target="_blank">researchgate.net/profile/Juan-Vuletich</a>
<a href="http://independent.academia.edu/JuanVuletich" target="_blank">independent.academia.edu/JuanVuletich</a>
<a href="http://patents.justia.com/inventor/juan-manuel-vuletich" target="_blank">patents.justia.com/inventor/juan-manuel-vuletich</a></pre>
  </div>

</blockquote></div>