| Summary: | Lockscreen blocks Suspend (detrimental TDEpowersave / Screensaver interaction) | ||
|---|---|---|---|
| Product: | TDE | Reporter: | ThoMaus <thomas.maus> |
| Component: | tdebase | Assignee: | Michele Calgaro <michele.calgaro> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | bugwatch, hallvor1976, michele.calgaro, slavek.banko, thomas.maus |
| Priority: | P5 | ||
| Version: | R14.1.x [Trinity] | ||
| Hardware: | Other | ||
| OS: | Linux | ||
| Compiler Version: | TDE Version String: | ||
| Application Version: | Application Name: | ||
| Bug Depends on: | |||
| Bug Blocks: | 2575 | ||
|
Description
ThoMaus
2016-02-27 12:37:04 CST
I forgot to mention: "Lock screen before suspend or standby" is active, of course! So, the screen not being locked after "thaw" is in violation of the user setting and expectation, and thus a serious security flaw. I can confirm this bug, actually both bugs :-) I have done several tests on this.
Locking problem
-------------------------
- If no screensaver is used, the "Lock screen before suspend or standby" works as expected.
- If screensaver is used, screensaver's setting for locking ("Require password to stop") are used
Suspend problem
---------------------------
- If on screensaver is used, autosuspend works as expected, although I can see an additional delay of about 30 seconds from the time set in TDEPowersave
- If screensaver is used and "Lock screen before suspend or standby" is disabled, autosuspend works. Anyhow it seems as if when the screensaver kicks in, it reset the autosuspend timer, so the total time required for autosuspend is approximately screensaver timer + autosuspend timer + 30 seconds (I noticed some variations, sometimes it seems to be quicker than the "+30 seconds").
- If screensaver is used and "Lock screen before suspend or standby" is enabled, autosuspend only happens after moving the mouse and unlocking the screen as described from the original report by Thomas.
So the issues are clearly caused by an interference between the screensaver settings and TDE settings.
IMO
Thomas, just for info, would you be able to confirm the same is also happening on your system?
Commit ab959b4 (master) and 6c453ce (r14.0.x) fixes the lock-after-suspend issue. Still working on the timer reset one. Commit d67bc99 (master) and bcf8fa0 (r14.0.x) solves the problem with the timer when the screensaver is also used. *** Bug 2412 has been marked as a duplicate of this bug. *** |