Skip to content

NotifyIcon 在某些全屏游戏内切回桌面时,图标会变得逐渐模糊 #637

Closed

Description

@GF-Huang

Describe the bug
随着切回桌面再回切游戏全屏再切回桌面的次数增多,会越来越模糊。

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

重复切换不同的缩放级别即可。

image

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

Screenshots
image

image

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

image

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.

Activity

  1. NaBian commented on Jan 28, 2021

    @NaBian
    Member

    暂时无法复现

  2. GF-Huang commented on Jan 28, 2021

    @GF-Huang
    MemberAuthor

    @NaBian 你的缩放有设置到超过 100% 吗?

    image

  3. NaBian commented on Jan 28, 2021

    @NaBian
    Member

    你的复现步骤太复杂了,什么都不需要,只需要不停切换缩放即可复现

  4. GF-Huang commented on Jan 28, 2021

    @GF-Huang
    MemberAuthor

    好吧。😂

  5. added a commit that references this issue on Mar 28, 2024
    cdeab69
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐛 bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      ⌂ 换网址