[Cuis-dev] Balloon tweaks
Luciano Notarfrancesco
luchiano at gmail.com
Mon Jan 12 04:15:54 PST 2026
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20260112/1087b15a/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 7784-BalloonTweaks-LucianoEstebanNotarfrancesco-2026Jan04-15h01m-len.001.cs.st
Type: application/octet-stream
Size: 3643 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20260112/1087b15a/attachment.obj>
More information about the Cuis-dev
mailing list