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

GridView control freezes when scrolling until mouse is moved to titlebar buttons to trigger messages in app message queue #8023

Closed
anup-das opened this issue Dec 17, 2022 · 2 comments
Labels
area-Lists ListView, GridView, ListBox, etc bug Something isn't working team-Controls Issue for the Controls team

Comments

@anup-das
Copy link

anup-das commented Dec 17, 2022

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

  1. Get latest code from https://github.com/microsoft/WindowsAppSDK-Samples/tree/main/Samples/PhotoEditor/cs-winui
  2. Modify sample code to enable reading from Picture's Library in MainPage.xaml.cs
    // 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"); */
  3. Update all NuGet packages of solution to latest available.
  4. Build and run the program with lots of pictures in the Pictures Library

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

image

image

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

@anup-das anup-das added the bug Something isn't working label Dec 17, 2022
@ghost ghost added the needs-triage Issue needs to be triaged by the area owners label Dec 17, 2022
@gabbybilka gabbybilka added area-Lists ListView, GridView, ListBox, etc team-Controls Issue for the Controls team and removed needs-triage Issue needs to be triaged by the area owners labels Jan 6, 2023
@anup-das
Copy link
Author

It has been more than 2 months. Is there any workaround for this issue ? It is preventing me from releasing my app (migrated from UWP to Windows App SDK) to the store

@anup-das
Copy link
Author

unable to repro with 1.3 stable release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-Lists ListView, GridView, ListBox, etc bug Something isn't working team-Controls Issue for the Controls team
Projects
None yet
Development

No branches or pull requests

2 participants