SUMMARY I'm wary to try this in other applications, as it freezes Plasma, but if I'm in Python 3 IDLE (pretty sure an XWayland app), the following occurs. You know how if you hold backspace when there's no characters left to delete, or hold Ctrl + Z when there's no undo steps left, the beep sound will play on repeat until you let go? Well, it ain't stopping when I let go. STEPS TO REPRODUCE 1. Install Python 3 IDLE and open a shell. 2. Hold backspace without typing anything. 3. After a couple seconds, release backspace. OBSERVED RESULT The sound plays repeatedly, doubling over itself loudly, and never stops. Plasma goes to like 0.01 FPS. EXPECTED RESULT The sound stops when you release the key. SOFTWARE/OS VERSIONS Windows: No. macOS: No, (available in the Info Center app, or by running `kinfo` in a terminal window) Linux/KDE Plasma: Fedora 41 x86 64-bit KDE Plasma Version: 6.3.2 KDE Frameworks Version: 6.11.0 Qt Version: 6.8.2 ADDITIONAL INFORMATION If you can get the IDLE window to close with Alt + F4 (takes a long time), the sound freeze does stop.
Yikes, I can reproduce this. The freeze eventually ends on its own for me, but it seems like it needs to play exactly as many beeps as the app sent before that happens. Which can be a lot of beeps.
*** Bug 501029 has been marked as a duplicate of this bug. ***
I encounter this as well on Plasma 6.3.2 and e.g. provoking a "bell" in Matlab (XWayland), however it totally freezes both machines I tested this and either ssh'ing into them and killing the session or hard resetting is the only way to go. As a workaround I found that disabling "Accessibility -> System Bell : Audible Bell" prevents the sound inferno.
*** Bug 501543 has been marked as a duplicate of this bug. ***
*** Bug 501524 has been marked as a duplicate of this bug. ***
See https://invent.kde.org/plasma/kwin/-/merge_requests/7350
Git commit 2e33bd0d2a9bca18b3b2f65a2aa0c61baa728081 by Nicolas Fella. Committed on 17/03/2025 at 13:19. Pushed by nicolasfella into branch 'master'. plugins/systembell: Throttle audio bell When too many bell requests are made simultaneously the resulting audio playback can affect system performance, to the point where it completely freezes. Since playing too many audio bells at the same time is nonsensical anyway limit ourselves to one every 100ms. This interval is fairly arbitrary, but seems to work well enough in practice. It still allows for two very fast keypresses to each trigger a distinctive bell. M +13 -0 src/plugins/systembell/systembell.cpp M +3 -0 src/plugins/systembell/systembell.h https://invent.kde.org/plasma/kwin/-/commit/2e33bd0d2a9bca18b3b2f65a2aa0c61baa728081
Git commit 3350bbabd70970d542672d40945aa4a0eac4be2f by Nicolas Fella. Committed on 17/03/2025 at 13:50. Pushed by nicolasfella into branch 'Plasma/6.3'. plugins/systembell: Throttle audio bell When too many bell requests are made simultaneously the resulting audio playback can affect system performance, to the point where it completely freezes. Since playing too many audio bells at the same time is nonsensical anyway limit ourselves to one every 100ms. This interval is fairly arbitrary, but seems to work well enough in practice. It still allows for two very fast keypresses to each trigger a distinctive bell. (cherry picked from commit 2e33bd0d2a9bca18b3b2f65a2aa0c61baa728081) Co-authored-by: Nicolas Fella <nicolas.fella@gmx.de> M +13 -0 src/plugins/systembell/systembell.cpp M +3 -0 src/plugins/systembell/systembell.h https://invent.kde.org/plasma/kwin/-/commit/3350bbabd70970d542672d40945aa4a0eac4be2f
*** Bug 501789 has been marked as a duplicate of this bug. ***