Open brunck opened 1 year ago
We've added this issue to our backlog, and we will work to address it as time and resources allow. If you have any additional information or questions about this issue, please leave a comment. For additional info about issue management, please read our Triage Process.
Verified this issue with Visual Studio Enterprise 17.9.0 Preview 4. Can repro on Android platform with sample project. https://github.com/brunck/reproductions/tree/master/AndroidFlyoutCrashRepro/TestMauiAndroid
Description
Starting a .NET MAUI app on Android with a "standard" Flyout (non-Shell) page as the main page with a footer set along with other various controls crashes on startup. Couldn't test on iOS at this time due to .NET iOS apps not building for me via Windows due to an already-reported issue.
Also broken on .NET 7. Same setup worked in Xamarin.Forms 5.
Steps to Reproduce
Expected: a blank page shows up with the name of the page as the title (seems to be the default behavior)
Actual: Crash with provided stack trace.
Link to public reproduction project repository
https://github.com/brunck/reproductions/tree/master/AndroidFlyoutCrashRepro/TestMauiAndroid
Version with bug
8.0.0-preview.5.8529
Last version that worked well
Unknown/Other (Xamarin.Forms 5)
Affected platforms
Android
Affected platform versions
Android 12 and up
Did you find any workaround?
Commenting-out the line
listView.Footer = footerLayout;
gets past it. Must be something to do with what's being put into the footer.Relevant log output