Windows: taskbar flash on new message (shared attention setting)
Facebook Messenger on your desktop, without the Facebook clutter
Brought to you by:
kristoffer-r
Originally created by: kristofferR
Windows sibling of the Dock bounce in [#174] (Ref [#174]). Independent of the toast work; smallest issue of the set.
attention_on_message (default off) instead of a per-OS name — identical semantics and gating on both platforms, only the mechanism differs. One row in the Settings notifications tab shown when IS_MAC || IS_WINDOWS (the row-gating pattern already exists), with a per-OS label ("Bounce the Dock icon…" / "Flash the taskbar…"). [#174] is amended to adopt the neutral name (neither has landed; no migration).show_message_notification after mute/dedupe/rate-limit (inherits spam protection), message notifications only, and only when the main window reports !is_focused().window.request_user_attention(Some(UserAttentionType::Informational)) — verified in tao 0.35: on Windows this is FlashWindowEx(FLASHW_TRAY, count=4), taskbar button only, highlight clears on focus. No new dependency. Harmless no-op while the window is hidden to tray (no taskbar button). Note: FlashWindowEx ignores Focus Assist — acceptable for an opt-in setting.Part of [#187].
Originally posted by: kristofferR
Implemented in PR [#233] and manually verified on Windows 11 during PR [#247]. The opt-in taskbar flash fires for new messages while Carrier is unfocused and clears correctly when the app is activated. Closing as complete.
Related
Tickets:
#233Tickets:
#247Ticket changed by: kristofferR