Summary: | When holding an unavailable shortcut in an XWayland application, the warning Beep plays infinitely | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Wilbur Jaywright <zargulthewizard> |
Component: | xwayland | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | alois1, Flupp+bugs.kde.org, isma.af, kde-bugzilla, kde.granola631, mc5458060, nate, nicolas.fella, testingobject33 |
Priority: | HI | ||
Version: | 6.3.2 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/kwin/-/commit/3350bbabd70970d542672d40945aa4a0eac4be2f | Version Fixed In: | 6.3.4 |
Sentry Crash Report: |
Description
Wilbur Jaywright
2025-03-01 18:03:59 UTC
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. *** 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. *** *** Bug 502088 has been marked as a duplicate of this bug. *** (In reply to Nicolas Fella from comment #10) > *** Bug 502088 has been marked as a duplicate of this bug. *** I see this has been fixed in code but it will take time to land in user's hand. This bug has been particularly problematic for me, as i have lost my work in app multiple time due to this. In the meantime, is there any temporary fix that you can suggest like disabling any specific sound settings or anything else via terminal etc. My PC is on KDE Plasma V6.3.3 The fix will be released in five days. In the meantime, you can turn off the system bell sound in System Settings > Accessibility (In reply to Nate Graham from comment #12) > The fix will be released in five days. Nice to hear that. > In the meantime, you can turn off the system bell sound in System Settings > Accessibility Thanks a lot Nate, this settings has fixed system freeze issue for now. BTW before that i didn't even what System Bell was for ;P Few thoughts: - That fix "....limit ourselves to one every 100ms": I hope you guys have considered lower end hardware as well while setting 100ms value interval! |