Bug 462313 - Screen isn't locked automatically after the set time span of inactivity
Summary: Screen isn't locked automatically after the set time span of inactivity
Status: RESOLVED FIXED
Alias: None
Product: kscreenlocker
Classification: Plasma
Component: general (show other bugs)
Version: 5.26.4
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-27 13:52 UTC by Firlaev-Hans
Modified: 2023-05-21 16:24 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Firlaev-Hans 2022-11-27 13:52:21 UTC
SUMMARY
This bug was introduced in 5.26, I believe. The screen locker can be activated manually with a shortcut, and it also comes on when waking the system from sleep.
However, the screen is never locked automatically due to inactivity. On my system the timeout is set to 5 minutes (I have tried changing it, no difference), but even more than half an hour later I came back to my screen still being unlocked.
After some time, the screen actually does turn off, but when I wiggle the mouse, it still comes back with no lock screen.
The journal doesn't indicate any error.

STEPS TO REPRODUCE
1. Make sure to set the screen locker to turn on automatically after some amount of time in "Workspace Behaviour > Lock screen"
2. Leave the computer for that amount of time without giving any input.

OBSERVED RESULT
The lock screen never appears

EXPECTED RESULT
The lock screen should appear

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 37
KDE Plasma Version: 5.26.3
KDE Frameworks Version: 5.100.0
Qt Version: 5.15.7
Kernel Version: 6.0.9-300.fc37.x86_64 (64-bit)
Graphics Platform: Wayland
System Version: Lenovo IdeaPad C340-14API
Comment 1 Nate Graham 2022-11-30 21:00:13 UTC
Can you paste the contents of the following files?

~/.config/kscreenlockerrc

/etc/xdg/kscreenlockerrc
Comment 2 Firlaev-Hans 2022-11-30 21:14:00 UTC
(In reply to Nate Graham from comment #1)
> Can you paste the contents of the following files?
> 
> ~/.config/kscreenlockerrc
> 
> /etc/xdg/kscreenlockerrc

The latter does not exist.  The content of the local file in .config is:
>[$Version]
>update_info=kscreenlocker.upd:0.1-autolock
>
>[Daemon]
>Timeout=1
Removing / regenerating this file made absolutely no difference.
Comment 3 Tobias Fella 2022-12-01 22:14:02 UTC
Sorry, i misconfigured something and can't reproduce after all
Comment 4 Bug Janitor Service 2022-12-16 05:15:40 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Firlaev-Hans 2023-05-21 16:24:20 UTC
Marking this as fixed for now as I haven't been able to reproduce this issue recently.