moses-palmer / pystray

GNU General Public License v3.0
461 stars 57 forks source link

Icon blur accumulation on resolution change #129

Open MaxBQb opened 1 year ago

MaxBQb commented 1 year ago
  1. Start from here:

image

  1. Select lowest resolution possible:

image

  1. Revert changes: image

  2. Repeat steps 1-3 couple of times. Here is the changes in quality of my app's icon:

image image image

Icon used: inversion_manager.zip

Platform: Windows 10 Python 3.10

moses-palmer commented 1 year ago

Thank you for your report.

This appears to be a known issue on Windows.

However, I cannot reproduce the issue; perhaps it has been fixed in the version I run in a virtual machine?

That being said, I have prepared a branch with a possible fix: fixup-win32-icon-blur-on-resolution-change. Is it possible for you to test it?

MaxBQb commented 1 year ago

I've test this fix out, and it works as intended. Icon quality changes with the screen resolution, but when it's changed back, quality also change back to normal.

moses-palmer commented 1 year ago

Fantastic! I will merge this branch shortly.