Skip to content
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] Crash using new Maui + Web template project (Net9 specific) #3160

Open
1 task done
LucaCris opened this issue Feb 9, 2025 · 2 comments
Open
1 task done

[BUG] Crash using new Maui + Web template project (Net9 specific) #3160

LucaCris opened this issue Feb 9, 2025 · 2 comments
Labels

Comments

@LucaCris
Copy link

LucaCris commented Feb 9, 2025

Description

Using the new Net9 project:

Image

The Web App is ok, but the MAUI App crashes (Windows and Android tested):

Image

Code

I have a test project, private, but the key is that removing this:

<SKCanvasView @ref="canvasView" id="canvasView" OnPaintSurface="PaintSurface" @onclick="OnMouseClick" @onmousemove="(args)=>OnMouseMove(args)"
              style="width: 100%; height: 90%;user-select: none;" class="BG" />

All turns ok (except from no graphics output).

Expected Behavior

No difference between Web and MAUI, because Web is OK with the SKCanvasView present.

Actual Behavior

Exception:

Image

Version of SkiaSharp

3.116.0 (Current)

Last Known Good Version of SkiaSharp

2.88.9 (Previous)

IDE / Editor

Visual Studio (Windows)

Platform / Operating System

Windows

Platform / Operating System Version

No response

Devices

No response

Relevant Screenshots

Working web app (FireWorks emulator):

Image

Relevant Log Output

Code of Conduct

  • I agree to follow this project's Code of Conduct
Copy link

We've found some similar issues:

If any of the above are duplicates, please consider closing this issue out and adding additional context in the original issue.

Note: You can give me feedback by 👍 or 👎 this comment.

@LucaCris
Copy link
Author

9.0.2 update did not solve this problem. Thanks for watching... 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: New
Development

No branches or pull requests

1 participant