Problem
The system tray icon is displaying with visual artifacts:
- Black lines or borders around the icon
- Icon may not be rendering cleanly at 16x16 size
Current Implementation
- Using
include_bytes!("../../assets/tray-icon.png") in src/tray/icon.rs
- Resizing to 16x16 with Lanczos3 filter
- Loading from where.png (copied to tray-icon.png)
Possible Solutions
- Pre-resize the PNG to exactly 16x16 before embedding
- Use ICO format instead of PNG for better Windows compatibility
- Adjust image processing (different filter, pre-processing)
- Check alpha channel handling
Notes
- EXE icon (from where.ico) works correctly
- May need to revert tray icon changes and use different approach
Problem
The system tray icon is displaying with visual artifacts:
Current Implementation
include_bytes!("../../assets/tray-icon.png")insrc/tray/icon.rsPossible Solutions
Notes