-
Is there a reason why the The reason if this question is that I tried to update our client also to the latest glsp-client and now I have some strange mouse feedback. My problem is if I try to create a new edge and hover the source, the evaluation is started in the EdgeCreationTool if the hovered element is a valid soure and if so, a coursor feedback action is created. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You are right this looks like an over optimization to me. I the old code was only blocking in the synchronous use case. i.e. if the object to dispatch is an action we directly dispatched it and waited for the result. If the object to dispatch was a Promise of an action we did no wait for the dispatching result. |
Beta Was this translation helpful? Give feedback.
You are right this looks like an over optimization to me. I the old code was only blocking in the synchronous use case. i.e. if the object to dispatch is an action we directly dispatched it and waited for the result. If the object to dispatch was a Promise of an action we did no wait for the dispatching result.
With the new code we always wait until the
actionDispatcher.dispatch()
method resolves. This could definitely cause the issues you described.Even though we didn't encounter an issues in the workflow examples it might still be better to revert this change.
I'm currently also preparing an update of the
@eclipse-glsp/ide
module which should be ready soon.So If you can postpone your …