[Cuis-dev] Balloon tweaks
Luciano Notarfrancesco
luchiano at gmail.com
Tue Jan 13 11:25:20 PST 2026
I did some reading about common tooltip behavior and I realized what I did
was wrong, we shouldn’t make balloons disappear on mouse move, just on
mouse leave. I’ll do some more testing and later I’ll send another proposal.
On Tue, Jan 13, 2026 at 01:59 Juan Vuletich <juan at cuis.st> wrote:
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20260114/41a61e0f/attachment.htm>
More information about the Cuis-dev
mailing list