microsoft / microsoft/microsoft-ui-xaml

When MenuBarItem is open and you move the window around the MenuBarItem floats around

Open
#10,567 1 comment 0 reactions 0 assignees View on GitHub
area-Menus area-TeachingTip bug team-Controls
Dominant language
C++
Stars
8.4k
Forks
942
Avg merge
2d 7h
Merged PRs (30d)
105

Description

### Describe the bug

If you have a menubar, open it, then decide to move the window, the menu will float around with a slight dely. In traditional Win32 applications when you click the titlebar and the menubar is open, the menubar will close.

### Steps to reproduce the bug

1. Add a menubar with some Items, like: File > New, Open, Save, Exit
2. Open a MenuBarItem (open File)
3. Click on the Titlebar of the window and drag it around your screen

### Expected behavior

I would expect either the MenuBar to close or to not float around

### Screenshots

_No response_

### NuGet package version

None

### Windows version

_No response_

### Additional context

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue with a menubar containing several items, open a MenuBarItem, and drag the window by its titlebar. Investigate the menu behavior during the move; done means the MenuBarItem closes or remains aligned without floating around.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.