Skip to content

feat(windows): taskbar attention overlay badge on bell#516

Merged
deblasis merged 10 commits into
windowsfrom
windows-taskbar-attention-overlay
Jun 13, 2026
Merged

feat(windows): taskbar attention overlay badge on bell#516
deblasis merged 10 commits into
windowsfrom
windows-taskbar-attention-overlay

Conversation

@deblasis

Copy link
Copy Markdown
Owner

Adds a taskbar overlay badge that lights up when an unfocused window rings the bell, and clears when the window regains focus. This is the Windows equivalent of bell-features = attention (which bounces the dock on macOS).

Mirrors the existing taskbar progress spine: a pure-logic TaskbarAttentionCoordinator in Ghostty.Core writes to a narrow ITaskbarOverlaySink; a WinUI facade forwards to ITaskbarList3::SetOverlayIcon. The bell flows surface -> PaneHost -> TabManager -> coordinator the same way progress does; window focus drives it from Window.Activated. The badge is a small amber dot rasterized at runtime via GDI (no assets, AOT-safe).

Ungated, consistent with the taskbar progress indicator.

Tested: unit tests cover the coordinator state machine and the bell forwarding through TabManager. In-app, the badge appears on the taskbar button when a backgrounded window rings the bell, clears when the window is focused, and coexists with the progress bar.

@deblasis deblasis marked this pull request as ready for review June 13, 2026 18:01
@deblasis deblasis merged commit b397a54 into windows Jun 13, 2026
98 checks passed
@deblasis deblasis deleted the windows-taskbar-attention-overlay branch June 13, 2026 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant