View previous topic :: View next topic |
Author |
Message |
piii_man n00b
Joined: 18 Jul 2004 Posts: 36
|
Posted: Sat May 13, 2023 12:02 am Post subject: kscreenlocker - bug fixed but remains? |
|
|
Hi all,
There was a bug in kscreenlocker that was fixed in plasma 5.27. I believe I am still seeing the bug, but I'm not sure if it's something else on my system. Briefly, the bug is that when a process inhibits sleep it also prevents the monitor from shutting off on inactivity, but these states should be independent.
First, let me level set, I'm running kscreenlocker-5.27.4, I believe the bug should be fixed in this version. On a Debian 12 system I do not see this bug with kscreenlocker 5.27.2-1
It would be great if someone could verify they are seeing the same behavior on an up-to-date Gentoo box. To reproduce, set your screen switch off time to 1 min in System Settings->Energy Saving and run
Code: | sudo systemd-inhibit --what="sleep" --who="test" --why="test" --mode="block" sleep 1000 |
If your screen doesn't shut off in approx 1 min, that would be a positive confirmation of the bug.
To be clear, my screen shuts off just fine without the sleep inhibit in place. |
|
Back to top |
|
|
piii_man n00b
Joined: 18 Jul 2004 Posts: 36
|
Posted: Sat May 13, 2023 3:30 am Post subject: |
|
|
This was a false alarm apologies. I may have discovered another bug, but I'll take care of that with KDE bugtracking. I'm embarrassed to admit the command above passes on gentoo too. I was using a script which ran that command, but it was inhibiting sleep multiple times per minute, each time the lock is taken to inhibit sleep sleep the timeout for screen switch-off is reset as well. I will check with the KDE developers to see if this is intended behavior. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|