We're sorry GroupDocsApp doesn't work properply without JavaScript enabled.

Free Support Forum - groupdocs.app

Annotation issue - Polyline doesn't work

  1. Polyline doesn’t appear in PDF files
  2. Polyline degrades upon multiple saves in DOCX files

Polyline doesn’t appear in PDF files
This is a core lib issue, I made tests with the examples available in the Annotation Project with the AddPolylineAnnotation class, the polyline doesn`t appear in PDF files, just in DOCX.

Polyline degrades upon multiple saves in DOCX files
This is a problem in the web project not in the core lib, I already tested the same scenario with the lib and it is working as expected. So for reproduce the issue:

  • clone the project
  • start the server with mvn clean spring-boot:run
  • open the annotation page, upload the example file in the attach
  • draw the polyline annotation and save the document
  • repeat this last step sometimes and you see that the previous annotations will disappear.

PS: Please, update the annotation dependency of this repository from 19.7 to 21.7 in the pom, someone update the code but forgot to update the maven dependency.
And I think that before running the project will be necessary do the changes that I suggested in this other ticket, because that problem still exists in the main branch.

Git project: https://github.com/groupdocs-total/GroupDocs.Total-for-Java.git
Git branch: main
Git revision: ce15ad72
Browser: Version 94.0.4606.81 (Official Build) (64-bit)
SO: Windows 10
Java version: 1.8.0_281
Exemple file for issue 2: word.docx (12.0 KB)
Video for issue 2 - polyline-bug.mkv: https://drive.google.com/drive/folders/1Ke7aLRPcb2QYvsfPiUYgqm8xppdJr6wX?usp=sharing

This topic has been moved to the related forum: https://forum.groupdocs.com/t/annotation-issue-polyline-doesnt-work/10300