Problem with Annotations (in big PDF files)

Hello,

we have some pdf files where annotating isn't working the way it ist working in acrobat and other pdf viewers.
Attached is an example of the same page in SfPdfViewer and Acrobat. The marks in SfPffViewer have gaps and it was not possible to mark anything in the bottom half of the page.

Unfortunately I cannot directly attach the PDF here because it is bigger than 30MB. So I added a download link for anyone who wants to check himself.
https://www.dropbox.com/s/2cjez2ptcslxbde/89805_gesamt.pdf.zip?dl=0

The file has 800 pages, so I know its very big and probably memory consuming. But this also happens in smaller files.

Thanks for any help.

Attachment: examplescreenshots_bf4fd67a.zip

7 Replies 1 reply marked as answer

MK Muralitharan Karikalan Syncfusion Team March 4, 2021 02:00 PM UTC

 
Hi Thomas,   
   
Greetings from Syncfusion support, 
   
We were unable to reproduce the issue, “Text mark annotation is not added properly for a particular PDF document” and it is working as expected. Could you please try the below-provided sample and let us know whether we have missed out anything while replicating the issue.   
    
Please find the sample in the below link, which we have used to reproduce the issue in our end  
 
Please find video the where we drawn the annotation with the scenario you are reported, 
 
Kindly share the following details to analyze more on this issue and assist you with the better solution     
1.Simple sample/ modify the above sample to reproduce the issue.    
2.Replication video/procedure to reproduce the issue.   
3.SfPdfviewer version 
   
Regards,   
Muralitharan K   



TS Thomas Stark March 4, 2021 08:13 PM UTC

Hello,

thanks for your effort.
I believe the problem we habe with the big pdf I submitted in my first mail doesn't appear always. I tested with the demo application that comes with the syncfusion package. I use the latest version: 18.4.0.39.
I did some more tests and I have added a video where the app crashes on this pdf in the demo application when trying to mark some text. Besides that the marking sometimes succeeds sometimes it doesn't. Thats in the demo app from syncfusion.
Video download: https://www.dropbox.com/s/z4akarpeb4dh76z/screencast-sfpdfviewer-bigPDF-crash.mp4.zip?dl=0
Additionally I tests with a smaller pdf with only 4 pages, where marking doesn't work at all at some places.
I made a screencasts with sfpdfviewer demo application: https://www.dropbox.com/s/lwx2mwq7dco5z3q/screencast-sfpdfviewer.mp4.zip?dl=0
And the same pdf in Acrobat: https://www.dropbox.com/s/h7q3fsvmgt37ui2/screencast-acrobat.mp4.zip?dl=0
The pdf is attached to this message.

Maybe the new information I could gather helps reproducing the issue I have.

Thanks again for the great work.

Cheers Thomas.





Attachment: 97341_0710_WartungundInbetriebnahme.pdf_e4f02ce7.zip


MK Muralitharan Karikalan Syncfusion Team March 5, 2021 12:08 PM UTC

Hi Thomas, 
 
We were able to reproduce the issue, “Textmarkup annotations are not added properly for a particular PDF document” . Currently, we are validating this issue and we will update the further details on March 09, 2021. 
 
We are unable to reproduce the issue “Application crashes with exception while Navigating pages”  like in the video you have shared. Kindly provide us the stack trace and a replication procedure to analyze more on this issue. 
 
Regards, 
Muralitharan K 

 



MK Muralitharan Karikalan Syncfusion Team March 9, 2021 05:07 PM UTC

Hi Thomas, 
 
We have confirmed that the issue,  “Textmarkup annotations are not added properly for a particular PDF document” is a bug and logged a defect report for this. We will update the patch for the issue on March 30, 2021. 
 
Please find the feedback link below, 
 
Regards, 
Muralitharan K 
 



MK Muralitharan Karikalan Syncfusion Team March 30, 2021 02:30 PM UTC

Hi Thomas,    
    
We have resolved the issues “Textmarkup annotations are not added properly for a particular PDF document” and the custom NuGet for the same can be downloaded from the following link.    
        
       
Disclaimer: Please note that we have created this NuGet for version  specifically to resolve the following issue(s) reported in this/the Forum 163170 
      
Note : Kindly follow the steps to clear the NuGet cache and then install patched NuGet to get the issue resolved.       
        
           
This fix will be included in our 2021 Volume 1 service pack release which is expected to available in the month of May, 2021.        
    
Regards,    
Muralitharan K.    


Marked as answer

TS Thomas Stark March 31, 2021 07:33 PM UTC

Hello Muralitharan,

Thank you so much for the fix, unfortunately I have a problem using the patched NuGet Package. Normally I use the Installer for Windows to install the files and reference the dll files in Visual Studio.
To use the nuget package I have removed these references and installed the package via nuget manager. I also cleared the cache as instructed in your post before and once again after the installation of the nuget package. But I am always getting an error when building my uwp application:

Severity

Code

Description

Project

File

Line

Source

Suppression State

Error


PRI277: 0xdef00532 - Conflicting values for resource 'Files/Syncfusion.SfTreeNavigator.UWP/Themes/TreeNavigatorStyle.xbf'

Christiani

C:\Users\tstark\source\repos\Christiani-Windows\Christiani\GENERATEPROJECTPRIFILE


Build



Besides the SfPffViewer package I have installed the Synfusion Controls for UWP, everey other reference to syncfusion packaages is removed.

Do you have a hint, what is wrong with my configuration. Or is it maybe possible to get the Syncfusion.SfPdfViewer.UWP.dll like in the installation package for windows so I can only replace this single dll file?

Thanks for any help,
Thomas.


MK Muralitharan Karikalan Syncfusion Team April 1, 2021 06:52 AM UTC

Hi Thomas, 
 
We were unable to reproduce the reported issue with the custom NuGet we have provided and it is working as expected. We suspect that this issue may be due to the improper NuGet cache clearance. 
 
Please find the instruction video and sample we have tried in our end, 
 
Kindly follow the instructions in the video to clear the NuGet cache. Please let us know if you need further assistance on this. 
 
Regards, 
Muralitharan K 


Loader.
Up arrow icon