You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BlSpaceclass>>simulateEvents: aCollectionOfEvents on: anElement [
Points to analyze/discuss:
Do not support simulation of events on an element that has no space; it's an unrealistic scenario
Remove aSpace dispatchEvent: BlSpaceEventsProcessedEvent new. The space's phase doesn't do it like that.
we may prefer to replace aSpace dispatchEvent: anEvent by aSpace hostSpace enqueueEvent: anEvent to emulate what BlOSWindowEventHandler or BlMorphicEventHandler do.
Do we need to send so many pulses? could we expect that the sender of simulate* at the end uses "pulseUntil*" to wait the events to be processes by the host loop?
The text was updated successfully, but these errors were encountered:
I take as starting point this method:
Bloc/src/Bloc/BlSpace.class.st
Line 284 in 6cfbca7
Points to analyze/discuss:
aSpace dispatchEvent: BlSpaceEventsProcessedEvent new
. The space's phase doesn't do it like that.aSpace dispatchEvent: anEvent
byaSpace hostSpace enqueueEvent: anEvent
to emulate whatBlOSWindowEventHandler
orBlMorphicEventHandler
do.The text was updated successfully, but these errors were encountered: