microsoft / microsoft/microsoft-ui-xaml

Projet Winui3 SkiaSharp : SKXamlCanvas bug after Visual studio Update

Open
#10,047 0 comments 0 reactions 0 assignees View on GitHub
needs-triage
Dominant language
C++
Stars
8.4k
Forks
942
Avg merge
2d 7h
Merged PRs (30d)
105

Description

_This issue has been moved from [a ticket on Developer Community](https://developercommunity.visualstudio.com/t/Projet-Winui3--SkiaSharp-:-SKXamlCanvas-/10761559)._

---
[regression]
error :

a debugger is attached but not configured to debug this exception

![SkiaSharp Bug.JPG](https://aka.ms/dc/image?name=B47ec302921934c4e978fe39eceea68f7638637602440626506_SkiaSharp_Bug.JPG&tid=47ec302921934c4e978fe39eceea68f7638637602440626506)

![SkiaSharp Bug 2.JPG](https://aka.ms/dc/image?name=B52d3c546501844cabd5740a346b74bc5638637602618426015_SkiaSharp_Bug_2.JPG&tid=52d3c546501844cabd5740a346b74bc5638637602618426015)

Code Xaml :


Code C# :

using Microsoft.UI.Xaml.Navigation;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;

// To learn more about WinUI, the WinUI project structure,
// and more about our project templates, see: http://aka.ms/winui-project-info.

namespace AppTest5
{
///
/// An empty window that can be used on its own or navigated to within a Frame.
///
public sealed partial class MainWindow : Window
{
public MainWindow()
{
this. InitializeComponent();
}

}
}

---
### Original Comments

#### Feedback Bot on 10/7/2024, 07:43 PM:

We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.

Contributor guide

Open the contributing guide

Research direction

Start with the reported WinUI 3 XAML containing SkiaSharp.Views.Windows SKXamlCanvas and the accompanying MainWindow C# constructor, then reproduce the debugger exception after the Visual Studio update. Compare the behavior with the linked Developer Community ticket and establish a repository-level reproduction before determining what a fix or regression test would require.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.