We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Found that Line/Arrow positions are not getting updated in annotation collection when moved or resized

Hi

Found that Line/Arrow positions are not getting updated in annotation collection when moved or resized.

Steps to reproduce:

  1. Add a Line/Arrow annotation in a PDF viewer
  2. log the pdfViewer.annotationCollection.
  3. Now move the Line/Arrow annotation to different location. (or resize the Line/Arrow annotation)
  4. log the pdfViewer.annotationCollection
  5. Now compare the log saved from step 2 and step 4.
  6. The expected behaviour is the vertexPoints should be updated based on new location.
Also, annotationResize event is not getting fired for Line/Arrow annotation.

Please fix the issue at the earliest. Let me know if there is a workaround.

Thanks

2 Replies

CK Chinnamunia Karthik Chinna Thambi Syncfusion Team January 4, 2023 01:47 PM UTC

Find the details for the respective queries


Found that Line/Arrow positions are not getting updated in annotation collection when moved or resized.

We were unable to reproduce the reported issue with the provided details. We have shared the sample in which we have tried to reproduce the issue in the below link and also we have shared the video recording for your reference.

 

Sample:  https://stackblitz.com/edit/angular-dxub1a-m8muz6?file=app.component.ts,app.component.html,package.json,index.html

 

Video: https://www.syncfusion.com/downloads/support/directtrac/general/ze/arrowAnnotation2039952463.zip

 

Try this sample and revert to us with the following details, if you have any concerns on this. This will be helpful for us to analyze further and provide the details.

 

  • Modified sample or share the sample in which the issue is reproduced.
  • Code snippet
  • Replicate procedure

Also, annotationResize event is not getting fired for Line/Arrow annotation.

We have created a separate forum (#179790) for this query for a better follow-up. Kindly follow this forum for further updates on this.





SR Sriraman January 4, 2023 06:00 PM UTC

Thanks for your reply.


I am unable to reproduce the issue consistently. But I did reproduced it once. I will dig more and come up with the steps if I can.


Actually, when the thread 179790 is created, I wondered how it was created, as I haven't created it. So, I have removed that one after a while. As you would like to track it separately, I have created the same thread again. The thread id is #179811.


Loader.
Up arrow icon