In Development
Last Updated: 27 Aug 2021 06:37 by ADMIN
Jaap-Jan
Created on: 26 Aug 2021 08:53
Category: PdfViewer
Type: Bug Report
1
PdfViewer: [UWP] Exception is thrown when scrolling the document using the mouse wheel and Skia Sharp version is 2.80.3
System.ArgumentException: Unsupported touch action type.
Parameter name: actionType
   at Telerik.XamarinForms.SkiaSharp.Interaction.SkiaViewInteractionAdapter.Convert(SKTouchAction actionType)
   at Telerik.XamarinForms.SkiaSharp.Interaction.SkiaViewInteractionAdapter.OnTouch(SKTouchEventArgs e)
   at Telerik.XamarinForms.SkiaSharp.Interaction.SkiaViewInteractionAdapter.GlView_Touch(Object sender, SKTouchEventArgs e)
   at SkiaSharp.Views.Forms.SKGLView.OnTouch(SKTouchEventArgs e)

is thrown when scrolling the document using the mouse wheel and using latest official SkiaSharp Views Forms version 2.80.3
5 comments
ADMIN
Didi
Posted on: 27 Aug 2021 06:37

Hello Jaap-Jan,

The dev team implemented a fix for this issue. If passing testing the fix will be included in the R3 2021 official release- expected mid September. 

Regards,
Didi
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Jaap-Jan
Posted on: 26 Aug 2021 10:07

Hi Didi,

 

Sure, I just hope it is also possible to update to a 2.x version of SkiaSharp. :)

 

Regards,

Jaap-Jan

ADMIN
Didi
Posted on: 26 Aug 2021 09:22

Hi Jaap-Jan,

Yes correct, on Android MIUI the latest SkiaSharp version 2.80.3 seems to help in this case.

I can assure you that the issue with the mouse-wheel scrolling is escalated to the development team and I cannot promise but I hope the fix will be included in the R3 2021 official release expected mid September 2021. The item status will be updated accordingly. I hope the time frame is suitable for you? If I have more details on this case I will let you know. 

Regards,
Didi
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Jaap-Jan
Posted on: 26 Aug 2021 09:12

Fair enough, but then the Android 'all pages are grey' bug is back.

The only solution then would be to include a different version of SkiaSharp for Android and UWP, which is far from ideal.

 

Regards,

Jaap-Jan

ADMIN
Didi
Posted on: 26 Aug 2021 09:02

Workaround: 

Until the issue is fixed -> Use SkiaSharp 1.68.0. With this version the exception cannot be reproduced and you can scroll through the document using mouse-wheel.

Regards,
Didi
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.