-
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
SwipeView in CollectionView Faults on Windows #9423
Comments
Thanks @david-maw! The reporting of exceptions under Windows is a bit unfortunately somehow. When you get into the state of that second screenshot and you hover over the If not, would you be able to post the reproduction as a GitHub repository? Unfortunately we can't accepted zipped reproduction projects anymore. Thanks! |
Hi @david-maw. 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. |
Yes @jfversluis , I'd sort of hoped the UnhandledException second parameter would help, alas, not so much and I've reported the inability to break when the exception is thrown separately as a Visual Studio feedback item. Back to this problem, the exception parameter shows: I've put a public repo at https://github.com/david-maw/MAUIListEntry-additem.git and I can put them there in future, I liked zip files because that put everything in the same issue but repos are fine if that works better for you. |
FYI, the Visual Studio bug report is here |
Also have the same CollectionView is bound to an ObservableCollection of type LocalFile Initial load, items load and are displayed, but cannot swipe If I remove the SwipeView, the CollectionView works as expected. |
You might try expanding the exception to look at the stack trace to see if that reveals additional info |
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 did sorry just didn't include in my screenshot. It's the same as David's above, no stack track and no inner exception. It seems to occur at the point of the OnCollectionChanged firing on the observable collection. |
Since I only discovered this while trying to find a workaround to #9233 I'm not sure what difference moving it to the backlog will make. So far I've had no luck at all with a SwipeView inside a CollectionView in Windows (seems ok in Android though and I have not tried any other platforms). |
I've added a reproduction of it in a slimmed down project here
Also - please note, there should be two context items, but swiping the items doesn't appear to show them, as if the SwipeView isn't initialised or something? Confirmed working fine on M1 Mac, iOS and Android. On Windows - Doesn't do anything but crash |
To add to the above - I do notice in console under iOS, when navigating back to the page with the CollectionView on it after navigating to the Second Page, the console logs:
For each item in the ObservableCollection bound to the collection view. Its at that point on windows the crash occurs As well as a single |
Same as #8870 |
Duplicate of #8870 |
Description
My program suddenly faults with what seems to be an uncatchable exception when adding data to a list which is rendered by a CollectionView with a SwipeView inside it.
Steps to Reproduce
Version with bug
6.0.400
Last version that worked well
Unknown/Other
Affected platforms
Windows
Affected platform versions
Windows 10
Did you find any workaround?
No
Relevant log output
No response
The text was updated successfully, but these errors were encountered: