From db126788858260bcb3f377cdb26ffaef81322fab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zolt=C3=A1n=20Papp?= Date: Tue, 22 Sep 2026 11:41:51 +0200 Subject: [PATCH] [client] Report the first paint from unstamped windows too The main and settings windows carry no generation token, so ReadySignal saw an empty generation that already matched the ref's initial value and never emitted the painted event. Those windows only became visible through the fallback timer, and their frontend was never marked mounted, so the login trigger and the requested settings tab stayed queued. Start the ref from null so the first report goes out regardless of the generation value. --- client/ui/frontend/src/components/ReadySignal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/ui/frontend/src/components/ReadySignal.tsx b/client/ui/frontend/src/components/ReadySignal.tsx index 9aa216326..6a98b30ea 100644 --- a/client/ui/frontend/src/components/ReadySignal.tsx +++ b/client/ui/frontend/src/components/ReadySignal.tsx @@ -9,7 +9,7 @@ export const ReadySignal = () => { const { isReady } = useStatus(); const [params] = useSearchParams(); const generation = params.get("gen") ?? ""; - const sent = useRef(""); + const sent = useRef(null); useEffect(() => { if (!isReady || sent.current === generation) return;