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 646238 - Lock only in response to upower
Lock only in response to upower
Status: RESOLVED OBSOLETE
Product: gnome-power-manager
Classification: Deprecated
Component: general
2.32.x
Other Linux
: Normal normal
: ---
Assigned To: GNOME Power Manager Maintainer(s)
GNOME Power Manager Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2011-03-30 14:54 UTC by Michael Terry
Modified: 2020-11-06 20:13 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Lock screen when upower signals (8.92 KB, patch)
2011-03-30 14:54 UTC, Michael Terry
none Details | Review

Description Michael Terry 2011-03-30 14:54:08 UTC
Created attachment 184698 [details] [review]
Lock screen when upower signals

Currently, g-p-m locks the screen when it triggers a suspend or hibernate, as appropriate.  But sleeps initiated outside of g-p-m do not have correct locking, because g-p-m doesn't notice.  I would argue that it should lock in reply to the Sleeping signal from upower, so that it will catch all suspensions.

There's a downstream Ubuntu bug about this that I will link.

Now, the Sleeping signal does not currently have enough information to tell g-p-m whether it is a suspend or hibernate.  I filed https://bugs.freedesktop.org/show_bug.cgi?id=35797 about that.

Assuming that patch is accepted, or something like it, here's a patch against g-p-m by Phillip Susi to respond to the signal.
Comment 1 André Klapper 2020-11-06 20:13:54 UTC
bugzilla.gnome.org is being replaced by gitlab.gnome.org. We are closing all old bug reports in Bugzilla which have not seen updates for many years.

If you can still reproduce this issue in a currently supported version of GNOME (currently that would be 3.38), then please feel free to report it at https://gitlab.gnome.org/GNOME/gnome-power-manager/-/issues/

Thank you for reporting this issue and we are sorry it could not be fixed.