Form Field dialog always pops up upon double clicking anywhere within the word document

Overview

This problem only occurs when certain steps are taken, but they are fairly common steps for form fields. This repros both with the online syncfusion demo webpage and on my own personal code. Once this component enters the condition, double clicking ANYWHERE on the document will cause a form field pop up to occur. Because of this bug, once we're in this condition, we can no longer select a word with a double click.

Repro Steps

1.Navigate to Syncfusion's Word Process Form Fields Demo: https://blazor.syncfusion.com/demos/document-editor/form-fields 

NOTE: the demo is already in Form Field filling mode.

2. Click on the John form field and change the name to Bill, then hit the [OK] button to dismiss the dialog

3. Click the [Restrict Editing] button in the editor's toolbar

4. In the menu pop-up select "Protections"

5. On the left hand Restrict Edit sidebar, select the [Stop Protection] button

6. Type 123 into the Unprotect Document password field and then hit the [OK] button

7. Double click on the Bill form field (which is the full name)

7. A Text Form Field dialog will appear. Hit the [OK] or [Cancel] button. Doesn't matter which.

8. Now double click ANYWHERE on the document that is plain text or white space. The Text Form Field dialog will always appear.


4 Replies

DS Dhanush Sekar Syncfusion Team April 2, 2024 02:09 PM UTC

Hi Chad,


We are able to replicate the reported issue and are validating it currently. We will update further details on this by April 4, 2024.



Regards,

Dhanush Sekar



SM Suriya Murugan Syncfusion Team April 5, 2024 03:35 AM UTC

Chad, We will update details shortly.



BS Balamurugan Shanmugam Syncfusion Team April 22, 2024 08:28 AM UTC

Chad, we have confirmed the reported issue ‘Form Field dialog always pops up' as a defect and logged a defect report. We will fix this issue in our upcoming first patch release after 2024 volume 1 SP release which is expected on second week of May 2024.

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

 https://www.syncfusion.com/feedback/53848/form-field-dialog-always-pops-up-upon-double-clicking-anywhere-within-the-word

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.”



MM ManojhKumar Muruganandhan Syncfusion Team May 22, 2024 12:48 PM UTC

Chad, we are glad to announce that our patch release (v25.2.5) has been rolled out successfully. In this release, we have added the fix for the reported issue "Form Field dialog always pops up upon double clicking anywhere within the word document".

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


CDN link:

https://cdn.syncfusion.com/blazor/25.2.5/syncfusion-blazor.min.js

https://cdn.syncfusion.com/blazor/25.2.5/syncfusion-blazor-documenteditor.min.js


NuGet link:

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


Feedback Link:

https://www.syncfusion.com/feedback/53848/form-field-dialog-always-pops-up-upon-double-clicking-anywhere-within-the-word


Root cause:

In fireselectionchange method, we're setting the current formfield based on formFillingProtectionMode. when we turn off formFillingProtectionMode, the current formfield doesn't updated properly. So, the Formfield Popup opens based on considering the current form field.


Please let us know if you need any further assistance.


Loader.
Up arrow icon