maui
maui copied to clipboard
Grouped collectionview problem with performance
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
- steps described in repo comments
- 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
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.
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.
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.
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.