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
Originally posted by jmenzies12 December 18, 2024
Hey there,
The VSCode Messenger has an option called 'ignoreHiddenViews', this is set to true when constructed without passing in any options. This stops the diagram client from receiving any action messages etc. whenever the webview is considered hidden, for example if you have it as one of your tabs but it is not the editor in focus.
This causes issues in our project whenever someone changes tab to edit our source model, as the message sent from the source model to the webview never arrives at the client, resulting in the model not updating.
Unfortunately Messenger is declared as read-only in GlspVscodeConnector, so I had to copy GlspVscodeConnector and GlspEditorProvider in order to pass the options in for this.
It would be great if you could add a way for us to provide this in future.
Kind Regards
The text was updated successfully, but these errors were encountered:
Discussed in #1454
Originally posted by jmenzies12 December 18, 2024
Hey there,
The VSCode Messenger has an option called 'ignoreHiddenViews', this is set to true when constructed without passing in any options. This stops the diagram client from receiving any action messages etc. whenever the webview is considered hidden, for example if you have it as one of your tabs but it is not the editor in focus.
This causes issues in our project whenever someone changes tab to edit our source model, as the message sent from the source model to the webview never arrives at the client, resulting in the model not updating.
Unfortunately Messenger is declared as read-only in GlspVscodeConnector, so I had to copy GlspVscodeConnector and GlspEditorProvider in order to pass the options in for this.
It would be great if you could add a way for us to provide this in future.
Kind Regards
The text was updated successfully, but these errors were encountered: