ModernFlyouts icon indicating copy to clipboard operation
ModernFlyouts copied to clipboard

Bug: System workspace tray icon is blurry

Open SakuraNeko opened this issue 4 years ago • 5 comments

Describe the bug:

image

System workspace tray icon is blurry.

To Reproduce: Steps to reproduce the behavior:

A laptop with multiple monitors has a different scale than an external monitor and a built-in monitor. This will cause this problem.

Screenshots:

Attempting to support a higher level of DPI awareness may resolve the issue.

OS Version:

  • Windows 10 Version: Windows 10 20H2 19042.782

ModernFlyouts Version:

  • Version: 0.9.0.0

Additional context:

None.

SakuraNeko avatar Jan 30 '21 01:01 SakuraNeko

Is this not a Windows bug? Does it happen with any other tray icon?

@ShankarBUS Does it involve that HiDPI issue?

prakharb5 avatar Jan 30 '21 04:01 prakharb5

Yeah yeah yeah,

It is again a design flaw.

The ico file doesn't have all the necessary resolutions.

Thus it stretches the closest available resolution to fit the required size.

ShankarBUS avatar Jan 30 '21 08:01 ShankarBUS

@Samuel12321,

WPF has nothing to do with this.

It is a fault in the *.ico file.

How and why would WinUI fix this?

ShankarBUS avatar Mar 04 '21 01:03 ShankarBUS

Sigh. classic example of not reading the issue correctly before replying (insert facepalm), just saw "blurry" and cyberdroids 'high dpi' comment and assumed the rest.

No you are quite right this isn't a dpi issue it's a .Ico issue.

Samuel12321 avatar Mar 04 '21 01:03 Samuel12321

Added to the 0.11 release:

  • rebuilt the .ico files to include a variety of resolutions including high resolution icons
  • Minor code changes to improve icon resolution selection.
  • Switched to updated icon

Samuel12321 avatar Apr 14 '22 11:04 Samuel12321