I've narrowed down the issue to indicator-session and every other manual method
of suspending/hibernating that does not use the sleep hotkey bypassing
gnome-power-manager when suspending or hibernating the system, since they all
now talk to DeviceKit-Power directly.

As Chris Coulson mentioned in IRC, what's needed is for DeviceKit-Power to
provide signal hooks for entering/exiting sleep/hibernate state, so that
gnome-screensaver and network-manager among other applications can hook onto
these signals and perform anything necessary (in gnome-screensaver's case,
locking the screen for suspend and showing the dialog upon resume).

>From what I can see, this is a summary of what needs to be done is order:
* devkit-power needs to grow support for the required signals
* gnome-screensaver needs to hook onto these signals once they have been added
* gnome-power-manager and every other rdep of devkit-power that plays around
with the screensaver needs to be amended to drop the repeated code.

  affects ubuntu/devicekit-power
  status confirmed
  affects ubuntu/gnome-screensaver
  status confirmed
  affects ubuntu/indicator-session
  status confirmed

-- 
Kind regards,
Chow Loong Jin (GPG: 0x8F02A411)
Ubuntu Contributing Developer


** Also affects: devicekit-power (Ubuntu)
   Importance: Undecided
       Status: Confirmed

** Also affects: gnome-screensaver (Ubuntu)
   Importance: Undecided
       Status: Confirmed

** Also affects: indicator-session (Ubuntu)
   Importance: Undecided
       Status: Confirmed

-- 
Unlock screen not shown when resuming from standby or hibernation
https://bugs.launchpad.net/bugs/509660
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-screensaver in ubuntu.

-- 
desktop-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to