Windows: notification shows active window title instead of the Claude Code session that completed the task

Resolved 💬 3 comments Opened Mar 31, 2026 by kevinzhenyuhu Closed May 5, 2026

Description

On Windows, when a Claude Code task completes in a background terminal, the toast notification displays the currently active/focused window title (e.g., "Windows PowerShell") instead of the Claude Code session that actually completed the task.

This makes it difficult to identify which Claude Code session finished when running multiple sessions in parallel.

Screenshot

The notification shows "Windows PowerShell" as the title, but the task was completed by a Claude Code session running in a different terminal window:

!notification-bug

Expected behavior

The notification title should show the Claude Code session/window name (e.g., the working directory or project name) that completed the task, regardless of which window is currently focused.

Environment

  • OS: Windows 11 Pro 10.0.22621
  • Claude Code: CLI

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗