Performance drops when working with protected document that has unprotected section

Hello, huge fan of the Blazor Document Editor. Very developer friendly!

To reproduce this issue, 

Prep word doc

  1. Open a word doc of any text in edit mode.
  2. Go to review tab and click Restrict Editing
  3. On the Restrict Editing pane, check Allow only this type of editing in this document:
  4. Ensure No changes (Read Only) is selected on the dropdown
  5. Highlight an area of text in the document.
  6. Check off Everyone in the Exceptions (optional) ​section to allow users to only edit this text selection
  7. Click Yes, start Enforcing Protection
  8. Click ok in ​dialog ​because no password is needed
  9. Save this word document.
  10. Open the file in a Blazor Syncfusion Document Editor. The document should be read only mode, but the unprotected section is highlighted. Everything works as expected, and the user can edit in the unprotected section. However, the entire editor behaves very slowly. This is likely because it is running some task to check whether a section is protected or unprotected and this is blocking the single Blazor thread which runs the UI. This is probably being called each time the user makes a keystroke.




14 Replies

SM Suriya Murugan Syncfusion Team April 15, 2022 06:28 AM UTC

Hi Riley,


We will check and update details shortly.


Regards,

Suriya M.



SM Suriya Murugan Syncfusion Team April 20, 2022 04:33 AM UTC

Hi Riley,


Can you please share the below details to proceed further?

  1. Confirm whether you are using Blazor server or web assembly app?
  2. Document editor version details.
  3. If possible, share the document which you have tried at your end.

Regards,

Suriya M.



RM Riley McLaughlin April 20, 2022 03:31 PM UTC

Hello, thanks for your reply.


  • Confirm whether you are usingBlazor server or web assembly app?

I am using a combination of the two for this app, but the document editor is in a Blazor WebAssembly App.


  • Document editor version details.

Nugetpackage: Syncfusion.Blazor.WordProcessor 20.1.0.50


  • If possible, share the document which you have tried at your end.

Example document with protections in place is attached.When opening in syncfusion doc editor, you should be unable to edit anything besides the second paragraph which is highlighted.When editing the highlighted area, it is very delayed but still works.




RM Riley McLaughlin April 20, 2022 03:49 PM UTC

Here is the attached sample word doc.


Attachment: TestUnprotectedSection_6e5d9b14.zip



AE Ajithamarlin Edward Syncfusion Team April 21, 2022 02:18 PM UTC

Hi Riley,


Thanks for sharing the document.


Currently we are checking and We will update further details on this by April 22,2022.


Regards,

Ajithamarlin E



SM Suriya Murugan Syncfusion Team April 25, 2022 05:45 AM UTC

Hi Riley,


Apologies for the delay!


Currently, we are validating and get back to you with details by April 25, 2022.


Regards,

Suriya M.



AE Ajithamarlin Edward Syncfusion Team April 25, 2022 05:03 PM UTC

Hi Riley,


We need additional timeline to validate this issue, we will update further details on this by April 27,2022.


Regards,

Ajithamarlin E



SM Suriya Murugan Syncfusion Team April 27, 2022 02:35 PM UTC

Hi Riley,


Apologies!


We are facing complexity in formulating the fix plan for the editing performance in protected section faced only in the WASM alone. We need additional timeline to check this issue and will update details by April 29, 2022.



Regards,

Suriya M.




AE Ajithamarlin Edward Syncfusion Team April 29, 2022 01:51 PM UTC

Hi Riley,



We have confirmed the reported issue as a defect and logged a defect report. We will fix this issue and include it in our EJ2 patch release which is scheduled for June 1, 2022.  


You can track the status of the bug through the below feedback link:


https://www.syncfusion.com/feedback/34580/performance-issue-on-editing-a-protected-document


Disclaimer: “Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization.”


Regards,

Ajithamarlin E



RM Riley McLaughlin April 29, 2022 02:27 PM UTC

Hi, thank you for your support! I am getting an access denied message for the bug status link, but thank's for working on this!



SM Suriya Murugan Syncfusion Team May 2, 2022 04:55 AM UTC

Hi Riley,


We have added you to access the feedback portal. Kindly clear your cache try again once. Please log off and login with Syncfusion credentials. Please let us know if still issue persist.


Regards,

Suriya M.



SM Suriya Murugan Syncfusion Team June 9, 2022 01:13 PM UTC

Hi Riley,


Sorry for the inconvenience.


We are not possible to include the fix for reported issue in our latest patch release. We will include this fix in our 2022 volume 2 main release which is scheduled for end of June.


You can track the status of the bug through the below feedback link:

https://www.syncfusion.com/feedback/34580/performance-issue-on-editing-a-protected-document


Regards,

Suriya M.



SM Suriya Murugan Syncfusion Team July 4, 2022 11:00 AM UTC

Hi Riley,


Sorry for the inconvenience.


We are not possible to include the fix for reported issue in our ​2022 volume 2 main release. We will include this fix in our next  weekly patch release which is scheduled for July 20, 2022.


You can track the status of the bug through the below feedback link:

https://www.syncfusion.com/feedback/34580/performance-issue-on-editing-a-protected-document


Regards,

Suriya M.



AE Ajithamarlin Edward Syncfusion Team July 13, 2022 06:40 AM UTC

HI Riley,


We are glad to announce that our patch release (v20.2.38) is rolled out successfully. In this release, we have added the fix for the reported issue. 


Please upgrade to the latest version packages to resolve this issue.     

https://www.nuget.org/packages/Syncfusion.Blazor.WordProcessor/20.2.0.38


You can track the status of the bug through the below feedback link:

https://www.syncfusion.com/feedback/34580/performance-issue-on-editing-a-protected-document


Release notes:  https://ej2.syncfusion.com/documentation/release-notes/20.2.38/#document-editor


Please let us know if you need any further assistance.


Regards,

Ajithamarlin E




Loader.
Up arrow icon