Describe the bug
随着切回桌面再回切游戏全屏再切回桌面的次数增多,会越来越模糊。
To Reproduce
Steps to reproduce the behavior:
1. 运行使用 NotifyIcon 的程序。
2. 运行全屏的游戏,并把游戏的分辨率设置得跟桌面分辨率不一致,例如我的桌面是 1920x1080,把游戏内分辨率改为 1600x900。
3. alt+tab 切回桌面。
4. 切回游戏全屏。
5. 切回桌面,重复多次,会看到 NotifyIcon 的图标越来越模糊。
重复切换不同的缩放级别即可。

Expected behavior
不会变模糊,像 QQ 微信等程序一样保持图标清晰。
Screenshots


程序所使用的 .ico 文件包含的图标尺寸:

Environment (please complete the following information):
- .net:
.net 5
- IDE
vs2019
- Version
3.0.0
- System
Win10 20H2
Additional context
Add any other context about the problem here.
Describe the bug
随着切回桌面再回切游戏全屏再切回桌面的次数增多,会越来越模糊。
To Reproduce
Steps to reproduce the behavior:
1. 运行使用NotifyIcon的程序。2. 运行全屏的游戏,并把游戏的分辨率设置得跟桌面分辨率不一致,例如我的桌面是 1920x1080,把游戏内分辨率改为 1600x900。
3.
alt+tab切回桌面。4. 切回游戏全屏。
5. 切回桌面,重复多次,会看到
NotifyIcon的图标越来越模糊。重复切换不同的缩放级别即可。
Expected behavior
不会变模糊,像 QQ 微信等程序一样保持图标清晰。
Screenshots

程序所使用的
.ico文件包含的图标尺寸:Environment (please complete the following information):
.net 5vs20193.0.0Win10 20H2Additional context
Add any other context about the problem here.