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

Redrawn CollectionView with Handler2 binds items that shouldn't be bound #27712

Open
rabuckley opened this issue Feb 11, 2025 · 1 comment
Open
Assignees
Labels
area-controls-collectionview CollectionView, CarouselView, IndicatorView collectionview-cv2 partner/syncfusion Issues / PR's with Syncfusion collaboration platform/iOS 🍎 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working

Comments

@rabuckley
Copy link
Contributor

rabuckley commented Feb 11, 2025

Description

CollectionView with CollectionViewHandler2 draws items that shouldn't be (or at least aren't with the default handler) drawn when resizing on iOS.

See the debug output and the performance difference. With default CollectionViewHandler:

collection-view-1.mp4

With CollectionViewHandler2:

collection-view-2.mp4

(The border rendering issues in Handler2 are #27608)

Steps to Reproduce

  1. Clone repository https://github.com/rabuckley/maui-cvh2-render-perf
  2. Run the app on iOS and change the span of the grid layout.
  3. Observe diagnostics in debug output and noticeable lag.

Comment ConfigureMauiHandlers in MauiProgram.cs to view the old/expected performance/behaviour.

Link to public reproduction project repository

https://github.com/rabuckley/maui-cvh2-render-perf

Version with bug

9.0.30 SR3

Is this a regression from previous behavior?

No.

Affected platforms

iOS

@rabuckley rabuckley added the t/bug Something isn't working label Feb 11, 2025
@PureWeen PureWeen added this to the .NET 9 Servicing milestone Feb 11, 2025
@vishnumenon2684 vishnumenon2684 added the partner/syncfusion Issues / PR's with Syncfusion collaboration label Feb 12, 2025
@vishnumenon2684 vishnumenon2684 self-assigned this Feb 12, 2025
@PureWeen PureWeen added the area-controls-collectionview CollectionView, CarouselView, IndicatorView label Feb 12, 2025
@Zhanglirong-Winnie Zhanglirong-Winnie added s/verified Verified / Reproducible Issue ready for Engineering Triage s/triaged Issue has been reviewed labels Feb 13, 2025
@Marnie-Majait
Copy link

This issue has been verified using Visual Studio 17.14 Preview 1(9.0.40 & 9.0.30 & 9.0.22 & 9.0.0). Can repro this issue on iOS platform.

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 collectionview-cv2 partner/syncfusion Issues / PR's with Syncfusion collaboration platform/iOS 🍎 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Projects
Status: Todo
Development

No branches or pull requests

5 participants