maui icon indicating copy to clipboard operation
maui copied to clipboard

Grouped collectionview problem with performance

Open XamerDev opened this issue 2 years ago • 1 comments

Description

I'm facing an issue with scrolling collectionview which is groupped. I prepared an example repo which has the simplest possible view and vm. Wrrapping item grid in frame boost performance at least in this repo. In my source app which I can't upload, wrapping in frame helps but only when in grid you have max 2 labels. Adding more labels significantly increase problem with scrolling. Seems for me like some kind of memory leaks. The problem has been discussed with Javier, James, Jean among others

Steps to Reproduce

  1. steps described in repo comments
  2. wrap grid in frame for better performance

Link to public reproduction project repository

https://github.com/XamerDev/CollViewApp

Version with bug

6.0.486 (current)

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

tested on android 11 and 10 and some older

Did you find any workaround?

Wrapping controls in frame but only in case with basic light view

Relevant log output

No response

XamerDev avatar Oct 15 '22 09:10 XamerDev

We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process.

ghost avatar Oct 26 '22 18:10 ghost

I tried the repro on the latest release of net7.0 MAUI and I'm not perceiving a performance issue on the emulator.

Also it's important to evaluate these issues in a release build which is not using the interpreter (as Debug does by default) since this will affect the performance significantly in these types of scenarios.

I think we need more information here to proceed.

Redth avatar Nov 28 '22 19:11 Redth

Hi @XamerDev. We have added the "s/needs-info" label to this issue, which indicates that we have an open question for you before we can take further action. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.

ghost avatar Nov 28 '22 19:11 ghost

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. If it is closed, feel free to comment when you are able to provide the additional information and we will re-investigate.

ghost avatar Dec 02 '22 20:12 ghost