Skip to content

Conversation

@GeneralGDA
Copy link
Contributor

@GeneralGDA GeneralGDA commented Sep 23, 2025

Ugly tray icons on low res display have been fixed: deleted icons for every notifications count; added single ICO file with images for every screen resolution.

Signed-off-by: Denis Gladkiy <denis.gladkiy@hardcoreeng.com>
@GeneralGDA GeneralGDA requested a review from Copilot September 23, 2025 05:48
@huly-github-staging
Copy link

Connected to Huly®: UBERF-13754

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes tray icon display issues on low DPI screens for the Windows desktop app by simplifying the badge icon system. Instead of using multiple PNG files with dynamic badge counts, the implementation now uses a single ICO file for all badge states.

  • Simplified badge icon logic to use a single TrayIconWithBadge.ico file regardless of badge count
  • Removed complex file path construction and badge count-specific icon selection
  • Updated tests to reflect the new unified icon approach

Reviewed Changes

Copilot reviewed 3 out of 104 changed files in this pull request and generated 1 comment.

File Description
desktop/src/main/trayUtils.ts Simplified getBadgeIconInfo function to return single icon file for all badge counts
desktop/src/main/tray.ts Removed path.join usage and subdirectory reference for icon loading
desktop/src/test/main/trayUtils.test.ts Updated test expectations to match new single icon file behavior

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@BykhovDenis BykhovDenis merged commit 20b124f into develop Sep 23, 2025
15 checks passed
@BykhovDenis BykhovDenis deleted the fix-desktop-app-win-tray-icon-res branch September 23, 2025 06:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants