Bug 316921 - Screenlocker password not enforced on sleep-resume if screen-saver previously active
Summary: Screenlocker password not enforced on sleep-resume if screen-saver previously...
Status: RESOLVED WORKSFORME
Alias: None
Product: ksmserver
Classification: Unmaintained
Component: general (other bugs)
Version First Reported In: 4.10.1
Platform: openSUSE Linux
: NOR major
Target Milestone: ---
Assignee: Lubos Lunak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-17 17:06 UTC by Amos Kariuki
Modified: 2023-02-01 05:04 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Amos Kariuki 2013-03-17 17:06:14 UTC
If the Advanced Power Management (APM) settings are configured to lock the screen on resume, and the system goes to sleep while the screen-saver is enabled (without the password requirement), the password prompt will be ignored once the system is started back again -- the user will be able tho resume without having to enter a password.

Background: I noticed the password prompt on my laptop would sometimes not get enforced when resuming from sleep mode.

Reproducible: Always

Steps to Reproduce:
(Scree-saver and sleep durations adjusted to make it easier to reproduce)

1. Open the "Screen Locker" KCM and set it to start automatically after 1 minute with the password requirement disabled. (Tested with "Simple locker" and/or "Screen saver" option)
2. Open the "Advanced Setting" KCM  and check/set the "Lock on resume" option.
3. Open the "Energy Savings" KCM and set it to "Suspend Session" after 2 minutes using "Sleep".
4. Wait idly for a minute for the screen locker/saver to kick in, and another minute for the system to go into sleep mode (suspended-to-ram).
5. Once the system is in sleep mode, power it back up. Ideally, it should prompt to for a password since you had the "lock on resume option" set.
Actual Results:  
The system resumes with the Screenlocker window displayed (prompting for a password); however, pressing any key or moving the mouse causes the desktop to be displayed bypassing the password requirement.

Expected Results:  
On resume, the user should be required to enter the password before the desktop session is displayed.

It seems like the screen-saver settings invalidly override and disable the APM requirement to lock the screen on resume.
Comment 1 Andrew Crouthamel 2018-11-10 03:19:29 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 2 Andrew Crouthamel 2018-11-20 04:10:47 UTC
Dear Bug Submitter,

This is a reminder that this bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? This bug will be moved back to REPORTED Status for manual review later, which may take a while. If you are able to, please lend us a hand.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Justin Zobel 2023-01-02 02:04:25 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 4 Bug Janitor Service 2023-01-17 05:15:29 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 Bug Janitor Service 2023-02-01 05:04:59 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now 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

Thank you for helping us make KDE software even better for everyone!