[Cuis-dev] mouse enter/leave events

Hilaire Fernandes hfern at free.fr
Wed Sep 24 06:22:37 PDT 2025


I think I have issues with the mouseEnter/Leaver. Don't know if it is 
related to recent changes but the behavior has changed unexpectedly in 
my app.

When the mouse enters an annotator morph, the annotator receives a mouse 
enter (normal) then a mouse leave event (abnormal).

This is because the the enter handler does that:

mouseEnter: evt     'enter' print.     self removeAlarm: #removeHalo.   
   self show. *    self addHalo*

Adding the halo makes the system to emit a mouse leave event to the 
annotator. Then if I move again the mouse while still over the 
annotator, a new mouse enter event is emmited. So it is like adding the 
halo to the annotator makes the mouse to leaven the morph, which is not 
the case.

This issue was not present previously.

Thanks

Hilaire

-- 
http://mamot.fr/@drgeo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20250924/ba133464/attachment.htm>


More information about the Cuis-dev mailing list