Skip to content
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

MenuFlyout leaves unclickable region after main app has been minimized and restored via task bar #9832

Open
437569 opened this issue Jul 18, 2024 · 0 comments
Labels
area-Popup bug Something isn't working team-CompInput Issue for IXP (Composition, Input) team

Comments

@437569
Copy link

437569 commented Jul 18, 2024

Describe the bug

If a user opens a context menu in WinUI3 app, leaves the menu open and clicking on the app button in task bar to minimize and restore the app, the context menu will disappear but the region will be unclickable.
It happens on Win 11 machine but not on our Win 10 environment.

Steps to reproduce the bug

  1. Create a simple WinUI3 app using template studio and add a context menu using MenuFlyout
            <NavigationView.ContextFlyout>
                <MenuFlyout>
                    <MenuFlyoutItem Text="Option 1" />
                    <MenuFlyoutItem Text="Option 2" />
                    <MenuFlyoutItem Text="Option 3" />
                </MenuFlyout>
            </NavigationView.ContextFlyout>
  1. Build the app and run it on a Windows 11 machine (our test environment is 22H2, OS Build 22621.1702)
  2. Run the app
  3. Right click to open the context menu (see attached image part 1) leave it there without clicking on any menu item
  4. Click on taskbar icon to minimize and restore the app (see attached image part 2)
  5. Go back to the app, notice that the region behind where the context menu was becomes unclickable (see attached image part 3 and the animated gif)
MenuFlyout

MenuFlyout_region

The above cannot be reproduced on Windows 10 version 2009 machine.

Expected behavior

After a context menu disappears it leaves no unclickable region.

Screenshots

No response

NuGet package version

None

Windows version

Windows 11 (22H2): Build 22621

Additional context

No response

@437569 437569 added the bug Something isn't working label Jul 18, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the needs-triage Issue needs to be triaged by the area owners label Jul 18, 2024
@codendone codendone added team-CompInput Issue for IXP (Composition, Input) team area-Popup and removed needs-triage Issue needs to be triaged by the area owners labels Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-Popup bug Something isn't working team-CompInput Issue for IXP (Composition, Input) team
Projects
None yet
Development

No branches or pull requests

2 participants