-
Notifications
You must be signed in to change notification settings - Fork 547
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] "Handler not found for view SkiaSharp.Views.Maui.Controls.SKGLView." #2860
Comments
Nevermind. Needs preview version to work |
That fixes it. I completely forgot about that. Sorry about the false alarm. Hopefully this will help others who make a similar mistake. |
I need to put this in the docs... Not sure if there are any docs for setting up a maui with skia app. |
Indeed the latest stable nuget 2.88.8 still has this problem (as we can see in the source code the doc i found on this was that: This thing is , i think the doc will be ok by the time you release the next version... (one thing i dont understand is why i had no problem on android) |
Description
Target Windows Machine, get Unhandled Exception:
"Handler not found for view SkiaSharp.Views.Maui.Controls.SKGLView."
-- Other details --
.csproj targetframework: net8.0-windows10.0.19041.0
VS Community 17.9.7 on Windows 11 Home
Tested with Microsoft.Maui.Controls 8.0.40 +
SkiaSharp.Views & SkiaSharp.Views.Maui Controls:
latest stable 2.88.8, then tried
latest preview 3.0.0-preview.3.1
Did not try on earlier versions of Maui or these SkiaSharp nugets.
Before Maui, we used OpenTK.GLWpfControl with SkiaSharp.Views.WPF under .Net Framework. That older version of our app builds and runs on this PC without problems.
Code
Maui App template. Modified to add SKGLView. Removed AppShell and other unneeded stuff.
ToolmakerSteve/MauiAppWithSKGLView
You can also share some XAML:
Expected Behavior
A Window containing an SKGLView.
Actual Behavior
Unhandled Exception:
"Handler not found for view SkiaSharp.Views.Maui.Controls.SKGLView."
Version of SkiaSharp
Other (Please indicate in the description)
Last Known Good Version of SkiaSharp
Other (Please indicate in the description)
IDE / Editor
Visual Studio (Windows)
Platform / Operating System
Windows
Platform / Operating System Version
Windows 11 Home.
Did not test elsewhere.
Devices
No response
Relevant Screenshots
No response
Relevant Log Output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: