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

Handle LOK_CALLBACK_TOOLTIP in wsd #7897

Merged
merged 2 commits into from Jan 16, 2024
Merged

Conversation

mikekaganski
Copy link
Contributor

Send "tooltip: " to client for this callback type.
Client-side handling should be implemented separately.

Signed-off-by: Mike Kaganski mike.kaganski@collabora.com
Change-Id: I2d1a07dd36fa20a4b5ff785da788356e0f41d62f

@mikekaganski
Copy link
Contributor Author

This depends on https://gerrit.libreoffice.org/c/core/+/161302 (and its backport to 23.05).

@mikekaganski mikekaganski force-pushed the private/mk/redline_tooltips branch 3 times, most recently from 52265fd to 9e3a800 Compare January 8, 2024 15:32
Send "tooltip: <payload>" to client for this callback type.
Client-side handling should be implemented separately.

Signed-off-by: Mike Kaganski <mike.kaganski@collabora.com>
Change-Id: I2d1a07dd36fa20a4b5ff785da788356e0f41d62f
Signed-off-by: Mike Kaganski <mike.kaganski@collabora.com>
Change-Id: Ibc182d026f2504f7c5bedbbf972f38e4a9ba5db9
Copy link
Contributor

@Ashod Ashod left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @mikekaganski. Looks good. One suggestion.

@@ -3209,6 +3209,11 @@ void ChildSession::loKitCallback(const int type, const std::string& payload)
sendTextFrame("corelog: " + payload);
break;
}
case LOK_CALLBACK_TOOLTIP:
{
sendTextFrame("tooltip: " + payload);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might need to add "tooltip:" in HTTPWSTest::testInactiveClient(), in case it is generated by a test document.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!
Let me merge this, and then I will try to create a follow-up implementing your suggestion.

@mikekaganski mikekaganski merged commit d5340da into master Jan 16, 2024
12 checks passed
@mikekaganski mikekaganski deleted the private/mk/redline_tooltips branch January 16, 2024 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

2 participants