Manuscript (Case [Issue]22705) Morphic - We can get two times the mouseEnter/mouseLeave event when subscribing to the eventHandler of a Morph

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Manuscript (Case [Issue]22705) Morphic - We can get two times the mouseEnter/mouseLeave event when subscribing to the eventHandler of a Morph

Pharo Issue Tracker
Manuscript Notification
avatar
Bug in Project:  Morphic: 1. Pharo Image  •  You are subscribed to this case
StringMorph new
contents: 'test;
on: #mouseEnter send: #mouseEnter:from: to: self;
on: #mouseLeave send: #mouseLeave:from: to: self;
on: #click send: #mouseClick:from: to: self;
yourself.

With this piece of code, if you add the methods to the class and log each time an event happens, you will see that we have two enter and leave event each time.

The problem comes from Morph>>handleMouseEnter/Leave:
Priority Priority: 3 – Must Fix Status Status: Work Needed
Assigned To Assigned to: Everyone Milestone Milestone: Pharo8.0

Go to Case
No longer need updates? Unsubscribe from this case.

Don't want Manuscript notifications anymore? Update your preferences.

Manuscript

_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
https://lists.gforge.inria.fr/mailman/listinfo/pharo-bugtracker