SUMMARY ------- Video players invoke /org/freedesktop/ScreenSaver/Inhibit to prevent screen dimming and locking Music players invoke /org/freedesktop/PowerManagement/Inhibit to prevent system sleeping but screen dimming and locking should still work. However, this isn't the case in KDE/Plasma. STEPS TO REPRODUCE ------------------ 1. Open JuK and play (loop) some music 2. Don't do anything and wait screen to lock 3. Check back in 15 minutes OBSERVED RESULT --------------- Screen locking is prevented by music players EXPECTED RESULT --------------- Screen locking shouldn't be prevented by music players. That is because music players don't require screen to be always on. SOFTWARE/OS VERSIONS -------------------- Operating System: openSUSE Tumbleweed 20200501 KDE Plasma Version: 5.18.4 KDE Frameworks Version: 5.69.0 Qt Version: 5.14.1 Kernel Version: 5.6.6-1-default OS Type: 64-bit Processors: 8 × Intel® Core™ i7-8550U CPU @ 1.80GHz Memory: 31.1 GiB
Can confirm the bug, observed it in Debian 10 Buster. # uname -a Linux tst 4.19.0-10-amd64 #1 SMP Debian 4.19.132-1 (2020-07-24) x86_64 GNU/Linux # aptitude show kde-standard Package: kde-standard Version: 5:102 State: installed
Monitor also does not enter in power saving mode when I download something with Chromium and chromium-based browsers. Arch Linux, Plasma 5.22.
(In reply to Guo Yunhe from comment #0) > SUMMARY > ------- > > Video players invoke /org/freedesktop/ScreenSaver/Inhibit to prevent screen > dimming and locking > > Music players invoke /org/freedesktop/PowerManagement/Inhibit to prevent > system sleeping but screen dimming and locking should still work. However, > this isn't the case in KDE/Plasma. Can some information on where these specs live? It looks like this was supposed to be fixed back in 2018: https://github.com/KDE/powerdevil/commit/152400c1b6880506ee1395011686c2b191f419a0 It looks like this may be manifesting in a very weird way. I currently get "nothing" (literally no name/text) "is currently blocking sleep and screen locking (Playing)" from Rythmbox.