pharo-spec / Spec

Spec is a framework in Pharo for describing user interfaces.
MIT License
62 stars 63 forks source link

Only buttons react on mouse enter events #876

Open pavel-krivanek opened 4 years ago

pavel-krivanek commented 4 years ago

When you have a mouse enter event installed on a button, it works well:

app := SpApplication new.
app useBackend: #Gtk.
presenter := SpButtonPresenter newApplication: app.
presenter eventHandler whenMouseEnterDo: [ :evt | evt traceCr. ].
presenter openWithSpec.

However, if you do the same for image presenter, the event is not processed:

app := SpApplication new.
app useBackend: #Gtk.
presenter := SpImagePresenter newApplication: app.
presenter eventHandler whenMouseEnterDo: [ :evt | evt traceCr. ].
presenter openWithSpec.

On Morphic, it does not work in any case

estebanlm commented 3 years ago

this is fixed now, can you confirm @pavel-krivanek ?