From ac83d9d50bd514771353aad60ea8aba59fa34a17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zolt=C3=A1n=20Papp?= Date: Tue, 4 Aug 2026 13:10:12 +0200 Subject: [PATCH] [client] Trigger login from the expired tray session row The expired-session tray click navigated the main window to /#/login, a route that does not exist and falls through to the main page without starting a login. Emit the trigger-login event instead, matching handleConnect's SessionExpired path. --- client/ui/tray_session.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/client/ui/tray_session.go b/client/ui/tray_session.go index 885fdb348..15690bb82 100644 --- a/client/ui/tray_session.go +++ b/client/ui/tray_session.go @@ -308,11 +308,7 @@ func (t *Tray) openSessionExtendFlow() { } seconds := int(time.Until(deadline).Seconds()) if seconds <= 0 { - if t.window != nil { - t.window.SetURL("/#/login") - t.window.Show() - t.window.Focus() - } + t.app.Event.Emit(services.EventTriggerLogin) return } if t.svc.WindowManager == nil {