microsoft / microsoft/microsoft-ui-xaml
Bug in App.InitializeComponent
- Dominant language
- C++
- Stars
- 8.4k
- Forks
- 942
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 105
Description
### Describe the bug
Adding same item twice to a flyoutmenu will go to #if DEBUG && !DISABLE_XAML_GENERATED_BREAK_ON_UNHANDLED_EXCEPTION
### Steps to reproduce the bug
reproduce the bug, when triggered goes to above description of the bug.

### Expected behavior
expected behavior would be the item appearing twice, although in my case it was cause by a mistake.
### Screenshots
_No response_
### NuGet package version
None
### Windows version
_No response_
### Additional context
_No response_
Contributor guide
Research direction
Start by reproducing the reported duplicate flyout-menu item case and inspect App.InitializeComponent, the entry point named in the issue. No source file or test is identified; done would require establishing the intended behavior for duplicate items and preventing the reported break, with regression coverage if an appropriate test location is found.
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
- Needs clarification
- Newbie friendliness
- 20/100