fix(deps): update rust crate tray-icon to 0.27 #46

Merged
fristyagent merged 2 commits from renovate/tray-icon-0.x into main 2026-11-25 16:43:24 +03:00

This PR contains the following updates:

Package Type Update Change
tray-icon dependencies minor 0.26 → 0.27

Release Notes

tauri-apps/tray-icon (tray-icon)

v0.27.0

Compare 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) 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 has been generated by Mend Renovate CLI.

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) ([#&#8203;398](https://www.github.com/tauri-apps/tray-icon/pull/398) by [@&#8203;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) ([#&#8203;369](https://www.github.com/tauri-apps/tray-icon/pull/369) by [@&#8203;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) ([#&#8203;391](https://www.github.com/tauri-apps/tray-icon/pull/391) by [@&#8203;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) ([#&#8203;404](https://www.github.com/tauri-apps/tray-icon/pull/404) by [@&#8203;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) ([#&#8203;397](https://www.github.com/tauri-apps/tray-icon/pull/397) by [@&#8203;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) ([#&#8203;387](https://www.github.com/tauri-apps/tray-icon/pull/387) by [@&#8203;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) ([#&#8203;402](https://www.github.com/tauri-apps/tray-icon/pull/402) by [@&#8203;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) ([#&#8203;395](https://www.github.com/tauri-apps/tray-icon/pull/395) by [@&#8203;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) ([#&#8203;393](https://www.github.com/tauri-apps/tray-icon/pull/393) by [@&#8203;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-->
renovate Bot added 1 commit 2026-11-25 16:22:28 +03:00
fix(deps): update rust crate tray-icon to 0.27
CI / Docker image (pull_request) Successful in 18s
CI / CLI (pull_request) Successful in 27s
CI / Server (pull_request) Successful in 27s
CI / CLI (linux-arm64, static) (pull_request) Successful in 54s
CI / CLI (windows) (pull_request) Failing after 1m3s
CI / CLI (linux-x86-64, static) (pull_request) Successful in 1m9s
d3cbbc87a9
fristy added 1 commit 2026-11-25 16:39:34 +03:00
fix(deps): wrap the tray menu handler in an Arc for tray-icon 0.27
CI / Docker image (pull_request) Successful in 14s
CI / CLI (pull_request) Successful in 16s
CI / Server (pull_request) Successful in 24s
CI / CLI (linux-arm64, static) (pull_request) Successful in 50s
CI / CLI (linux-x86-64, static) (pull_request) Successful in 58s
CI / CLI (windows) (pull_request) Successful in 2m16s
a8eec85be2
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.
fristyagent merged commit a408c0bb17 into main 2026-11-25 16:43:24 +03:00
Sign in to join this conversation.