Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Forward "UnoCommandResult" to wopi host #8903

Open
GaZaTu opened this issue Apr 26, 2024 · 0 comments
Open

Forward "UnoCommandResult" to wopi host #8903

GaZaTu opened this issue Apr 26, 2024 · 0 comments
Labels
enhancement New feature or request unconfirmed

Comments

@GaZaTu
Copy link

GaZaTu commented Apr 26, 2024

Is your feature request related to a problem?

Initially I just wanted CallPythonScript to be fixed (which has been broken for some time now), but then I realized that it would actually be rather nice to get a response for all .uno:* commands so that i know a command that i triggered is actually complete without the wopi host having to guess.

Describe the solution you'd like

I would like Collabora to introduce a new postMessage call (from client to host) which just forwards all instances of unocommandresult back to the wopi host.

Additional context

In my testing I simply added

this._map.fire('postMessage', {msgId: 'UnoCommandResult', args: {commandName: commandName, success: success, result: obj.result}});

below

this._map.fire('commandresult', {commandName: commandName, success: success, result: obj.result});

to get the communication to work

@GaZaTu GaZaTu added enhancement New feature or request unconfirmed labels Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request unconfirmed
Projects
Status: No status
Development

No branches or pull requests

1 participant