From 9c8fafa3eebf45672b874f6d011434df7b1a9efc Mon Sep 17 00:00:00 2001 From: l0ng-ai <24760907+l0ng-ai@users.noreply.github.com> Date: Sat, 15 Aug 2026 10:50:59 +0800 Subject: [PATCH] fix(remote): name the machine, not its profile UUID, on a connecting pane --- src/ui/app.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/ui/app.rs b/src/ui/app.rs index f9e4ea11..1f9db169 100644 --- a/src/ui/app.rs +++ b/src/ui/app.rs @@ -7292,10 +7292,14 @@ pub(crate) fn new_terminal( owner, font_size, }; + // The same leak the reconnect banner had: this name is read out as + // "Connecting to {machine}…" and "Could not reach {machine}", and a + // `Profile` target spells itself as its config UUID (#485). The pane's own + // notifications already resolve it through the live config. let machine = spawn .workspace .as_ref() - .map(|w| w.target.to_string()) + .map(|w| crate::ui::remote_connect::target_label(cx, &w.target)) .unwrap_or_else(|| t(L10nKey::AppLocalServerName).to_string()); let pending = cx.new(|cx| crate::ui::pending_pane::PendingPane::new(machine, spawn, cx)); cx.subscribe_in(