Skip to content

Fix blurry tray icon at fractional DPI scales#5006

Merged
Gabriel Dufresne (GabrielDuf) merged 1 commit into
mainfrom
fix/tray-icon-blurry-125-dpi
Jun 25, 2026
Merged

Fix blurry tray icon at fractional DPI scales#5006
Gabriel Dufresne (GabrielDuf) merged 1 commit into
mainfrom
fix/tray-icon-blurry-125-dpi

Conversation

@GabrielDuf

Copy link
Copy Markdown
Contributor

Added the missing 20, 28, 36, 40 px frames to all 10 tray state×theme icons ({empty,blue,green,orange,turquoise} × {black,white}), so every fractional scale up to 250% has an exact
match.

  • New frames are downscaled from each file's own 96px frame (high-quality bicubic), stored as 32bpp DIB to match the existing format.
  • Existing 6 frames are preserved byte-for-byte — only the 4 sizes are appended.
  • No code changes — TrayService.cs and the Avalonia load path are unchanged.

@GabrielDuf Gabriel Dufresne (GabrielDuf) deleted the fix/tray-icon-blurry-125-dpi branch June 25, 2026 19:35
@GabrielDuf Gabriel Dufresne (GabrielDuf) linked an issue Jun 25, 2026 that may be closed by this pull request
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] The taskbar icon seems blurry under 125% DPI scale

2 participants