Restoring the widgets annot still shows "Sign here" for stamps but not for freehand

Hey there,

I actually cannot reproduce this issue with the standard signature flow.

How are you exporting the XFDF? Is the XFDF you are importing the same XFDF that was exported from the document?

Im testing by doing the following flow:

  1. Open a document with a signature field
  2. Sign the field by clicking “sign here” and adding a signature
  3. Exporting the XFDF and saving it somewhere
  4. Reopen the original document
  5. Import the previously saved XFDF

When I reimport that XFDF, the “Sign here” button goes away as expected.

I do not need to do any of the WidgetAnnot.annot = annotation stuff to make this work.

Logan