-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Image clip throwing unhandled exception #13781
Comments
Hi @williambuchanan2. We have added the "s/needs-repro" label to this issue, which indicates that we require steps and sample code to reproduce the issue before we can take further action. Please try to create a minimal sample project/solution or code samples which reproduce the issue, ideally as a GitHub repo that we can clone. See more details about creating repros here: https://github.com/dotnet/maui/blob/main/.github/repro.md 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 to reproduce the issue 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. |
I have been unable to create an example app to demonstrate this issue. I have noticed that it isn't caused purely by the clip - I am now getting the error just on the page without the clip in place, but it is very intermittent and seems to only happen in Android. I assume it is something to do with the images being rendered while scrolling. |
Update on this... I think the problem is related to ListView. I have removed the ListView and replaced it with CollectionView and the error has stopped happening. Below is the Xaml. I have left in the ListView code but commented it so you can see the difference between it not working and working.
|
Update - I discovered that this is unrelated to the original thing I suspected. I have opened a new discussion which has better information (#14052) so closing this one. |
Description
This works ok:
but this doesn't:
When the clip is in place I get the exception shown in the attached image.
Steps to Reproduce
In a contentpage add an image with an image.clip to a listview.
Load the page and scroll up and down a few times.
Eventually the exception gets thrown.
Link to public reproduction project repository
?
Version with bug
7.0 (current)
Last version that worked well
Unknown/Other
Affected platforms
Android, I was not able test on other platforms
Affected platform versions
net7.0
Did you find any workaround?
No
Relevant log output
No response
The text was updated successfully, but these errors were encountered: