Skip to content

Tray icon showing with artifacts (black lines/border) #1

@Jeffrey0117

Description

@Jeffrey0117

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

  1. Pre-resize the PNG to exactly 16x16 before embedding
  2. Use ICO format instead of PNG for better Windows compatibility
  3. Adjust image processing (different filter, pre-processing)
  4. Check alpha channel handling

Notes

  • EXE icon (from where.ico) works correctly
  • May need to revert tray icon changes and use different approach

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions