Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Blurry tray icon #462

Closed
verdammt89x opened this issue Oct 20, 2022 · 2 comments
Closed

[BUG] Blurry tray icon #462

verdammt89x opened this issue Oct 20, 2022 · 2 comments

Comments

@verdammt89x
Copy link
Collaborator

verdammt89x commented Oct 20, 2022

From time to time, the tray icon becomes blurry:
systemtraymenu_before

After clicking on it, the icon returns to normal:
systemtraymenu_after

  • OS: Microsoft Windows 10 Enterprise
  • Version: 1.3.1.0
@verdammt89x
Copy link
Collaborator Author

Found this:
https://social.msdn.microsoft.com/Forums/vstudio/en-US/5719a514-1438-434d-ba22-fc9f6bd4a26b/notifyicons-icon-is-sometimes-blurry?forum=csharpgeneral

So maybe changing
private static readonly Icon SystemTrayMenu = Properties.Resources.SystemTrayMenu;
to
private static readonly Icon SystemTrayMenu = new Icon(Properties.Resources.SystemTrayMenu, SystemInformation.SmallIconSize);

in Config.cs will do the trick?

@Hofknecht
Copy link
Owner

@verdammt89x
Hey Mario , thank you for the hint!
yes your code change improves it! see here compare at my side

2022-10-20 17_38_09-

works great!

committed it for you and added it to thx section in readme and about

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants