Skip to content

fix: clear Windows taskbar overlay icon when badge count reaches 0#29053

Open
omahabrad wants to merge 1 commit intokeybase:masterfrom
omahabrad:fix/windows-taskbar-badge-not-clearing
Open

fix: clear Windows taskbar overlay icon when badge count reaches 0#29053
omahabrad wants to merge 1 commit intokeybase:masterfrom
omahabrad:fix/windows-taskbar-badge-not-clearing

Conversation

@omahabrad
Copy link

@omahabrad omahabrad commented Mar 23, 2026

When desktopAppBadgeCount drops to 0, the overlay variable was set to null and the short-circuit && prevented setOverlayIcon from ever being called. The previous dot would stay on the taskbar indefinitely. Fix by explicitly calling setOverlayIcon(null, '') to clear the overlay when count is 0.

When desktopAppBadgeCount drops to 0, the overlay variable was set to null and the short-circuit && prevented setOverlayIcon from ever being called. The previous dot would stay on the taskbar indefinitely. Fix by explicitly calling setOverlayIcon(null, '') to clear the overlay when count is 0.
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.

2 participants