Bug 451546

Summary: Audible bell custom sound plays the sound in addition to the default system beep, rather than replacing it
Product: [Applications] systemsettings Reporter: Nate Graham <nate>
Component: kcm_accessibilityAssignee: Gunnar Schmidt <gunnar>
Status: RESOLVED FIXED    
Severity: normal CC: nicolas.fella, plasma-bugs, tcanabrava
Priority: NOR    
Version: master   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 6.1

Description Nate Graham 2022-03-15 22:54:55 UTC
If you check "Custom sound" and specify a sound, that sound is played *in addition* to the system's horrible pcspkr beep noise, rather than replacing it. It should replace it, as there's not much point in playing both.
Comment 1 Nate Graham 2022-03-15 22:56:40 UTC
...On X11 at least; on Wayland I hear nothing at all when I do something that plays the audible bell, like searching for "kjfdslkjdsflkjs" in Firefox. That's probably a separate issue.
Comment 2 Nicolas Fella 2024-05-19 14:00:36 UTC
Git commit 9e8f737280f5f5b910498e08734c9579e0df14b7 by Nicolas Fella.
Committed on 19/05/2024 at 13:52.
Pushed by nicolasfella into branch 'master'.

[kaccess] Always suppress audible X11 bell

X11 by default produces a horrible beep, which we allow to override with a custom sound.

The current code however only suppresses the default beep if 'Audible bell' is disabled,
not when a custom sound is enabled.

Always disable it so that we get full control over the sound
Related: bug 381887

M  +6    -10   kaccess/kaccess.cpp

https://invent.kde.org/plasma/plasma-desktop/-/commit/9e8f737280f5f5b910498e08734c9579e0df14b7