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

ItemsView issue #9767

Closed
jpeterstewart opened this issue Jun 17, 2024 · 6 comments
Closed

ItemsView issue #9767

jpeterstewart opened this issue Jun 17, 2024 · 6 comments
Labels
area-ItemsView area-Lists ListView, GridView, ListBox, etc team-Controls Issue for the Controls team

Comments

@jpeterstewart
Copy link

jpeterstewart commented Jun 17, 2024

Describe the bug

• ItemsView can be made to crash by just scrolling up and down a little after adding a few hundred items.
• ItemsView becomes slow as molasses when adding new items after a few hundred items.

Steps to reproduce the bug

The small test app in this repository can be used to reproduce the bugs:

ItemsView Issue

Expected behavior

  1. No crashes
  2. No huge slowdown when adding items

Screenshots

It would have to be a video, not a screenshot, but it can be easily reproduced with the test app.

NuGet package version

Windows App SDK 1.5.4: 1.5.240311000

Packaging type

Packaged (MSIX)

Windows version

Windows 11 version 23H2 (22631.3737, 2024 Update)

IDE

Visual Studio 2022

Additional context

I moved this issue with ItemsView to a separate issue report so that it can be tracked separately.

@microsoft-github-policy-service microsoft-github-policy-service bot added the needs-triage Issue needs to be triaged by the area owners label Jun 17, 2024
@Balkoth
Copy link

Balkoth commented Jun 18, 2024

I can see it becoming painfully slow, but at least it does not crash here when scrolling.

Windows 10 version 22H2 19045.4414

@jpeterstewart
Copy link
Author

at least it does not crash here when scrolling.

The crashing issue only happens once in a while after adding a bunch of items. I'm not sure if it happens more frequently after adding large-ish numbers of items. I've seen it happen once with only a few hundred items and several times with over 10,000 items.

@codendone codendone transferred this issue from microsoft/WindowsAppSDK Jun 27, 2024
@codendone codendone added area-Lists ListView, GridView, ListBox, etc team-Controls Issue for the Controls team area-ItemsView and removed needs-triage Issue needs to be triaged by the area owners labels Jun 27, 2024
Copy link

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one. Thank you!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@Gaoyifei1011
Copy link

I can see it becoming painfully slow, but at least it does not crash here when scrolling.

Windows 10 version 22H2 19045.4414

I try to use ItemsView in my project, and after adding the content of more than 100 try to roll, also met the same problem, this is done by the Application. The UnhandledException event capture the exception information
801b2c6ee59f42f9863f691f6d56cd83

@jpeterstewart
Copy link
Author

Yes, it's absolutely possible to make it crash, even though it's intermittent.

@RBrid
Copy link
Contributor

RBrid commented Jul 9, 2024

Thanks for your report. We fixed the slow performance issue for the WinAppSDK 1.6 release, but could not repro the crashing issue. Could you please open a separate GitHub issue if you can repro the crash in 1.6? Thanks.

@RBrid RBrid closed this as completed Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-ItemsView area-Lists ListView, GridView, ListBox, etc team-Controls Issue for the Controls team
Projects
None yet
Development

No branches or pull requests

5 participants