Bug 178436 - screen gets locked after inactivity, nowhere to disable it
Summary: screen gets locked after inactivity, nowhere to disable it
Status: RESOLVED NOT A BUG
Alias: None
Product: solid
Classification: Unmaintained
Component: powermanagement-kcm (other bugs)
Version First Reported In: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Dario Freddi
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-22 09:52 UTC by Michal Svoboda
Modified: 2010-10-02 12:52 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 Michal Svoboda 2008-12-22 09:52:00 UTC
Version:           4.1.85 (using Devel)
Compiler:          gcc version 4.4.0 20081218 (experimental) (GCC)   
OS:                Linux
Installed from:    Compiled sources

My screen gets locked after some inactivity -- possibly at the same time the screen blanks (a feature which is set in xorg.conf, not via any GUI).

The background turns red and a dialog prompting for password appears. The dialog is clearly KDE-made (to rule out any "3rd party" stuff).

I've never used nor wanted this feature. In systemsettings, any screen saver activation, as well as screen locking, is disabled. In previous versions of KDE (4.0.x), the screen did not lock.
Comment 1 FiNeX 2008-12-22 11:14:30 UTC
You can configure it:
  system settings -> advanced -> power management
Comment 2 Michal Svoboda 2008-12-22 18:19:23 UTC
If you mean the 'lock screen on resume', I don't think this hint applies.

1) it's meant to lock on resume (ie. from the acpi power saving modes), not after screen saver is interrupted -- the tool tip says this as well
2) it does not work anyway (still experiencing locks)

To make things worse, the red lock screen appears even when other inactivity functions are disabled (screensaver, dpms, eg. during movie playback)
Comment 3 Michal Svoboda 2008-12-23 08:23:58 UTC
This problem is certainly screensaver related.

1) The 'red' screen comes from the blank screen screensaver (i don't know if that's the default or not)

2) The blank screen screensaver is the only one that I have in the menu (I don't have xscreensaver or kdeartwork)

3) I've tried some logical combinations of the checkboxes - [x] activate automatically and [ ] password prompt; and [ ] activate automatically. In both cases, the screen saver DOES activate and DOES require password

4) The only thing that does have some influence is the timeout. I've set it to 999 minutes in hope to make it go away, but the screensaver kicked in after about 20 mins (yes, that sounds crazy, but that's what happened)

5) The screensaver DOES activate even during movie playback (when DPMS is off) and thus is highly annoying
Comment 4 simon 2008-12-23 14:55:08 UTC
i have the same behaviour, am away from my box though -

read somewhere that this is some powermanagement stuff (Settings->Advanced->Power Management) related with enabling PowerDevilDaemon 
Comment 5 FiNeX 2008-12-23 15:19:15 UTC
From
  Settings->Advanced->Power Management
you can set, for each profile, how the power management should behave.
Per default when you're using AC power, the "performance" profile is enabled. The performance profile use the "lock screen" action on "When the system is idele for more than 15 min".
The screesaver is called from powerdevil.
Comment 6 Georg Wittenburg 2009-01-03 12:58:26 UTC
I'm seeing the same behavior in 4.1.86 (using unofficial Debian packages from kde42.debian.net version 4:4.1.86+svn902586-0r1). It really confused me when I upgraded to 4.2 beta and this happened for the first time.

FiNeX, I'd like to ask you to please reconsider closing this bug as invalid.

Rationale:
1) The behavior as perceived by the user matches the one of a screensaver set to lock the screen. It is not intuitive that it can be disabled somewhere else. It will seem to many users as if the screensaver configuration dialog is broken.
2) PowerDevil does not interact nicely with video playback, e.g. even when the computer is plugged-in the screen will either get locked after 15 mins or go black due to display power management after 20 mins.

Possible solutions:
1) In the performance profile, change the default setting for action to be taken when the system is detected to be idle to "Do Nothing".
2) If possible, hook into the same mechanism that disables screensavers during video playback and switch to the Presentation profile.

Given the usability problems with the current solution, please reopen this bug. Thanks for your work!
Comment 7 FiNeX 2009-01-03 14:54:51 UTC
@George: I agree with you, powerdevil settings are not intuitive, and default setting could be troublesome for a lot of users.

I suggest you to create a new WISH asking for a more reasonable default setting (and add a reference to this bug).

About the problem of the video playback, it has been reported for dragonplayer (bug #178657), but I don't know if it is enough.
Comment 8 Georg Wittenburg 2009-01-03 16:57:20 UTC
(In reply to comment #7)
> @George: I agree with you, powerdevil settings are not intuitive, and default
> setting could be troublesome for a lot of users.
> 
> I suggest you to create a new WISH asking for a more reasonable default setting
> (and add a reference to this bug).

The wish is at http://bugs.kde.org/show_bug.cgi?id=179497.


> About the problem of the video playback, it has been reported for dragonplayer
> (bug #178657), but I don't know if it is enough.

I've added a comment over there pointing to this bug.

Thanks for your help.