[Bug 1080344] Re: No effect on Suspend and Hibernate buttons in power button shutdown dialog

2012-11-19 Thread Sebastien Bacher
Thank you for your bug report, your description is confusing, could you
write a liner stating the issue?

** Changed in: gnome-settings-daemon (Ubuntu)
   Importance: Undecided = Low

** Changed in: gnome-settings-daemon (Ubuntu)
   Status: New = Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1080344

Title:
  No effect on Suspend and Hibernate buttons in power button shutdown
  dialog

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/1080344/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1080344] Re: No effect on Suspend and Hibernate buttons in power button shutdown dialog

2012-11-19 Thread Corvus Corax
@seb128: I updated the description, is this more clear?

On Unity Desktop, in the popup dialog that appears when the ACPI power
button is pressed, the buttons to suspend and hibernate are non
functional (see screenshot screenshot of dialog in question).

** Description changed:

- When the power button on a laptop is pressed while the unity desktop
- (more specifically gnome-settings-daemon) is running, the ACPI handler
- ignores the event. Instead gnome-settings-daemon brings up a popup to
- ask the user whether he wants to
+ On Unity Desktop, in the popup dialog that appears when the ACPI power
+ button is pressed, the buttons to suspend and hibernate are non
+ functional (see screenshot screenshot of dialog in question).
  
- Suspend
- Restart
- Cancel
- Shutdown
+ Detailed info:
+ 
+ Usually, when the ACPI power button on a laptop is pressed, the ACPI-
+ daemon handles this event and issues a shutdown. However this is not the
+ case when certain GUI's are running (the acpi shutdown handler
+ explicitly checks for the presence of a gnome-settings-daemon process,
+ among others.)
+ 
+ When a user is running the Unity desktop, the process gnome-settings-
+ daemon is running, and shows up a popup.
+ 
+ (see screenshot screenshot of dialog in question)
+ 
+ This popup asks the user whether he wants to
+ 
+ - Suspend
+ - Restart
+ - Cancel
+ - Shutdown
  
  and if the hibernate function has been enabled according to
  http://askubuntu.com/questions/94754/how-to-enable-hibernation
  
  also
  
- Hibernate
+ - Hibernate
  
- if no action is taken, the Shutdown feature is auto-executed abter 60
- seconds.
+ if no action is taken, the dialog executes selects the Shutdown
+ feature after 60 seconds without user interaction.
  
- Of these, only Shutdown and Cancel always have the intended effect,
- where Shutdown invokes a shutdown of the system and Cancel simply
- closes the dialog.
+ Of these buttons only Restart, Shutdown and Cancel have the
+ intended effect,
  
- Restart causes a system restart in about 99% of the cases only,
- however I had seen occasions where only the session got terminated and
- the login screen is presented without an actual reboot taking place!
- (Edit: I can't reproduce that reliably, might be a separate bug)
+ Shutdown invokes a shutdown of the system
+ Cancel simply closes the dialog.
+ Restart causes a system restart
  
- Suspend and Hibernate have NO effect, other than the dialog closes,
- in fact they behave the same as if Cancel has been pressed!
+ However Suspend and Hibernate have the same effect as Cancel. the
+ dialog closes, but the system keeps running.
  
- When Suspend or Hibernate are selected manually in the power menu
- from the Unity desktop, they both work. In fact all options in that menu
- work.
+ (see sreenshot in attachment screenshot of dialog in question)
+ 
+ This bug only affects the Unity desktop.
+ 
+ For example, the corresponding dialog in the ubuntustudio desktop works
+ as expected.
+ 
+ Also if Suspend or Hibernate are selected manually in the power menu
+ from the Unity desktop, they ALSO work as expected. (see screenshot in
+ attachment on this menu everything works)
+ 
  
  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: gnome-settings-daemon 3.4.2-0ubuntu14
  ProcVersionSignature: Ubuntu 3.5.0-18.29-generic 3.5.7
  Uname: Linux 3.5.0-18-generic x86_64
  NonfreeKernelModules: fglrx
  ApportVersion: 2.6.1-0ubuntu6
  Architecture: amd64
  Date: Sun Nov 18 14:09:45 2012
  EcryptfsInUse: Yes
  MarkForUpload: True
  SourcePackage: gnome-settings-daemon
  UpgradeStatus: No upgrade log present (probably fresh install)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1080344

Title:
  No effect on Suspend and Hibernate buttons in power button shutdown
  dialog

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/1080344/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1080344] Re: No effect on Suspend and Hibernate buttons in power button shutdown dialog

2012-11-19 Thread Sebastien Bacher
it is, that seems like bug #1041137 then, can you check if that update
fixes it:

gnome-session (3.6.2-0ubuntu2) raring; urgency=low

  * Add 04_consolekit_init_upower.patch: GsmConsoleKit: Properly initialize
upower client. (LP: #1041137)

(there is a SRU in the queue waiting for review with the fix as well)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1080344

Title:
  No effect on Suspend and Hibernate buttons in power button shutdown
  dialog

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/1080344/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1080344] Re: No effect on Suspend and Hibernate buttons in power button shutdown dialog

2012-11-19 Thread Corvus Corax
@seb128:  Thanks for that link. From reading the description, it does indeed 
look like a duplicate of that bug.
I cannot check wether the update fixes is before wednesday since I don't have 
access to a computer running ubuntu where I am right now. I will provide more 
info when I have tested it.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1080344

Title:
  No effect on Suspend and Hibernate buttons in power button shutdown
  dialog

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/1080344/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1080344] Re: No effect on Suspend and Hibernate buttons in power button shutdown dialog

2012-11-19 Thread Sebastien Bacher
*** This bug is a duplicate of bug 1041137 ***
https://bugs.launchpad.net/bugs/1041137

ok, I'm marking it as duplicate, feel free to undup later if it turns
out to be a different issue and not fixed by the update

** This bug has been marked a duplicate of bug 1041137
   Activating suspend from power button menu does not work

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1080344

Title:
  No effect on Suspend and Hibernate buttons in power button shutdown
  dialog

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/1080344/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1080344] Re: No effect on Suspend and Hibernate buttons in power button shutdown dialog

2012-11-18 Thread Corvus Corax
** Attachment added: on this menu everything works
   
https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/1080344/+attachment/3437508/+files/screenshot2.png

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1080344

Title:
  No effect on Suspend and Hibernate buttons in power button shutdown
  dialog

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/1080344/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1080344] Re: No effect on Suspend and Hibernate buttons in power button shutdown dialog

2012-11-18 Thread Corvus Corax
When running gnome-settings-daemon in debug mode (executed manually with
--debug option) the following line shows up every time the power button
is pressed:

(gnome-settings-daemon:4022): media-keys-plugin-DEBUG: Launching action for key 
type '45' (on device id 6)
(gnome-settings-daemon:4022): media-keys-plugin-DEBUG: Launching action for key 
type '45' (on device id 6)
(gnome-settings-daemon:4022): media-keys-plugin-DEBUG: Launching action for key 
type '45' (on device id 6)
(gnome-settings-daemon:4022): media-keys-plugin-DEBUG: Launching action for key 
type '45' (on device id 6)

no debug info is printed when hitting either suspend, hibernate or
cancel buttons, but the same line shows up if the power button is
pressed again.

I am attaching two logfiles with the debug output of gnome-settings-
daemon invoked with --debug, once with the restart button hit and once
with shutdown

** Attachment added: logfile when restart button is pressed eventually
   
https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/1080344/+attachment/3437509/+files/gsd.debug.restart.log

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1080344

Title:
  No effect on Suspend and Hibernate buttons in power button shutdown
  dialog

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/1080344/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1080344] Re: No effect on Suspend and Hibernate buttons in power button shutdown dialog

2012-11-18 Thread Corvus Corax
** Attachment added: log when shutdown is pressed eventually
   
https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/1080344/+attachment/3437510/+files/gsd.debug.shutdown.log

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1080344

Title:
  No effect on Suspend and Hibernate buttons in power button shutdown
  dialog

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/1080344/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1080344] Re: No effect on Suspend and Hibernate buttons in power button shutdown dialog

2012-11-18 Thread Corvus Corax
additional info:  The following actions work normally on the command
line:

sudo pm-suspend -- suspends the system, wakes up normally
sudo pm-hibernate  -- hibernates the system, wakes up as intended (with a few 
manual tweaks in the initrd image to get it working with encrypted-swap)

pm-is-supported --suspend returns true
pm-is-supported --hibernate returns true
pm-is-supported --suspend-hybrid returns false (but noone uses that anyway)


** Description changed:

  When the power button on a laptop is pressed while the unity desktop
  (more specifically gnome-settings-daemon) is running, the ACPI handler
- ignores the event. Instead gnome-settings-daemon btings up a popup to
+ ignores the event. Instead gnome-settings-daemon brings up a popup to
  ask the user whether he wants to
  
  Suspend
  Restart
  Cancel
  Shutdown
  
  and if the hibernate function has been enabled according to
  http://askubuntu.com/questions/94754/how-to-enable-hibernation
  
  also
  
  Hibernate
  
  if no action is taken, the Shutdown feature is auto-executed abter 60
  seconds.
  
  Of these, only Shutdown and Cancel always have the intended effect,
  where Shutdown invokes a shutdown of the system and Cancel simply
  closes the dialog.
  
  Restart causes a system restart in about 99% of the cases only,
  however I had seen occasions where only the session got terminated and
  the login screen is presented without an actual reboot taking place!
  
  Suspend and Hibernate have NO effect, other than the dialog closes,
  in fact they behave the same as if Cancel has been pressed!
  
- 
- When Suspend or Hibernate are selected manually in the power menu from 
the Unity desktop, they both work. In fact all options in that menu work.
+ When Suspend or Hibernate are selected manually in the power menu
+ from the Unity desktop, they both work. In fact all options in that menu
+ work.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: gnome-settings-daemon 3.4.2-0ubuntu14
  ProcVersionSignature: Ubuntu 3.5.0-18.29-generic 3.5.7
  Uname: Linux 3.5.0-18-generic x86_64
  NonfreeKernelModules: fglrx
  ApportVersion: 2.6.1-0ubuntu6
  Architecture: amd64
  Date: Sun Nov 18 14:09:45 2012
  EcryptfsInUse: Yes
  MarkForUpload: True
  SourcePackage: gnome-settings-daemon
  UpgradeStatus: No upgrade log present (probably fresh install)

** Description changed:

  When the power button on a laptop is pressed while the unity desktop
  (more specifically gnome-settings-daemon) is running, the ACPI handler
  ignores the event. Instead gnome-settings-daemon brings up a popup to
  ask the user whether he wants to
  
  Suspend
  Restart
  Cancel
  Shutdown
  
  and if the hibernate function has been enabled according to
  http://askubuntu.com/questions/94754/how-to-enable-hibernation
  
  also
  
  Hibernate
  
  if no action is taken, the Shutdown feature is auto-executed abter 60
  seconds.
  
  Of these, only Shutdown and Cancel always have the intended effect,
  where Shutdown invokes a shutdown of the system and Cancel simply
  closes the dialog.
  
  Restart causes a system restart in about 99% of the cases only,
  however I had seen occasions where only the session got terminated and
  the login screen is presented without an actual reboot taking place!
+ (Edit: I can't reproduce that reliably, might be a separate bug)
  
  Suspend and Hibernate have NO effect, other than the dialog closes,
  in fact they behave the same as if Cancel has been pressed!
  
  When Suspend or Hibernate are selected manually in the power menu
  from the Unity desktop, they both work. In fact all options in that menu
  work.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: gnome-settings-daemon 3.4.2-0ubuntu14
  ProcVersionSignature: Ubuntu 3.5.0-18.29-generic 3.5.7
  Uname: Linux 3.5.0-18-generic x86_64
  NonfreeKernelModules: fglrx
  ApportVersion: 2.6.1-0ubuntu6
  Architecture: amd64
  Date: Sun Nov 18 14:09:45 2012
  EcryptfsInUse: Yes
  MarkForUpload: True
  SourcePackage: gnome-settings-daemon
  UpgradeStatus: No upgrade log present (probably fresh install)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1080344

Title:
  No effect on Suspend and Hibernate buttons in power button shutdown
  dialog

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/1080344/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs