From 30309e113fcc1b9759ec1b6a5fc64f1a4ee659af Mon Sep 17 00:00:00 2001 From: Dylan Hunt Date: Thu, 3 Dec 2026 22:53:36 +0800 Subject: [PATCH] fix(tray): tooltip updates on Windows (pass the GUID in the tray-icon fork) The fork's set_tooltip sent NIM_MODIFY without NIF_GUID, so with our fixed tray GUID every tooltip update failed with E_FAIL and the hover text never changed. Fork branch echophrase/0.27.0-guid now carries a second commit that passes it. --- CHANGELOG.md | 3 +++ Cargo.lock | 2 +- Cargo.toml | 7 ++++--- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8d359c5..e28840f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,9 @@ All notable changes to Echophrase will be documented in this file. - Security updates for bundled libraries, including the in-app updater. - macOS: a failed update can no longer leave you without the app installed. +### Fixed +- Windows: hovering the tray icon now shows whether Echophrase is idle, recording or transcribing. + ### Developers - Updated to Tauri 2.13 and tauri-plugin-updater 2.14.1. Building now needs Rust 1.94 or newer (`rustup update stable`). The tray-icon fork is rebased on 0.27. See [ADR 0008](https://docs.echophrase.com/developers/decisions/0008-tauri-2-13-rust-1-94). - Committing a dependency change (`Cargo.lock`, `bun.lock`) now regenerates the third-party notices in the same commit, so the "Attribution is current" check no longer fails afterwards. It needs `cargo-about` at the version `ci.yml` pins. diff --git a/Cargo.lock b/Cargo.lock index f2d50f4..93c349e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -6974,7 +6974,7 @@ dependencies = [ [[package]] name = "tray-icon" version = "0.27.0" -source = "git+https://github.com/dylanh724/tray-icon?rev=e2ed76b285caedd23382957b0d03f3668e0ed4bc#e2ed76b285caedd23382957b0d03f3668e0ed4bc" +source = "git+https://github.com/dylanh724/tray-icon?rev=daef69ecc8ca3ded55491325f0f99ac2724b726d#daef69ecc8ca3ded55491325f0f99ac2724b726d" dependencies = [ "crossbeam-channel", "dirs 7.0.0", diff --git a/Cargo.toml b/Cargo.toml index 392787e..3d8b2c2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -44,7 +44,8 @@ strip = false # is released and tauri exposes `with_guid`. The PR shipped in tray-icon 0.27; # the branch (`echophrase/0.27.0-guid`) is 0.27.0 + a process-wide # `set_default_guid`, still needed because tauri 2.13's builder does not pass -# the attribute through. When bumping tauri to a tray-icon it does not match, -# redo that one commit on the new tag. +# the attribute through, + a fix so `set_tooltip` passes the GUID (upstream +# omits it, so every tooltip update fails for a GUID icon). When bumping tauri +# to a tray-icon it does not match, redo those two commits on the new tag. [patch.crates-io] -tray-icon = { git = "https://github.com/dylanh724/tray-icon", rev = "e2ed76b285caedd23382957b0d03f3668e0ed4bc" } +tray-icon = { git = "https://github.com/dylanh724/tray-icon", rev = "daef69ecc8ca3ded55491325f0f99ac2724b726d" }