indicator-session executes another suspend procedure than gnome-power-manager
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Session Menu |
Fix Released
|
Medium
|
Ted Gould | ||
indicator-session (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Binary package hint: indicator-session
indicator-session (0.1.5-0ubuntu1) included:
* Better locking of the screensaver (LP: #428115)
which does partly what the gpm_control_
My observation is that when I press the suspend key, gpm does the job, and screen is locked. When I use the indicator-session, I don't see if the screensaver has started, and it is not there on resume (this is already reported, like in bug 428115).
I would think the ideal way is that everything follows the same path as much as possible, so that one piece is responsible for doing the whole procedure right in all situations. So for instance indicator-session would tell gpm to run its suspend procedure.
ProblemType: Bug
Architecture: i386
Date: Tue Oct 6 23:27:47 2009
DistroRelease: Ubuntu 9.10
Package: indicator-session 0.1.6-0ubuntu1
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: indicator-session
Uname: Linux 2.6.31-12-generic i686
Related branches
- Neil J. Patel (community): Approve
-
Diff: 770 lines5 files modifiedsrc/Makefile.am (+11/-2)
src/lock-helper.c (+326/-0)
src/lock-helper.h (+37/-0)
src/session-service.c (+17/-124)
src/users-service.c (+11/-128)
description: | updated |
Changed in indicator-session: | |
status: | New → In Progress |
importance: | Undecided → Medium |
assignee: | nobody → Ted Gould (ted) |
milestone: | none → 0.1.7 |
Changed in indicator-session: | |
status: | In Progress → Fix Committed |
Changed in indicator-session (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in indicator-session: | |
status: | Fix Committed → Fix Released |
Changed in indicator-session (Ubuntu): | |
status: | Triaged → Fix Released |
In particular I am looking at gpm_screensaver _lock() in src/gpm- screensaver. c vs lock_screen() in src/session- service. c