[Cuis-dev] Balloon tweaks

Juan Vuletich juan at cuis.st
Mon Jan 12 10:59:07 PST 2026


Integrated. Thanks!

Cheers,

On 2026-01-12 9:15 AM, Luciano Notarfrancesco via Cuis-dev wrote:
> This change set fixes some issues with balloons showing up or 
> disappearing when they shouldn't. Here I show two of the problems and 
> how they are fixed after this change set: https://streamable.com/ekn53k
>
> Part of the problem was due to the VM generating mouse move events 
> during scrolling, and all the events are actually at the same position 
> (the hand doesn't really move). I'm not sure this happens in all 
> platforms, I only tested Mac. This caused flashing of the balloon in 
> the second example (the filter), where I use balloons in two different 
> ways: 1) with wantsBalloon as normally used, to show the current 
> cutoff frequency and Q; 2) directly sending #showBalloon: while 
> handling mouse scrolling to show how scrolling horizontally or 
> vertically changes cutoff or Q. In this case, the mouse move events 
> end up making the balloon flicker (adding and removing it many times 
> while scrolling). The other problem with the window title was that the 
> balloon alarm was not properly removed and ended up showing the 
> balloon when the hand was already over another morph.
>
> Let me know if you see any problem with my fix. Thanks,
> Luciano
>
-- 
Juan Vuletich
www.cuis.st
github.com/jvuletich
researchgate.net/profile/Juan-Vuletich
independent.academia.edu/JuanVuletich
patents.justia.com/inventor/juan-manuel-vuletich



More information about the Cuis-dev mailing list