Polymap4 / polymap4-rhei

Components for domain specific apps
0 stars 2 forks source link

Delayed event UI update #34

Closed fb71 closed 8 years ago

fb71 commented 8 years ago

Seem sthat after changing (c5d8632d8689dfc86e3339f415d57a7439067cbd (#5)) DefaultAppDesign delayed events are not always handled properly. Sometimes the UI does not get updated. Seems that there is a race condition.

fb71 commented 8 years ago

Nasty bug! Glad to fix it :)

fb71 commented 8 years ago

There are two situations where UICallback is necessary:

For 1.) there is/was a RAP PhaseListener. Which was non-functional since porting to polymap4.

For 2.) DeferringListeners tryed to manage this with SessionUICallbackCounter but this has a race condition as the activation of the UI callback is done in the event DispatcherThread when the Display thread may already has return to the client

fb71 commented 8 years ago

Both removed. UICallback always is enabled. Until we have a stable solution.