Hello,
we made the discovery that the SfPdfViewer control changes the System.Globalization.CultureInfo's properties CurrentCulture & CurrentUICulture to InvariantCulture at random intervals on iOS & Android.
Large pdfs with +100 pages seem to trigger it more often than small ones.
In our application we embed the PdfViewer into a ContentView with surrounding labels and due to the resource-/translation logic in .Net being dependent on the aforementioned properties, users suddenly see different translations than expected and are confused.
I attached a reproduction project which displays 3 Pdfs in different tabs and the current culture at the bottom as well as 2 screen recordings from an iPad and an Android Emulator, both showcasing how the global cultures are changed on switching between the PDfs. The iOS case is much more severe where the InvariantCulture remains active until we switch again to another pdf
If this sounds familiar to you, then because it is: According to this thread the very same bug should have been fixed already in March 2021.
Please tell me how this kind of regression could slip into the latest version (20.1.0.58) ?
This really begs the question how well your internal quality assurance works and if we should reconsider our commitment to Syncfusion controls.
Looking forward to hearing from you.
Hi Helmut ,
We were able to reproduce the issue, “While loading various
PDFs in SfPdfViewer control it changes the Culture to Invariant ” .
Currently, we are validating this issue and we will update the further details
on June 07, 2022.
Note: With your provided sample I can be able to
reproduce this issue even in our previous versions.
Regards,
Vikram
Hi Helmut,
We have confirmed that the issue “Using SfPdfViewer control changes
language culture to Invariant” is a defect and logged a defect report for
this issue. The patch for this issue will be delivered on June 21
,2022.
Please find the feedback link below,
https://www.syncfusion.com/feedback/35485/android-ios-using-sfpdfviewer-control-changes-language-culture-to-invariant
Regards,
Vikram
Hi Helmut,
We sincerely regret the delay. We have resolved the issue " Using SfPdfViewer control changes language culture to Invariant". But while testing, we found some stability issues. We are working on this as high priority, we will provide the patch for the issue on or before June 28, 2022.
Regards,
Vikram
Hi Helmut,
We have
resolved the issue “Using SfPdfViewer control changes language culture to Invariant” and the custom NuGet for the same can be downloaded from the attached
link.
Kindly install the NuGet from the attached link in the following order.
1.First install Syncfusion.Xamarin.Pdf
2. 2. Then install PDF viewer NuGet
Disclaimer: Please note that we have created this NuGet for version 20.1.0.61 specifically to resolve the following issue reported in this incident 175411.
Note : Kindly follow the steps to clear the NuGet cache and then install patched NuGet to get the issue resolved.
https://www.syncfusion.com/kb/6987/how-to-clear-nuget-cache
This fix will be included in our volume 2 - Service Pack release, which is expected to be available by July 2022
Regards,
Vikram