Filled SymbolIcon in NavigationViewItem reverts to unfilled
Open
Nobody has claimed this yet.
bug
- Dominant language
- C#
- Stars
- 9.6k
- Forks
- 1k
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
After clicking on a menu item with a SymbolIcon with Filled = true, it reverts back to the unfilled version when going to another menu item.
To Reproduce
- Create an observable collection of menu items with an icon set to Filled = true.
- Click on that menu item
- Click on a different menu item.
Expected behavior
I would expect the Icon to maintain its filled property.
Screenshots
OS version
Windows 10
.NET version
8
WPF-UI NuGet version
3.0.0-preview.4
Additional context
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with an observable collection of NavigationViewItem menu items and a SymbolIcon with Filled=true on Windows 10 and .NET 8. Trace what happens to the icon when selecting another menu item; done means the icon remains filled after navigation and the behavior is verified against WPF-UI 3.0.0-preview.4.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100