SfPdfViewer: GoToPage method doesn’t work with Continuous Mode

Hello,

We are having an issue with the SfPdfViewer component with Xamarin Framework.

We cannot use the GoToPage() method at the same time as the PageViewMode : Continuous.

There is no error or exception, it just doesn't work.

After many try the PDF still stays on the first page with the Continuous mode, but with the PageByPage mode it works fine.

Do you have an example of functional code to use its two elements at the same time?

Thanks


5 Replies

MK Muralitharan Karikalan Syncfusion Team June 28, 2021 02:27 PM UTC

Hi Thomas,  
  
Greetings from Syncfusion support,  
  
We were unable to reproduce the issue, “GotoPage API is not working in continuous page view mode” 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  
  
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.PDF document   
4.SfPdfViewer version 
  
Regards,  
Muralitharan K  



TF Thomas FRITSCH replied to Muralitharan Karikalan June 29, 2021 06:46 AM UTC

Hi,

Thank you for your reply. I downloaded your project and reproduced the bug.

I will give you the steps that I did to reproduce it.

SfPdfViewer package version : v19.1.0.69

Goal: I will be able to be directly on page 5 when opening the PDF.

Steps to reproduce:

1 - Open the project with Visual Studio and set Emulator to Android (Android tablet emulator / Android 10, API 29).

2 – In MainPage.xaml.cs , Add this 3 lines :


I added “Task.delay(5000)” but it is completely optional. The bug still appears.

There is nothing more to do, the page does not open on page 5. It opens on page 1.


With the PageByPage mode it works very well, it opens on page 5.

Here is the code with PageByPage mode:


Hope I was enough specific that you can reproduce the bug.


Thanks!

Thomas


Attachment: GoToPageBug_e39bb72a.zip


MK Muralitharan Karikalan Syncfusion Team June 30, 2021 08:36 AM UTC

Hi Thomas, 
 
Thanks for your update. We were able to reproduce the issue, “GotoPage API is not working properly in Continuous mode in Xamarin.Forms Android platform” . Currently, we are validating this issue and we will update the further details on July 02, 2021. 
 
Regards, 
Muralitharan K 



MK Muralitharan Karikalan Syncfusion Team July 2, 2021 04:01 PM UTC

Hi Thomas,   
    
We have confirmed that the issue “GotoPage API is not working properly in Continuous mode in Xamarin.Forms Android platform” is a defect and logged a defect report for this issue. The patch for this issue will be delivered on July 23, 2021.   
   
Please find the feedback link below,   
    
Regards,   
Muralitharan K.   



VD Vikram Devaraj Syncfusion Team July 23, 2021 06:30 PM UTC

  

Hi Thomas,    
    
We have resolved the issues “GotoPage API is not working properly in Continuous mode in Xamarin.Forms Android platform” 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 19.1.0.69 specifically to resolve the following issue reported in this/the Fourm 166673  
      
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 2 Service pack release which is expected to available in the month of August, 2021. 
 
Regards,    
Vikram D 


Loader.
Up arrow icon