PowerToys icon indicating copy to clipboard operation
PowerToys copied to clipboard

Update Run Plugin MDL2 Icons to Fluent Icons

Open DarthAV opened this issue 2 years ago • 5 comments

Microsoft PowerToys version

0.64.1

Installation method

PowerToys auto-update

Running as admin

Yes

Area(s) with issue?

PowerToys Run

Steps to reproduce

Currently, the icons used for the various PT Run plugins are using the MDL2 font icons. It makes sense to once again update the icons used within plugins to be consistent with the rest of the Power Toys and Windows 11.

The previous upgrade to MDL2 icons was tracked in the issue #4040 and updated in the PR #4149

✔️ Expected Behavior

I would expect to see fluent icons throughout all the plugin icons.

❌ Actual Behavior

MDL2 icons are present throughout the PT Run plugins.

image image

Other Software

No response

DarthAV avatar Nov 12 '22 04:11 DarthAV

@DarthAV https://learn.microsoft.com/en-us/windows/apps/design/style/segoe-fluent-icons-font#how-do-i-get-this-font

They aren't included on Windows 10 is why. Seeing if this is allowed due to https://learn.microsoft.com/en-us/windows/apps/design/downloads/#fonts does have them.

crutkas avatar Nov 12 '22 05:11 crutkas

@crutkas If it's not possible to use the fluent icons font, could we simply use transparent PNGs of fluent icons as used in #4149. These are still present in the current branch. (In fact, the windows terminal plugin already uses a fluent icon png) Question: how does the settings page look without the fluent icons on Windows 10? Aren't there many fluent icons throughout?

DarthAV avatar Nov 12 '22 18:11 DarthAV

Question: how does the settings page look without the fluent icons on Windows 10? Aren't there many fluent icons throughout?

Seems to me that, in the settings page, it is as simple as just referencing the font and if the Fluent Icons are installed then it will use them, if not it will use the MDL2 icons.

image

Could we replace the current png files found in locations like Calculator Icon Image with either:

  • New transparent PNGs of the respective fluent icons
  • Unicode values for fluent font icons which have a fallback to MDL2 icons.

DarthAV avatar Nov 12 '22 18:11 DarthAV

https://github.com/microsoft/fluentui-system-icons

we'd want to do a stripped down version of this TTF so we're not adding so much weight.

crutkas avatar Nov 14 '22 22:11 crutkas

https://github.com/microsoft/fluentui-system-icons/tree/main/fonts is where the fonts are

crutkas avatar Nov 15 '22 04:11 crutkas

I hate using png's in stead of font icons. We should use the variable theme symbol icon font. @niels9001 @htcfreek

Jay-o-Way avatar Apr 20 '23 09:04 Jay-o-Way

we'd want to do a stripped down version of this TTF so we're not adding so much weight.

You know, for icons that do not exist in Fluent, we could also create a custom font with custom icons.

Jay-o-Way avatar Apr 20 '23 09:04 Jay-o-Way

This was fixed in 0.76

niels9001 avatar Dec 09 '23 13:12 niels9001