[Console]::Beep() does not activate "Bell Notifications" #21706

Open
opened 2026-01-31 07:52:39 +00:00 by claunia · 0 comments
Owner

Originally created by @GarThor on GitHub (May 14, 2024).

Windows Terminal version

1.19.11213.0

Windows build number

10.0.19045.0

Other Software

Powershell v5 and v7

I do have oh-my-posh installed, but I don't think that affects this behavior

Steps to reproduce

o Enable "Bell notificaiton styles" in "Advanced" for your powershell profile.
o Enter the command [Console]::Beep() into the console. Observe, while the terminal does emit an audible beep, it does not alert the user in any other way (via flashing the window or the taskbar as configured).

Flashing/notifications do appear to be configurable when using the Write-Host -NoNewLine "a"` command however.

Expected Behavior

[Console]::Beep() should respect the user's configuration for bell notifications.

Actual Behavior

[Console]::Beep() does not respect the user's configuration for bell notifications.

Originally created by @GarThor on GitHub (May 14, 2024). ### Windows Terminal version 1.19.11213.0 ### Windows build number 10.0.19045.0 ### Other Software Powershell v5 and v7 I do have oh-my-posh installed, but I don't think that affects this behavior ### Steps to reproduce o Enable "Bell notificaiton styles" in "Advanced" for your powershell profile. o Enter the command `[Console]::Beep()` into the console. Observe, while the terminal does emit an audible beep, it does not alert the user in any other way (via flashing the window or the taskbar as configured). Flashing/notifications do appear to be configurable when using the `Write-Host -NoNewLine "`a"` command however. ### Expected Behavior [Console]::Beep() should respect the user's configuration for bell notifications. ### Actual Behavior [Console]::Beep() does not respect the user's configuration for bell notifications.
claunia added the Needs-TriageIssue-BugResolution-External labels 2026-01-31 07:52:40 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#21706