Bug 451546 - Audible bell custom sound plays the sound in addition to the default system beep, rather than replacing it
Summary: Audible bell custom sound plays the sound in addition to the default system b...
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_accessibility (show other bugs)
Version: master
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Gunnar Schmidt
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-15 22:54 UTC by Nate Graham
Modified: 2024-05-24 00:08 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.1


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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