lepoco / lepoco/wpfui

FontIcon Foreground Issue With Color Glyphs

Open
#1,698 2 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

//

To Reproduce

//

Expected behavior

//

Screenshots

//

OS version

//

.NET version

//

WPF-UI NuGet version

//

Additional context

So i'm creating this issue because i need some input from you guys about how to resolve this following issue in a good way:
The problem is, as for now, that the IconElement sets a default foreground brush by default.
The problem with that is, that it limits the FontIcon class to make use of color glyph provided by fonts like Segoe UI Emoji.
But we cannot not set a default (i guess) because you would have to do it manually everytime yourself.
So, here i am, seeking for someone who got a good idea.

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

The issue names IconElement and FontIcon, with Segoe UI Emoji as the affected font, but provides no file, test, reproduction, or version details. Start by locating those controls and reproducing the foreground behavior in a WPF sample; done means a documented, maintainer-approved way to preserve color glyphs without breaking the default foreground behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.