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 ".uno:DocumentStatus" instead of SlideMasterPage special-handling #9323

Merged
merged 4 commits into from
Jun 28, 2024

Conversation

mikekaganski
Copy link
Contributor

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

@mikekaganski mikekaganski force-pushed the private/mk/master branch 3 times, most recently from ce8ccce to b1d9ea8 Compare June 26, 2024 12:35
@mikekaganski mikekaganski changed the title Handle LOK_CALLBACK_STATUS_UPDATE instead of SlideMasterPage special-handling Handle ".uno:DocumentStatus" instead of SlideMasterPage special-handling Jun 26, 2024
@vmiklos
Copy link
Contributor

vmiklos commented Jun 27, 2024

@vmiklos
Copy link
Contributor

vmiklos commented Jun 27, 2024

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.

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
Copy link
Contributor

@eszkadev eszkadev left a comment

Choose a reason for hiding this comment

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

not needed change

test/UnitInsertDelete.cpp Show resolved Hide resolved
Copy link
Contributor

@eszkadev eszkadev left a 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

@mikekaganski mikekaganski merged commit b352355 into master Jun 28, 2024
13 checks passed
@mikekaganski mikekaganski deleted the private/mk/master branch June 28, 2024 06:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

3 participants