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.
Thanks for the bug report. I'm sorry we weren't able to get to this yet. There have been many fixes and improvements since this was reported, and this issue may have been fixed. Can you please re-test on your system with Plasma 6.3.5 or later and let us know if you can still reproduce the problem? If you can, please set this back to REPORTED. Thanks!
I'm on 6.2.0 & don't see this happening anymore.
Great, thanks for following up!
Actually, let me revise that. It no longer happens when I Sleep - but the issue is still there if I Hibernate. And it's consistent/repeatable.
Can you open a new bug report for it? It seems like that's a subtly different issue. Thanks!
Seems identical to me. Behavior is as described above, & also some of the other history/context above (i.e. shatz.dan@gmail.com is exactly this)...I can copy paste it to a new bug but seems better to retain the history since it's really the same thing
But you said it happens at a different time now, which means it's something different.
Ok...I copy-pasted it to https://bugs.kde.org/show_bug.cgi?id=505402, just replacing "sleep" with "hibernate" in the OP....