After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 661017 - backlight stays on when screen is manually locked
backlight stays on when screen is manually locked
Status: RESOLVED FIXED
Product: gnome-settings-daemon
Classification: Core
Component: power
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Richard Hughes
gnome-settings-daemon-maint
: 643889 674524 685853 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2011-10-05 19:41 UTC by William Jon McCann
Modified: 2013-01-17 14:07 UTC
See Also:
GNOME target: 3.8
GNOME version: ---



Description William Jon McCann 2011-10-05 19:41:54 UTC
When I lock the screen manually the backlight doesn't turn off.
Comment 1 Richard Hughes 2011-10-06 08:19:23 UTC
It will do, after the normal backlight dpms interval. What were you expecting to happen?
Comment 2 William Jon McCann 2011-10-06 12:32:06 UTC
Expected the backlight to go off immediately. There is no point in having it on.

Furthermore, when I do interact with the system again to bring up the unlock dialog the backlight should go off again after a short time (shorter than the normal backlight dpms interval).
Comment 3 Richard Hughes 2011-10-06 13:51:30 UTC
(In reply to comment #2)
> Expected the backlight to go off immediately. There is no point in having it
> on.

Immediately, or after a second or so?

> Furthermore, when I do interact with the system again to bring up the unlock
> dialog the backlight should go off again after a short time (shorter than the
> normal backlight dpms interval).

What timeout value do you think should be used when locked? Should the screen still turn off if the user has specified "never" in the preferences?
Comment 4 Bastien Nocera 2012-10-10 08:54:52 UTC
*** Bug 674524 has been marked as a duplicate of this bug. ***
Comment 5 Bastien Nocera 2012-10-10 08:55:04 UTC
*** Bug 685853 has been marked as a duplicate of this bug. ***
Comment 6 Matthias Clasen 2012-10-10 10:29:57 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > Expected the backlight to go off immediately. There is no point in having it
> > on.
> 
> Immediately, or after a second or so?
> 
> > Furthermore, when I do interact with the system again to bring up the unlock
> > dialog the backlight should go off again after a short time (shorter than the
> > normal backlight dpms interval).
> 
> What timeout value do you think should be used when locked? Should the screen
> still turn off if the user has specified "never" in the preferences?

We don't need a preference for this, I don't think.  When the screen is locked, turn it off after a short time. Less than 10 seconds, is what was said in https://live.gnome.org/Boston2012/Multimonitor
Comment 7 Allan Day 2012-10-25 09:41:14 UTC
(In reply to comment #6)
> We don't need a preference for this, I don't think.  When the screen is locked,
> turn it off after a short time. Less than 10 seconds, is what was said in
> https://live.gnome.org/Boston2012/Multimonitor

Except that we do have a preference for screen blanking, so it would be strange not to honour that.

My current thinking is to combine the dim screen and screen blank settings into a single "Screen Power Saving" switch. When enabled, this will automatically dim and blank the screen, but can also take the current situation into account (eg. don't need to dim the screen if on battery, can be more aggressive when power is low).
Comment 8 Allan Day 2012-10-25 09:45:09 UTC
(In reply to comment #7)

Apologies - I thought this was about screen blanking rather than the backlight. Ignore me.
Comment 9 Matthias Clasen 2012-12-05 01:12:59 UTC
This should be addressed as part of implementing 'smart behaviour' for the 'screen power saving' option in the new power panel.
Comment 10 Bastien Nocera 2013-01-17 14:07:02 UTC
commit a52d3652207238af3e746fc959a285c9bf23cbfd
Author: Matthias Clasen <mclasen@redhat.com>
Date:   Fri Jan 11 23:22:02 2013 -0500

    power: Aggressive blank timeout when the shield is down
    
    When the screen shield is down (as indicated by the screensaver
    being active), blank the screen more aggressively, to conserve
    power. To not contribute to the over-configurability of the
    power plugin, the timeout value of 30 seconds is fixed.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=691002
Comment 11 Bastien Nocera 2013-01-17 14:07:27 UTC
*** Bug 643889 has been marked as a duplicate of this bug. ***