-
Notifications
You must be signed in to change notification settings - Fork 16.9k
fix: ensure tray icon is the proper size on linux #21904
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
|
Merging as WOA CI failures unrelated to PR changes. |
|
Release Notes Persisted
|
|
I have automatically backported this PR to "8-x-y", please check out #21936 |
|
@ckerr This breaks icon size on Linux, Electron icons are tiny compared to other icons, locked to 22px. It looks hideous (all my other icons are fine) and if I use numbers in corner, they are unreadable. This is not the correct fix for anything. Anything with a badge number is unusable. Edit: Also added 48px for comparison and icon of Telegram with badge. Images are upscaled. |


Fixes #21445.
This solves an issue where icons that are larger than the preferred size are not being rendered correctly. This issue surfaced as a side-effect of gfx's change from using the deprecated AppIndicator to now using KdeStatusNotifierItem over dbus.
More info: #21904 (comment)
Description of Change
If the icon is too large for the tray, tries to resize it to the correct size.
@codebytere
Checklist
npm testpassesRelease Notes
Notes: Fixed Linux desktop tray icon size regression introduced in the 8.0 betas.