-
Notifications
You must be signed in to change notification settings - Fork 649
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 ".uno:DocumentStatus" instead of SlideMasterPage special-handling #9323
Conversation
ce8ccce
to
b1d9ea8
Compare
b1d9ea8
to
ad96fe1
Compare
https://cpci.cbg.collabora.co.uk:8080/job/github_online_master_debug_vs_co-24.04/2490/console failed in unit-save-torture, retry. |
https://cpci.cbg.collabora.co.uk:8080/job/github_online_master_debug_vs_co-24.04_cypress_desktop/1532/console failed in impress/annotation_spec.js and impress/slide_operations_spec.js, retry. |
ad96fe1
to
b41954d
Compare
The part identifier is signed; a valid response may be like type=presentation parts=1 current=0 width=15875 height=11906 viewid=4 mode=0 selectedparts=0 Slide 1 -2916 The regex must allow optional leading minus. Signed-off-by: Mike Kaganski <[email protected]> Change-Id: Ic17086415e2c1f87ec74c6c4c3d8e43d1cde02fe
Since other view modes are needed, too, not only master page view, we need to send / handle status updates not only in case of SlideMasterPage update. The ".uno:DocumentStatus" pseudo-command update sent from ChangeEditMode in core serves for that. Signed-off-by: Mike Kaganski <[email protected]> Change-Id: If7bc7ae124d161658b06784f3e86d85f3c76f3c6
It is useful to send mode always, including the default 0. The 0 is significant; and there is a JS code that treats absent mode as "current". Signed-off-by: Mike Kaganski <[email protected]> Change-Id: I8dbaaa47b302d96c8e867c1e9cb31b558e13db09
Put them near the existing Master view button. The icons are from Colibre theme. Signed-off-by: Mike Kaganski <[email protected]> Change-Id: I6468e3b2a7973ab4862563f5ae141ae46bae20d9
4ab7628
to
48d79e4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not needed change
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, so I will update that after gerrit change will go in
Since other view modes are needed, too, not only master page view, we need
to send / handle status updates not only in case of SlideMasterPage update.
The new LOK_CALLBACK_STATUS_UPDATE serves for that.
Signed-off-by: Mike Kaganski [email protected]
Change-Id: If7bc7ae124d161658b06784f3e86d85f3c76f3c6