Closed theRealGupta closed 1 year ago
Hi @theRealGupta. 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 is code for MainPage.xaml
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="FlyoutMenu.MainPage">
<Label Text="Right click here">
<FlyoutBase.ContextFlyout>
<MenuFlyout x:Name="RightClickMenu" >
<!--Add to Album-->
<MenuFlyoutSubItem Text ="Add to Album" >
<MenuFlyoutItem Text="Create New"/>
</MenuFlyoutSubItem>
<!--Save-->
<MenuFlyoutItem Text="Save" />
<!--Share-->
<MenuFlyoutSubItem Text="Share">
<MenuFlyoutItem Text="Facebook"/>
<MenuFlyoutItem Text="Twitter"/>
</MenuFlyoutSubItem>
<!--Delete-->
<MenuFlyoutItem Text="Delete" />
</MenuFlyout>
</FlyoutBase.ContextFlyout>
</Label>
</ContentPage>
and no other code is required to test this
You can noticed here I used "Share" keyword in MenuFlyoutSubItem
if i change this app will not crash otherwise it will crash
This is complete Project to test the bug https://github.com/theRealGupta/MAUI-Bug-FlyoutMenu
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 on Visual Studio Enterprise 17.8.0 Preview 1.0 in Windows 11, it not repro on .NET 8.0 and .NET7.0 using below Project. FlyoutMenu.zip
Hi @theRealGupta. We have added the "s/try-latest-version" label to this issue, which indicates that we'd like you to try and reproduce this issue on the latest available public version. This can happen because we think that this issue was fixed in a version that has just been released, or the information provided by you indicates that you might be working with an older version.
You can install the latest version by installing the latest Visual Studio (Preview) with the .NET MAUI workload installed. If the issue still persists, please let us know with any additional details and ideally a reproduction project provided through a GitHub repository.
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.
Description
Hi Dev,
On creation on a menu using keyword "Share" app is crashing
As you can see I am using "Share" Key word in MenuFlyoutSubItem Text Field using this key word crashing the app on right Click
CRASH REPORT
===========================================================
Repro
https://github.com/theRealGupta/MAUI-Bug-FlyoutMenu