-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Description
Description
I9_Scrolling
Affected case:
I9_Scrolling_SnapPoints
Note:
The I2 space test case sometimes throws same exception.
I2-Vertical list for ItemSpacing
I2-Horizontal list for ItemSpacing
Steps to Reproduce
- Deploy https://devdiv.visualstudio.com/Pkgs/_git/VS.TestAssets.Xaml?path=/Assets/Projects/ManualMauiTests to Android.
- Navigate to 'I CollectionView' ->'I9_Scrolling ->SnapPoints page
- Set SnapPointsType from None to others.
Actual Behavior:
I9_Scrolling_SnapPoints throw exception
System.ObjectDisposedException
Message=Cannot access a disposed object.
Object name: 'Microsoft.Maui.Controls.Handlers.Items.MauiRecyclerView3[[Microsoft.Maui.Controls.ReorderableItemsView, Microsoft.Maui.Controls, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Microsoft.Maui.Controls.Handlers.Items.GroupableItemsViewAdapter
2[[Microsoft.Maui.Controls.ReorderableItemsView, Microsoft.Maui.Controls, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Microsoft.Maui.Controls.Handlers.Items.IGroupableItemsViewSource, Microsoft.Maui.Controls, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], Microsoft.Maui.Controls, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Microsoft.Maui.Controls.Handlers.Items.IGroupableItemsViewSource, Microsoft.Maui.Controls, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'.
Call stack:0x23 in ManualMauiTests.Views.VerticalListSnapPointsPage.OnSnapPointsTypeSelectedIndexChanged at C:\Users\admin\Desktop\ManualMauiTests\ManualMauiTests\Views\SnapPoints\VerticalListSnapPointsPage.xaml.cs:17,13
Expected Behavior:
Can set SnapPointsType from None to others, it displays normally and does not throw any exceptions
Link to public reproduction project repository
https://devdiv.visualstudio.com/Pkgs/_git/VS.TestAssets.Xaml?path=/Assets/Projects/ManualMauiTests
Version with bug
8.0.80-ci.net8.24357.1
Is this a regression from previous behavior?
Not sure if it is a regression, because the problem is not stable and reproducible
Affected platforms
Android
Did you find any workaround?
Reopen and redeploy, it works fine since it is unstable issue.