GridView control freezes when scrolling until mouse is moved to titlebar buttons to trigger messages in app message queue #8023
Labels
area-Lists
ListView, GridView, ListBox, etc
bug
Something isn't working
team-Controls
Issue for the Controls team
Describe the bug
Previously I reported ListView control freezing with C++/WinRT #7972. This time it's GridView freezing and with Microsoft's own sample code PhotoEditor (C#)
See video attached.
GridView.Freezes.mp4
Steps to reproduce the bug
// Get the Pictures library. (Requires 'Pictures Library' capability.) Windows.Storage.StorageFolder picturesFolder = Windows.Storage.KnownFolders.PicturesLibrary; /* OR Get the Sample pictures. StorageFolder appInstalledFolder = Package.Current.InstalledLocation; StorageFolder picturesFolder = await appInstalledFolder.GetFolderAsync("Assets\\Samples"); */
Expected behavior
Controls should not freeze. Microsoft should provide guidelines and code to clearly show how large collection of items can be loaded in controls without the the user interface getting hung. I would not call my collection of pictures library large. My pictures library has just 4,610 files.
Screenshots
No response
NuGet package version
WinUI 3 - Windows App SDK 1.2.2: 1.2.221209.1
Windows version
Windows 11 (22H2): Build 22621
Additional context
No response
The text was updated successfully, but these errors were encountered: