Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
Created attachment 17017 [details]
Shows ActionSheet ready for spammy touch
We have created a reduced test case project that shows a crash in DisplayActionSheet() on Win8.1. Please see our public repository with the test case : https://bitbucket.org/luminixinc/actionsheetcrash81 .
The best way to reproduce the crash is to spam the central button that calls DisplayActionSheet() and hope you can also hit an action sheet item at least twice with your tapping.
Our app is currently hitting this issue in the wild for a number of clients who are inadvertently double-tapping an action sheet selection.
We are not aware of any way to work around this issue at present time while still using the action sheet, due to it completely managing the ItemClick handler for us. We believe the cause of the crash is likely setting the inner _currentActionSheet to null at line 646 in Xamarin.Forms.Platform.WinRT/Platform.cs (https://github.com/xamarin/Xamarin.Forms/blob/release-2.3.1/Xamarin.Forms.Platform.WinRT/Platform.cs#L646). You may wish to add some delay there to try to make the test case more easily reproducible.
Should be fixed in 2.3.3-pre1. Thank you!
Thank you Samantha!
For posterity, our test case has now moved to https://bitbucket.org/luminixinc/xamarintest/branch/ActionSheetCrash81