SUMMARY If I configure a notification sound for the Screen Saver's "Screen locked" event, putting the system to sleep sometimes behaves as expected: it plays the sound once, followed by the system going to sleep. Other times, it starts looping/repeating the sound continuously until the system goes to sleep. When this looping/repeating sound is 'stuck' it can be very loud, with no way to stop it, until the system finishes going to sleep. STEPS TO REPRODUCE 1. System Settings->Notifications->Configure->Screen Saver->Configure Events->Screen locked->Play a sound. I chose /usr/share/sounds/Oxygen-Im-Highlight-Msg.ogg, but I assume any short/loud sound would suffice. 2. Put the system to sleep 3. If the behavior is as expected (sound plays once), try waking up the system & trying again. The bug is sporadic (it may happen i.e. 1 out of 4 times when putting the system to sleep). OBSERVED RESULT Sometimes the sound plays once, as expected. Other times, the sound gets stuck in a buggy-sounding loop, that continues repeating until the system finishes going to sleep (usually a second or two, but can be as long as 10 seconds). EXPECTED RESULT The sound should only play once, not get stuck in a repeating loop. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Kubuntu 20.04 KDE Plasma Version: 5.18.5 KDE Frameworks Version: 5.68.0 Qt Version: 5.12.8 ADDITIONAL INFORMATION
Cannot reproduce in Plasma 5.22.
Here's a video showing the behavior: https://www.dropbox.com/s/xya4e5mdhw4wvcb/KDE%20Sleep%20Notification%20Bug.mp4?dl=0
Having the same issue on Opensuse TW, Plasma 5.26.1. I have my laptop configured to sleep-then-hibernate when on battery. How I can reproduce this issue most often: 1. Let computer sit idle for a while on battery. It goes to sleep. 2. Let it sit idle for a bit more. Computer wakes up to start hibernating process. 3. Notification(?) sound starts repeating in a loop until computer hibernates (i.e. powers off). As far as I understand the sound is coming from a notification that appears exactly when computer wakes up to start hibernating.