25675c3 (#398 by @amrbashir) Improve custom tray icon compatibility and rapid updates on Linux when using AppIndicator. Keep the current icon visible if an update fails.
9c5cd3b (#391 by @Doooji) Add Icon::from_rgba_with_scale, which creates an icon drawn at a number of pixels per point. On macOS, a 32x32 icon with a scale factor of 2.0 is now drawn at 16x16 points and stays sharp on Retina displays. Windows and Linux ignore the scale factor.
4d125a5 (#404 by @bbkingisking) Add a Linux-only TrayIconStatus enum and TrayIcon::set_status for Passive, Active and NeedsAttention with both AppIndicator and KSNI backends.
ad6cd4d (#397 by @willemrosenthal) On macOS, Control-click now opens the tray menu when showing the menu on right-click is enabled.
1100fbe (#387 by @FalkWoldmann) Replace the once_cell dependency with std::sync::LazyLock and std::sync::OnceLock.
14cd985 (#402 by @armadavalor) On Windows and macOS, fix TrayIcon::show_menu keeping the tray icon borrowed while the menu is open, which made setters such as set_icon and set_tooltip panic with "RefCell already borrowed" when called from the event loop during that time.
bd709f8 (#395 by @lansyin) Fix the default size used by Icon::from_path, Icon::from_resource, and Icon::from_resource_name on Windows to match the system's small icon size.
23ef3d2 (#393 by @Seifert69) Fix unnecessary CPU usage after hovering over the tray icon on Windows. A timer kept running after the cursor left the icon.
Configuration
📅Schedule: (UTC)
Branch creation
At any time (no schedule defined)
Automerge
At any time (no schedule defined)
🚦Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕Ignore: Close this PR and you won't be reminded about this update again.
If you want to rebase/retry this PR, check this box
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [tray-icon](https://github.com/tauri-apps/tray-icon) | dependencies | minor | `0.26` → `0.27` |
---
### Release Notes
<details>
<summary>tauri-apps/tray-icon (tray-icon)</summary>
### [`v0.27.0`](https://github.com/tauri-apps/tray-icon/blob/HEAD/CHANGELOG.md#0270)
[Compare Source](https://github.com/tauri-apps/tray-icon/compare/tray-icon-v0.26.1...tray-icon-v0.27.0)
- [`25675c3`](https://www.github.com/tauri-apps/tray-icon/commit/25675c359c01471a8ee81f9b5b37cb10e5455afa) ([#​398](https://www.github.com/tauri-apps/tray-icon/pull/398) by [@​amrbashir](https://www.github.com/tauri-apps/tray-icon/../../amrbashir)) Improve custom tray icon compatibility and rapid updates on Linux when using AppIndicator. Keep the current icon visible if an update fails.
- [`318d28a`](https://www.github.com/tauri-apps/tray-icon/commit/318d28ad5a051b3ce785be71a29b5a27d3b62fef) ([#​369](https://www.github.com/tauri-apps/tray-icon/pull/369) by [@​Legend-Master](https://www.github.com/tauri-apps/tray-icon/../../Legend-Master)) Update tao to 0.38, libappindicator to 0.10, muda to 0.22, gtk to 0.19.
- [`9c5cd3b`](https://www.github.com/tauri-apps/tray-icon/commit/9c5cd3be5f9a192def4bd8671c22977dc958db7b) ([#​391](https://www.github.com/tauri-apps/tray-icon/pull/391) by [@​Doooji](https://www.github.com/tauri-apps/tray-icon/../../Doooji)) Add `Icon::from_rgba_with_scale`, which creates an icon drawn at a number of pixels per point. On macOS, a 32x32 icon with a scale factor of `2.0` is now drawn at 16x16 points and stays sharp on Retina displays. Windows and Linux ignore the scale factor.
- [`4d125a5`](https://www.github.com/tauri-apps/tray-icon/commit/4d125a5e97869636c8c82aea647e63b60b293178) ([#​404](https://www.github.com/tauri-apps/tray-icon/pull/404) by [@​bbkingisking](https://www.github.com/tauri-apps/tray-icon/../../bbkingisking)) Add a Linux-only TrayIconStatus enum and TrayIcon::set_status for Passive, Active and NeedsAttention with both AppIndicator and KSNI backends.
- [`ad6cd4d`](https://www.github.com/tauri-apps/tray-icon/commit/ad6cd4d63eec2afabe52fb99fc9e34d46c806797) ([#​397](https://www.github.com/tauri-apps/tray-icon/pull/397) by [@​willemrosenthal](https://www.github.com/tauri-apps/tray-icon/../../willemrosenthal)) On macOS, Control-click now opens the tray menu when showing the menu on right-click is enabled.
- [`1100fbe`](https://www.github.com/tauri-apps/tray-icon/commit/1100fbefa1917531b7cbdbc3c712b99e97392609) ([#​387](https://www.github.com/tauri-apps/tray-icon/pull/387) by [@​FalkWoldmann](https://www.github.com/tauri-apps/tray-icon/../../FalkWoldmann)) Replace the `once_cell` dependency with `std::sync::LazyLock` and `std::sync::OnceLock`.
- [`14cd985`](https://www.github.com/tauri-apps/tray-icon/commit/14cd985457f87ab04b9208f611d10e1b7a55abde) ([#​402](https://www.github.com/tauri-apps/tray-icon/pull/402) by [@​armadavalor](https://www.github.com/tauri-apps/tray-icon/../../armadavalor)) On Windows and macOS, fix `TrayIcon::show_menu` keeping the tray icon borrowed while the menu is open, which made setters such as `set_icon` and `set_tooltip` panic with "RefCell already borrowed" when called from the event loop during that time.
- [`bd709f8`](https://www.github.com/tauri-apps/tray-icon/commit/bd709f8981e845e963eb16dec019d98d02b70664) ([#​395](https://www.github.com/tauri-apps/tray-icon/pull/395) by [@​lansyin](https://www.github.com/tauri-apps/tray-icon/../../lansyin)) Fix the default size used by `Icon::from_path`, `Icon::from_resource`, and `Icon::from_resource_name` on Windows to match the system's small icon size.
- [`23ef3d2`](https://www.github.com/tauri-apps/tray-icon/commit/23ef3d2fe2aff76cc4966099d560ede59191e000) ([#​393](https://www.github.com/tauri-apps/tray-icon/pull/393) by [@​Seifert69](https://www.github.com/tauri-apps/tray-icon/../../Seifert69)) Fix unnecessary CPU usage after hovering over the tray icon on Windows. A timer kept running after the cursor left the icon.
</details>
---
### Configuration
📅 **Schedule**: (UTC)
- Branch creation
- At any time (no schedule defined)
- Automerge
- At any time (no schedule defined)
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4yNjIuMiIsInVwZGF0ZWRJblZlciI6IjQ0LjI2Mi4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
tray-icon 0.27 pulls muda 0.22, where MenuEventHandler is Arc<dyn Fn(MenuEvent)> instead of a generic F: Fn(MenuEvent). Some(closure) no longer coerces through Option, so the handler is built as a typed Arc first.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
This PR contains the following updates:
0.26→0.27Release Notes
tauri-apps/tray-icon (tray-icon)
v0.27.0Compare Source
25675c3(#398 by @amrbashir) Improve custom tray icon compatibility and rapid updates on Linux when using AppIndicator. Keep the current icon visible if an update fails.318d28a(#369 by @Legend-Master) Update tao to 0.38, libappindicator to 0.10, muda to 0.22, gtk to 0.19.9c5cd3b(#391 by @Doooji) AddIcon::from_rgba_with_scale, which creates an icon drawn at a number of pixels per point. On macOS, a 32x32 icon with a scale factor of2.0is now drawn at 16x16 points and stays sharp on Retina displays. Windows and Linux ignore the scale factor.4d125a5(#404 by @bbkingisking) Add a Linux-only TrayIconStatus enum and TrayIcon::set_status for Passive, Active and NeedsAttention with both AppIndicator and KSNI backends.ad6cd4d(#397 by @willemrosenthal) On macOS, Control-click now opens the tray menu when showing the menu on right-click is enabled.1100fbe(#387 by @FalkWoldmann) Replace theonce_celldependency withstd::sync::LazyLockandstd::sync::OnceLock.14cd985(#402 by @armadavalor) On Windows and macOS, fixTrayIcon::show_menukeeping the tray icon borrowed while the menu is open, which made setters such asset_iconandset_tooltippanic with "RefCell already borrowed" when called from the event loop during that time.bd709f8(#395 by @lansyin) Fix the default size used byIcon::from_path,Icon::from_resource, andIcon::from_resource_nameon Windows to match the system's small icon size.23ef3d2(#393 by @Seifert69) Fix unnecessary CPU usage after hovering over the tray icon on Windows. A timer kept running after the cursor left the icon.Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate CLI.