You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an ItemsRepeater and attached to it is an AnnotatedScrollBar. When I scroll up and down pretty fast. The whole app crashes and throws the "System.ArgumentOutOfRangeException" in WinRT.Runtime.dll
I have only tested with images. Maybe it happens even with something else, but images are my main thing to show there so that's what I tested for.
As you can also see in the video, when I start scrolling everything works, it's not even a problem, that the images do not render directly. I guess it's normal due to the virtualization. The problem appears after some time, when the app starts with the loading cursor and becomes completely unresponsive.
privatevoidannotatedScrollBar_Loaded(objectsender,Microsoft.UI.Xaml.RoutedEventArgse){imageItemRepeaterScroller.ScrollPresenter.VerticalScrollController=annotatedScrollBar.ScrollController;}//load some images:varimages=Directory.GetFiles("C:\\Users\\MYUSER\\Pictures\\Screenshots");varitems=newObservableCollection<string>(images);imageRenderer.ItemsSource=items;
Now launch the app, you should see a list of 200 screenshots. Hope you have, otherwise maybe select a different folder. Now start scrolling really fast up and down using the annotatedScrollBar and at some point the app will crash with a "System.ArgumentOutOfRangeException" in WinRT.Runtime.dll exception.
Expected behavior
I don't want it to crash. There is no problem if it loads or shows nothing for a short time, but a crash is
inappropriate.
Screenshots
Bildschirmaufnahme.2025-01-07.144349.mp4
NuGet package version
WinUI 3 - Windows App SDK 1.6.3: 1.6.241114003
Windows version
Windows 11 (24H2): Build 26100
Additional context
No response
The text was updated successfully, but these errors were encountered:
Well, the same thing as described in #7743 but the issue is closed as not planned, so I opened a new one.
Also one thing, the annotatedScrollViewer has nothing to do with the actual crash as I thought initially.
Describe the bug
I have an ItemsRepeater and attached to it is an AnnotatedScrollBar. When I scroll up and down pretty fast. The whole app crashes and throws the "System.ArgumentOutOfRangeException" in WinRT.Runtime.dll
I have only tested with images. Maybe it happens even with something else, but images are my main thing to show there so that's what I tested for.
As you can also see in the video, when I start scrolling everything works, it's not even a problem, that the images do not render directly. I guess it's normal due to the virtualization. The problem appears after some time, when the app starts with the loading cursor and becomes completely unresponsive.
Steps to reproduce the bug
Now launch the app, you should see a list of 200 screenshots. Hope you have, otherwise maybe select a different folder. Now start scrolling really fast up and down using the annotatedScrollBar and at some point the app will crash with a "System.ArgumentOutOfRangeException" in WinRT.Runtime.dll exception.
Expected behavior
I don't want it to crash. There is no problem if it loads or shows nothing for a short time, but a crash is
inappropriate.
Screenshots
Bildschirmaufnahme.2025-01-07.144349.mp4
NuGet package version
WinUI 3 - Windows App SDK 1.6.3: 1.6.241114003
Windows version
Windows 11 (24H2): Build 26100
Additional context
No response
The text was updated successfully, but these errors were encountered: