IssueRaiser

An Iconic Disaster

WinUI has delivered innovative and impressive new GUI elements, designs, and techniques, and the WinUI team has implemented many clever improvements. But of course, nobody is capable of 100% pure perfection, so some deficiences must exist in WinUI. So now I'd like to talk about a glaring exception in the impressive track record of WinUI; an area desperately in need of improvement: Icon rendering in WinUI hardly works -- it's a disaster currently. Icons are a very important topic, considering that most apps uses multiple icons in multiple places in multiple kinds of GUI elements (icons in buttons, toolbars, menus, tabs, standalone, etc). Thus it's really surprising to observe that, currently, icon rendering hardly works in WinUI/UWP unfortunately. Considering the extreme ubiquity of icons in apps, I consider this to be a **high priority** topic. # Use a PNG image as an icon? For starters, look at a really simple case where you have an instance of `Windows.UI.Xaml.Media.Imaging.BitmapImage` that was produced from a PNG, and you want to use this PNG `BitmapImage` as an icon. This should be super simple, right? But no, unfortunately neither `Windows.UI.Xaml.Controls.BitmapIconSource` nor `Windows.UI.Xaml.Controls.BitmapIcon` support the ability to render a specified **instance** of `BitmapImage` -- surprising but true. To use your `BitmapImage` **instance** as an icon, you are forced to use `Windows.UI.Xaml.Controls.Image` to render it because `BitmapIconSource` c

Posted by verelpode on Oct 24, 2019, 11:27 PM

Tags

Related issues

Raise real-world problems, find people facing the same issue, and discuss solutions.3,500 issues0 comments

ux (EdTech)

An Iconic Disaster

verelpodeOct 24, 2019, 11:27 PM

WinUI has delivered innovative and impressive new GUI elements, designs, and techniques, and the WinUI team has implemented many clever improvements. But of course, nobody is capable of 100% pure perfection, so some deficiences must exist in WinUI. So now I'd like to talk about a glaring exception in the impressive track record of WinUI; an area desperately in need of improvement: Icon rendering in WinUI hardly works -- it's a disaster currently. Icons are a very important topic, considering that most apps uses multiple icons in multiple places in multiple kinds of GUI elements (icons in buttons, toolbars, menus, tabs, standalone, etc). Thus it's really surprising to observe that, currently, icon rendering hardly works in WinUI/UWP unfortunately. Considering the extreme ubiquity of icons in apps, I consider this to be a **high priority** topic. # Use a PNG image as an icon? For starters, look at a really simple case where you have an instance of `Windows.UI.Xaml.Media.Imaging.BitmapImage` that was produced from a PNG, and you want to use this PNG `BitmapImage` as an icon. This should be super simple, right? But no, unfortunately neither `Windows.UI.Xaml.Controls.BitmapIconSource` nor `Windows.UI.Xaml.Controls.BitmapIcon` support the ability to render a specified **instance** of `BitmapImage` -- surprising but true. To use your `BitmapImage` **instance** as an icon, you are forced to use `Windows.UI.Xaml.Controls.Image` to render it because `BitmapIconSource` c

Comments (0)

No comments yet. Start the discussion.

Comment on this issue