lepoco / lepoco/wpfui

Filled SymbolIcon in NavigationViewItem reverts to unfilled

Open
#912 0 comments 0 reactions 0 assignees View on GitHub

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
  1. Create an observable collection of menu items with an icon set to Filled = true.
  2. Click on that menu item
  3. Click on a different menu item.
Expected behavior

I would expect the Icon to maintain its filled property.

Screenshots

image

image

image

OS version

Windows 10

.NET version

8

WPF-UI NuGet version

3.0.0-preview.4

Additional context

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.