enableReadOnlyMode() doesn't disable replies, annotation state, and grouping buttons in multi-select mode

WebViewer Version: 8.12, 10.1

Do you have an issue with a specific file(s)? No
Can you reproduce using one of our samples or online demos? Yes
Are you using the WebViewer server? No
Does the issue only happen on certain browsers? No
Is your issue related to a front-end framework? No
Is your issue related to annotations? Yes

Please give a brief summary of your issue:
enableReadOnlyMode doesn’t disable replies, annotation state, and grouping buttons in multi-select mode

Please describe your issue and provide steps to reproduce it:
Please see the video below:

1.) Create two markups
2.) Select both of them
3.) Call enableReadOnlyMode()

Expected Result:
The comment, annotation state, and group buttons in the bottom of the right panel should be disabled

Actual Result
The comment, annotation state, and group buttons in the bottom of the right panel are still functional

Please provide a link to a minimal sample where the issue is reproducible:

Hello adrianm,

Thank you for reporting this, I was able to reproduce the issue. I have raised this to our product team to be reviewed.

Best regards,
Tyler Gordon

Hi tgordon,

Thanks for the acknowledgement. In the meantime, is there a function call I can use to hide the buttons in question so that the user won’t be able to use them?

I am keen to update our pdftron instance to the latest version but this issue is blocking us.

Hi adrianm,

This has been added to our July 10th sprint

You can disable them with:

instance.UI.disableElements(['list of data-elements'])

with these data-elements:

Best regards
Tyler

Hi tgordon,

I have disabled the multi select buttons, but is there a way to disable the multi select behaviour of the viewer when selecting more than one annotation? Since the multi select buttons are hidden there isn’t much sense for the multi select behaviour to still be enabled, not to mention it makes selecting annotations kind of cumbersome.

Hi adrianm,

You can use: Apryse WebViewer Namespace: NotesPanel

Best regards,
Tyler