[Cuis-dev] Flickering with some widgets

Juan Vuletich juan at cuis.st
Wed Jul 15 10:45:45 PDT 2026


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:

handlesKeyboardFocus
     ^(self class == BorderedBoxMorph) not

So, it is a matter of using morphs that don't take keyboard focus.

HTH,

On 2026-07-14 5:28 AM, Luciano Notarfrancesco via Cuis-dev wrote:
> Hi Hilaire,
> 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?
>
> On Sun, Jul 12, 2026 at 21:59 Hilaire Fernandes via Cuis-dev 
> <cuis-dev at lists.cuis.st> wrote:
>
>     Hi,
>
>     Since the latest changes, I have observed flickering when hovering
>     some widgets of Cuis-Smalltalk-UI
>
>     For example, PluggableListOfMorph example1 openInWorld
>
>     I think it is related to focus attribution changing between owner
>     and children.
>
>     Thanks
>
>     Hilaire
>
>     -- 
>     http://mamot.fr/@drgeo
>
>     -- 
>     Cuis-dev mailing list
>     Cuis-dev at lists.cuis.st
>     https://lists.cuis.st/mailman/listinfo/cuis-dev
>
>
-- 
Juan Vuletich
www.cuis.st
github.com/jvuletich
researchgate.net/profile/Juan-Vuletich
independent.academia.edu/JuanVuletich
patents.justia.com/inventor/juan-manuel-vuletich
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20260715/d267f273/attachment.htm>


More information about the Cuis-dev mailing list