microsoft-ui-xaml icon indicating copy to clipboard operation
microsoft-ui-xaml copied to clipboard

ItemsView issue

Open jpeterstewart opened this issue 1 year ago • 5 comments

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.

jpeterstewart avatar Jun 17 '24 22:06 jpeterstewart

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

Windows 10 version 22H2 19045.4414

Balkoth avatar Jun 18 '24 08:06 Balkoth

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.

jpeterstewart avatar Jun 18 '24 12:06 jpeterstewart

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.

github-actions[bot] avatar Jun 27 '24 16:06 github-actions[bot]

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

Gaoyifei1011 avatar Jun 29 '24 03:06 Gaoyifei1011

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

jpeterstewart avatar Jun 29 '24 22:06 jpeterstewart

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 avatar Jul 09 '24 16:07 RBrid

Great news! I look forward to being able to use ItemsView in 1.6. Any estimate of when it will be available as a preview so I can try it out?

Thanks,

Peter

From: Régis Brid @.> Sent: Tuesday, July 9, 2024 12:17 PM To: microsoft/microsoft-ui-xaml @.> Cc: Peter Stewart @.>; Author @.> Subject: Re: [microsoft/microsoft-ui-xaml] ItemsView issue (Issue #9767)

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.

— Reply to this email directly, view it on GitHub https://github.com/microsoft/microsoft-ui-xaml/issues/9767#issuecomment-2218119693 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AIW37ML2ITP3T6IARATNCODZLQEHXAVCNFSM6AAAAABKAKDG2WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJYGEYTSNRZGM . You are receiving this because you authored the thread. https://github.com/notifications/beacon/AIW37MOGYUSZEJX2Y3RNNG3ZLQEHXA5CNFSM6AAAAABKAKDG2WWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUEGXJA2.gif Message ID: @.*** @.***> >

jpeterstewart avatar Jul 10 '24 21:07 jpeterstewart