By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.
Bug 2638 - screen saver & TDEpowersave ignore certain user time settings
Summary: screen saver & TDEpowersave ignore certain user time settings
Status: RESOLVED DUPLICATE of bug 2603
Alias: None
Product: TDE
Classification: Unclassified
Component: tdebase (show other bugs)
Version: R14.1.x [Trinity]
Hardware: Other Linux
: P5 major
Assignee: Timothy Pearson
URL:
Depends on:
Blocks: R14.0.5
  Show dependency treegraph
 
Reported: 2016-04-19 13:19 CDT by ThoMaus
Modified: 2018-05-06 15:56 CDT (History)
5 users (show)

See Also:
Compiler Version:
TDE Version String:
Application Version:
Application Name:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ThoMaus 2016-04-19 13:19:49 CDT
The config:
* 34 minutes till screen-saver starts
* +1 minutes till screen lock kicks in
* 90 minutes till system-standby (suspend2RAM)

Observed behavior:
* screen locked after 15 minutes (and a few seconds, varying)
* system suspends to RAM after ~60 minutes

Expected behavior:
* do what was configured, §/%§)$&!

(I'm under more and more the impression that the whole screen+power-saving code is quite f***ed up and cannot be relied on ... -- actually a show-stopper IMHO)
Comment 1 Michele Calgaro 2016-04-21 01:59:23 CDT
Hi Thomas,
could you post a screenshot of tdepowersave settings and one for the tde screensaver settings in the TDE control center? 
I would like to try to simulate the bug and work on it.
By the way, is this for R14.1.x or for R14.0.3?
Thanks
Comment 2 ThoMaus 2016-06-12 12:08:10 CDT
(In reply to Michele Calgaro from comment #1)
> Hi Thomas,
> could you post a screenshot of tdepowersave settings and one for the tde
> screensaver settings in the TDE control center? 

I'll give you the specific config file (sections):

from 'kdesktoprc' the ScreenSaver section:
---8<-----------------------------------------
[ScreenSaver]
DelaySaverStart=true
Enabled=true
HideActiveWindowsFromSaver=true
HideCancelButton=false
Lock=true
LockGrace=60000
Saver=KBlankscreen.desktop
Timeout=2040
UseTDESAK=true
UseUnmanagedLockWindows=false
VibrateUnlock=true
---8<-----------------------------------------

the complete 'tdepowersaverc' -- the system is running in 'Performance' mode:
---8<-----------------------------------------
[Acoustic]
autoInactiveAction=Suspend to RAM
autoInactiveActionAfter=99
autoSuspend=true
blankSs=false
brightnessPercent=80
disableNotifications=false
specSsSettings=false

[General]
ActionOnLidClose=SUSPEND2RAM
ActionOnPowerButton=LOGOUT_DIALOG
AlreadyStarted=true
batteryCritical=3
batteryCriticalAction=SUSPEND2DISK
batteryWarningAction=CPUFREQ_POWERSAVE

[Performance]
autoDimm=true
autoDimmAfter=15
autoInactiveAction=Suspend to RAM
autoInactiveActionAfter=99
autoSuspend=true
blankSs=false
brightnessPercent=90
cpuFreqPolicy=PERFORMANCE
disableNotifications=false
disableSs=false
powerOffAfter=45
standbyAfter=15
suspendAfter=30

[Powersave]
autoDimmSchemeBlacklistEnabled=false
autoInactiveAction=Suspend to RAM
autoInactiveActionAfter=15
autoSuspend=true
brightnessPercent=60
cpuFreqPolicy=POWERSAVE
disableNotifications=false

[Presentation]
blankSs=false
cpuFreqPolicy=PERFORMANCE
disableNotifications=false
---8<-----------------------------------------

> I would like to try to simulate the bug and work on it.
> By the way, is this for R14.1.x or for R14.0.3?

The report is for the most current version available in the recommended repository for OpenSuSE Tumbleweed, i.e. R14.0.3.

If you can point me to a more leading edge repository I'll test more recent versions.

Cheers!
Comment 3 deloptes 2016-06-13 02:48:09 CDT
On debian R14.0.3, not using suspend2disk, everything else is working as expected.
There was something related to upower 0.99 and dbus interface. Not sure if that changed recently in debian.

I hope this helps
Comment 4 Michele Calgaro 2018-05-06 15:56:56 CDT
TDEPowersave logic was pretty buggy before R14.0.4, especially the part regarding timers and action. Quite a bit of work went into it in bugs 2412, 2599, 2603 and 2632, especially bug 2603.
I have tried to replicate the problem again on buster/R14.1-dev, both using the exact settings provided in comment 2 and several other arbitrary settings. I have never run into any problem or unexpected actions after R14.0.4.

Since I believe the cause of the problem was fixed in bug 2603 and everything seems to be working fine, I am closing this bug.
Feel free to reopen it if you run into any problem, and in that case please provide a mean to reproduce it.

*** This bug has been marked as a duplicate of bug 2603 ***