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

[MAUI]I3_Sizing & I6_Grouping-Variable size items for vertical list throw exception after scrolling #23373

Open
Zhanglirong-Winnie opened this issue Jul 1, 2024 · 1 comment
Labels
area-controls-collectionview CollectionView, CarouselView, IndicatorView csi-new p/2 Work that is important, but is currently not scheduled for release platform/android 🤖 platform/iOS 🍎 s/triaged Issue has been reviewed t/bug Something isn't working
Milestone

Comments

@Zhanglirong-Winnie
Copy link

Zhanglirong-Winnie commented Jul 1, 2024

Description

I3_Sizing & I6_Grouping-Variable size items for vertical list throw exception after scrolling
Affected case:
I3_Sizing - Variable size items for Vertical list
I6 - Grouping - Grouping with variable sized items for Vertical list with DataTemplates

Steps to Reproduce

  1. Deploy https://devdiv.visualstudio.com/Pkgs/_git/VS.TestAssets.Xaml?path=/Assets/Projects/ManualMauiTests to Android.
  2. Navigate to 'I CollectionView' ->'I3_Sizing - Variable size items for Vertical list'/'I6 - Grouping with variable sized items for Vertical list with DataTemplates'
  3. Vertical Scrolling

Actual Behavior:
I3_Sizing & I6_Grouping-Variable size items for vertical list throw exception after scrolling
Error:
Java.Lang.RuntimeException: 'Canvas: trying to use a recycled bitmap android.graphics.Bitmap@19322aa'
3

Expected Behavior:
After scrolling, 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

Microsoft.Maui.Controls 8.0.70-ci.net8.24325.2

Is this a regression from previous behavior?

Not a regression, The issue also repro on 8.0.61& 8.0.3

Affected platforms

Android

@Zhanglirong-Winnie Zhanglirong-Winnie added the t/bug Something isn't working label Jul 1, 2024
Copy link
Contributor

github-actions bot commented Jul 1, 2024

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 and thumbs upping the other issue to help us prioritize it. Thank you!

Open similar issues:

Closed similar issues:

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-controls-collectionview CollectionView, CarouselView, IndicatorView csi-new p/2 Work that is important, but is currently not scheduled for release platform/android 🤖 platform/iOS 🍎 s/triaged Issue has been reviewed t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants