WindowsCommunityToolkit
WindowsCommunityToolkit copied to clipboard
DataGrid WinUI3 Crashing with ThreadPointer Exception
Describe the bug
In a simple WinUI3 Desktop App the CommunityToolkit DataGrid Keeps crashing while scrolling or resizing the columns a few times. It feels also really lagging before crash. The unhandled Exception is:
"Ausnahmefehler bei 0x79554B97 (Microsoft.ui.xaml.dll) in CrashTest.exe: Der Stapelzeiger des Threads befand sich außerhalb des gültigen Stapelumfangs für den Thread."
Steps to Reproduce
See my example Project: https://github.com/1cue-jrupp/CrashTestToolkitDataGrid Just Run the project and scroll fast up and down in the DataGrid or resize the Columns multiple times.
Steps to reproduce the behavior:
- Run the Sample Project
- Scroll fast up and down in the DataGrid
- Resize the Columns multiple times
Expected behavior
DataGrid shouldn't lag like that with only 100 Rows and shouldn't crash
Environment
NuGet Package(s) (latest Versions):
- CommunityToolkit.WinUI.UI.Controls 7.0.2
- PropertyChanged.Fody
- Default ProjectReunion Packages 0.5.7
Windows 10 Build Number:
- [X] 20H2 (19042.985)
App min and target version:
- [X] May 2020 Update (19041)
Device form factor:
- [X] Desktop
Visual Studio
- [X] 2019 Preview (version: 16.10.0 Preview 3.0)
Hello 1cue-jrupp, thank you for opening an issue with us!
I have automatically added a "needs triage" label to help get things started. Our team will analyze and investigate the issue, and escalate it to the relevant team if possible. Other community members may also look into the issue and provide feedback 🙌
Thanks, @1cue-jrupp for highlighting the issue. Looping in @anawishnoff and @RBrid
@1cue-jrupp can you help us a bit more by specifying the versions of the Toolkit and Reunion packages you are using? Are they all the latest?
FYI @azchohfi as well.
@michael-hawker I'm currently using the following package versions:
CommunityToolkit.WinUI.UI.Controls 7.0.2 Microsoft.ProjectReunion 0.5.7 Microsoft.ProjectReunion.Foundation 0.5.7 Microsoft.ProjectReunion.WinUI 0.5.7
Thanks 1cue-jrupp for patiently waiting while the team is still investigating the issue.
@anawishnoff @RBrid can we please have an update on this issue? Thanks
@1cue-jrupp have you still been noticing an issue with the v1.0 release of the Windows App SDK and the latest toolkit package?