useTauriFocusAssist: query the initial Focus-Assist state on mount (currently leaks notifications until the OS state flips) #15

Open
opened 2026-09-17 23:24:13 -04:00 by jared · 0 comments
Owner

Migrated from LOTUS_TODO.md on 2026-09-17 (the file is now reference-only).

[Med] [desktop] useTauriFocusAssist never queries the initial OS Focus-Assist state on mount (unlike useTauriDnd, which rehydrates via get_tray_dnd) → if Focus Assist is already ON at launch, notifications/sounds leak through until the OS state next flips. Add a get_focus_assist mount query (confirm whether the native poll emits an initial reading). useTauriFocusAssist.ts:18-24.

_Migrated from `LOTUS_TODO.md` on 2026-09-17 (the file is now reference-only)._ **[Med] [desktop]** `useTauriFocusAssist` never queries the initial OS Focus-Assist state on mount (unlike `useTauriDnd`, which rehydrates via `get_tray_dnd`) → if Focus Assist is already ON at launch, notifications/sounds leak through until the OS state next flips. Add a `get_focus_assist` mount query (confirm whether the native poll emits an initial reading). `useTauriFocusAssist.ts:18-24`.
jared added this to the Desktop 2026-Q4 milestone 2026-09-17 23:24:13 -04:00
jared added the bugpriority: mediumarea: native labels 2026-09-17 23:24:13 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: LotusGuild/cinny-desktop#15