You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WebViewer version
11.2.0 The current behavior
Polyline and Circle Annotations move when the XOD Document is reopened The expected behavior
The Annotations should stay at the created Position Steps to reproduce
This may be a very specific usecase, but we have documents with alternating page sizes and orientations. Those get
delivered as a XOD document. The annotations get loaded and saved to a different service using annotationManager.importAnnotations(...) and annotationManager.exportAnnotations(...). (The service does not alter
the data!)
After the document is reopened, the Circle and Polyline annotations are shifted to a different position. This happens
not on the first page and probably not on pages that are the same size as the first (mostly on rotated pages). If the document is a PDF, not a XOD,
this is fixed. The sizing box of the annotations remain in the correct position.
If the "moved" annotations get saved and the document gets merged with the annotations in the Backend using:
Thanks for this report - to allow our support to look at this in more detail please submit this via our support portal: https://apryse.com/form/request
This will ensure we get the right people on it as soon as possible. Please include steps to reproduce this and any documents where this happens.
In case anyone is stumbeling across this: The annotations got imported in the documentLoaded event. Switching to the annotationsLoaded event seems to be working.
WebViewer version
11.2.0
The current behavior
Polyline and Circle Annotations move when the XOD Document is reopened
The expected behavior
The Annotations should stay at the created Position
Steps to reproduce
This may be a very specific usecase, but we have documents with alternating page sizes and orientations. Those get
delivered as a XOD document. The annotations get loaded and saved to a different service using
annotationManager.importAnnotations(...)
andannotationManager.exportAnnotations(...)
. (The service does not alterthe data!)
After the document is reopened, the Circle and Polyline annotations are shifted to a different position. This happens
not on the first page and probably not on pages that are the same size as the first (mostly on rotated pages). If the document is a PDF, not a XOD,
this is fixed. The sizing box of the annotations remain in the correct position.
If the "moved" annotations get saved and the document gets merged with the annotations in the Backend using:
the before "moved" annotations are now in the correct place again.
We use the WebViewer together with Vite and Typescript to build a static site.
Example Before
![Image](https://private-user-images.githubusercontent.com/31186152/408086670-1626968e-4818-4de3-a80e-a43cdfb8bd03.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzODkwMTEsIm5iZiI6MTczOTM4ODcxMSwicGF0aCI6Ii8zMTE4NjE1Mi80MDgwODY2NzAtMTYyNjk2OGUtNDgxOC00ZGUzLWE4MGUtYTQzY2RmYjhiZDAzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDE5MzE1MVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTU4YTdmODkzYWMyNjhkMDdiNTc5MWMxNDEwYTZiMjA0N2M0Yzg1ZTNiZjRiMDM3ZWUwMjI4NjVjODY0NWQ5ZjgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.iT26zX_r9Gz8rTHKF-ambD_peeFSj4HwMWefl1iPrS4)
Example After
![Image](https://private-user-images.githubusercontent.com/31186152/408086669-4454101a-6d90-46fe-864b-14394b9c73c7.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzODkwMTEsIm5iZiI6MTczOTM4ODcxMSwicGF0aCI6Ii8zMTE4NjE1Mi80MDgwODY2NjktNDQ1NDEwMWEtNmQ5MC00NmZlLTg2NGItMTQzOTRiOWM3M2M3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDE5MzE1MVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQ5NjgxYjY3OGY2OWRmMjg4NGI3NmY2OTQ0YjVkYjlmOWRlZjM2ZWNkZjZjOWQzNzIzNWUzNDRjZTUxYTRhZjgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0._fBb3fpqph6sGcQD40s2kNC5FIfwMKvXnTr1FeqtbHE)
The text was updated successfully, but these errors were encountered: