Blank page in SfPdfViewer

Hi,

We are facing an issue where SfPdfViewer displays only blank page when we scroll to it. No exception is thrown, and also this behavior is hard to reproduce.

We are using SfPdfViewer in PageByPage ViewMode. We have enabled scrolling with finger, by interaction with SfPdfViewer, and we also have a button which sets a page by calling SfPdfViewer.GoToPage method. It seems that the blank pages are caused by combination of those two methods.

To reproduce this you can try following:
1. Click the button, SfPdfViewer correctly displays correct page
2. Swipe the page, SfPdfViewer displays blank page only

Also to make things more cryptic this does not happen every time, but if you try the above procedure 10 times it will surely happen at least once.

I would like to provide a demo or a PdfFile, but we have already started integrating your view into existing product and it would be difficult for me to extract it for you.
Also we are currently using nuget which was provided as a fix for other issue, you can get it in this thread: https://www.syncfusion.com/forums/157930/nullreferenceexception-while-adding-stamp

Best regards

16 Replies

AV Ashokkumar Viswanathan Syncfusion Team November 27, 2020 01:59 PM UTC

Hi Michal, 
 
Greetings from Syncfusion support, 
 
We were unable to reproduce the issue, “PDFViewer control shows blank page while switching pages in single page view mode”, its working as expected.  
  
Please find the sample which we have used to reproduce the issue,  
  
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. PDF document.
  3. Xamarin Forms.
  4. Replication video / procedure to reproduce the issue
 
Regards, 
Ashok Kumar Viswanathan. 



MS Michal Saman December 7, 2020 01:08 PM UTC

Hi, 

sorry for the late response, I'm currently busy with other tasks. I have attached a video below where you can see the issue. To provide some context, the page shouldn't be blank, and the button on top just sets the PageNumber on SfPdfViewer. It seems that when we set the page programatically through the button, page renders as expected, if we scroll to the page with finger, the page is blank.

This happens on multiple different PDF files. Also we are using Nuget which you have provided as a fix for other issue. You can get it here: https://www.syncfusion.com/forums/157930/nullreferenceexception-while-adding-stamp, I'm not sure if this is related at all.

Currently I can not provide demo, because we already started integration of SfPdfViewer into existing product, and I don't have time to produce a standalone demo for you. Please let me know if you were able to reproduce the bug.

Thanks in advance

Attachment: IMG_2869.MOV_6bdbb680.zip


AV Ashokkumar Viswanathan Syncfusion Team December 8, 2020 08:30 AM UTC

Hi Michal, 
 
Thank you for providing the requested details, 
 
We were able to reproduce the issue, “PDFViewer control shows blank page while switching pages in single page view mode” in Xamarin Forms iOS Platform . Currently, we are validating the issue and we will update the patch timeline details on December 10th , 2020 
 
Regards, 
Ashok Kumar Viswanathan. 



AV Ashokkumar Viswanathan Syncfusion Team December 10, 2020 05:37 PM UTC

Hi Michal,  
  
Sorry for the inconvenience caused, 
  
We are still validating the issue, “PDFViewer control shows blank page while switching pages in single page view mode” in Xamarin Forms iOS Platform due to its complexity. We will update the patch timeline details on December 14th , 2020 without any further delay.  
  
Regards,  
Ashok Kumar Viswanathan. 



AV Ashokkumar Viswanathan Syncfusion Team December 14, 2020 04:23 PM UTC

Hi Michal, 
  
We have confirmed that the issue, “PDFViewer control shows blank page while switching pages in single page view mode” in Xamarin Forms iOS is a defect and logged a defect report for this issue. The patch for this issue will be delivered on January 4th , 2020. 
 
Please find the feedback link below, 
  
Regards 
Ashok Kumar Viswanathan. 



MK Muralitharan Karikalan Syncfusion Team January 4, 2021 12:05 PM UTC

Hi Michal,   
  
We have resolved the issue, PDFViewer control shows blank page while switching pages in single page view mode in iOS platform and the custom NuGet for the same can be downloaded from the following link          
       
Custom NuGet :   
  
Disclaimer:   
Please note that we have created this NuGet for version 18.4.0.32 specifically to resolve the following issue(s) reported in this/the forum 160089 
 
    
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 2020 Volume 4 Service pack release which is expected to available in the month of January 2021.      
   
Regards,   
Muralitharan K. 



MS Michal Saman January 5, 2021 09:06 AM UTC

Hi,

thanks for update. After initial testing your fix seems to work flawlessly. 

We are currently using other fixes from you, would it be possible to merge this fix with fixes provided in these threads:
- https://www.syncfusion.com/forums/159911/strange-appearance-of-radiobuttons-in-pdfviewer
- https://www.syncfusion.com/forums/159356/keyboard-hides-forms-in-singlepage-view-mode

Or if you have any idea in which version of your nuget will all these fixes be present.

Thanks in advance


MK Muralitharan Karikalan Syncfusion Team January 6, 2021 08:48 AM UTC

Hi Michal, 
  
We will include the fix for the issues which we have delivered patch so far, in our upcoming weekly NuGet release v18.4.0.34 which is expected to be available on January 12th  , 2021.  
 
Regards, 
Muralitharan K 



MS Michal Saman replied to Muralitharan Karikalan January 6, 2021 09:56 AM UTC

Hi Michal, 
  
We will include the fix for the issues which we have delivered patch so far, in our upcoming weekly NuGet release v18.4.0.34 which is expected to be available on January 12th  , 2021.  
 
Regards, 
Muralitharan K 


Hi,

and would it be possible to provide one custom nuget which contains all the mentioned fixes before the 12th? We would like to test all the fixes at once as soon as possible.

Thanks in advance


MK Muralitharan Karikalan Syncfusion Team January 7, 2021 07:07 PM UTC

Hi Michal,    
   
We have included the fix for the forums 159911, 159356 and the custom NuGet for the same can be downloaded from the following link           
        
Custom NuGet :    
   
Disclaimer:   
Please note that we have created this NuGet for version 18.4.0.33 
 
 
     
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 2020 Volume 4 Service pack release which is expected to available in the month of January 2021.     
    
Regards,    
Muralitharan K.  



MS Michal Saman replied to Muralitharan Karikalan January 12, 2021 12:13 PM UTC

Hi Michal, 
  
We will include the fix for the issues which we have delivered patch so far, in our upcoming weekly NuGet release v18.4.0.34 which is expected to be available on January 12th  , 2021.  
 
Regards, 
Muralitharan K 


Hi,

is the fix really included in the release v18.4.0.34? According to the changelog it seems that it is not. Unfortunatelly we can't use the custom nuget you have provided because some breaking bugs have been discovered in one of the other threads.

Are there any plans when the fixes will be released to publicly available nuget?

Thanks in advance


MK Muralitharan Karikalan Syncfusion Team January 12, 2021 06:02 PM UTC

Hi Michal,  
  
We have included the fix for the forums 160089 , 159911 in our weekly NuGet release (v18.4.0.34). Kindly update to the mentioned version to get the issue resolved.  
 
Please find the packages link below,  
 
As mentioned in the forum 159356 we will provide the patch for the issue, “Keyboard hides the focused textbox form field in single page view mode in Xamarin.Forms Android and iOS platform on January 15th ,2021. 
  
Regards,  
Muralitharan K. 



MS Michal Saman January 13, 2021 12:15 PM UTC

Hi,

And are you sure that the latest fix from forum 159911 is applied? Because with the package provided in the thread 159911 (https://www.syncfusion.com/downloads/support/directtrac/general/ze/CustomNuget-1553520755) the radio buttons look and work as expected. When we update your nuget to v18.4.0.34 the radio buttons look and behave exactly as they behaved without the fix.

I have attached a screenshots, one from v18.4.0.34 and one from the custom fix where you can see that the look of radio buttons is different. Could you please look into it?

Thanks.

Attachment: Archive_e1862261.zip


MK Muralitharan Karikalan Syncfusion Team January 14, 2021 08:49 AM UTC

Hi Michal, 
 
Sorry for the inconvenience caused, 
 
We were able to reproduce the issue, “Radio button is loaded with different appearance” by comparing our weekly Nuget v18.4.0.34 and the CustomNuget-1553520755 we provided earlier . Currently we are validating this issue and we will update the further details on January 15th , 2021. 
 
Regards, 
Muralitharan K 



MK Muralitharan Karikalan Syncfusion Team January 15, 2021 05:59 PM UTC

Hi Michal,

 
Sorry for the inconvenience caused, 

We are still validating the issue Radio button is loaded with different appearance this with high priority and we will update the further details on  January 19, 2021 without any further delay.

Regards,
 
Muralitharan K. 



MK Muralitharan Karikalan Syncfusion Team January 19, 2021 05:24 PM UTC

Hi  Michal, 
 
We have included the fix for the issue, “ Radio button is loaded with different appearance” in our weekly nuget release v18.4.0.35. Kindly update to the mentioned version to get the issue resolved. 
 
Please find our weekly nuget link below, 
 
Regards, 
Muralitharan K  


Loader.
Up arrow icon