Suspend does not work (again) in Gnome-shell

Bug #1062541 reported by Antoine-terracol
76
This bug affects 14 people
Affects Status Importance Assigned to Milestone
gnome-shell-extensions (Ubuntu)
Fix Released
Medium
Unassigned
Saucy
Fix Released
Medium
Unassigned

Bug Description

In Quantal, clicking suspend in the user menu does nothing. The bug has previously been reported (see bug #1057960), but since it has been marked as fixed I'm opening a new one because the bug has reappeared.

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: gnome-shell 3.6.0-0ubuntu2
ProcVersionSignature: Ubuntu 3.5.0-16.25-generic 3.5.4
Uname: Linux 3.5.0-16-generic i686
ApportVersion: 2.6.1-0ubuntu1
Architecture: i386
Date: Fri Oct 5 22:33:06 2012
GsettingsChanges:
 b'org.gnome.desktop.interface' b'buttons-have-icons' b'true'
 b'org.gnome.desktop.interface' b'clock-show-date' b'true'
 b'org.gnome.desktop.interface' b'menus-have-icons' b'true'
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
SourcePackage: gnome-shell
UpgradeStatus: Upgraded to quantal on 2012-09-22 (13 days ago)

Revision history for this message
Antoine-terracol (antoine-terracol) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnome-shell (Ubuntu):
status: New → Confirmed
Revision history for this message
Tim Lunn (darkxst) wrote :

Do you get any error messages when trying to suspend in either of the following log files?

~/.cache/gdm/session.log (if you are running gdm)
~/.xsession-errors (if you are running lightdm)

Revision history for this message
Antoine-terracol (antoine-terracol) wrote :

This is what I get in ~/.xsession-errors

     JS ERROR: !!! Exception in callback for signal: activate
    JS ERROR: !!! message = '"this._screenSaverProxy is undefined"'
    JS ERROR: !!! fileName = '"/home/antoine<email address hidden>/extension.js"'
    JS ERROR: !!! lineNumber = '32'
    JS ERROR: !!! stack = '"onSuspendActivate([object Object],[object _private_Clutter_Event])@/home/antoine<email address hidden>/extension.js:32
_emit("activate",[object _private_Clutter_Event])@/usr/share/gjs-1.0/signals.js:124
([object _private_Clutter_Event])@/usr/share/gnome-shell/js/ui/popupMenu.js:113
wrapper([object _private_Clutter_Event])@/usr/share/gjs-1.0/lang.js:204
([object _private_Shell_GenericContainer],[object _private_Clutter_Event])@/usr/share/gnome-shell/js/ui/popupMenu.js:86
wrapper([object _private_Shell_GenericContainer],[object _private_Clutter_Event])@/usr/share/gjs-1.0/lang.js:204
"'

Revision history for this message
Jeremy Bícha (jbicha) wrote :

Antoine, do you have a laptop? Does closing the lid work to suspend?

If so, I believe this is a bug in the alternative-status-menu extension and I can duplicate it here.

affects: gnome-shell (Ubuntu) → gnome-shell-extensions (Ubuntu)
Revision history for this message
Antoine-terracol (antoine-terracol) wrote :

Indeed suspend works when closing the lid. Also, it seems that it is indeed a bug in the alternative-status extension as uninstalling it solves the bug.

Revision history for this message
Tim Lunn (darkxst) wrote :

alternative-status-menu needs to be updated to use the screenShield for Lock, I suggest you file a bug report via https://extensions.gnome.org/ for this.

Revision history for this message
Tim Lunn (darkxst) wrote :

this has been fixed upstream http://git.gnome.org/browse/gnome-shell-extensions/patch/?id=fa2840aee3b6167b48d67e0df7a5907a838b7790

However, its important to not that this will require a patch similar to Bug 1063110, when adding it to the ubuntu pacakge

Revision history for this message
Everaldo Canuto (ecanuto) wrote :

I don't have the suspend button on my menu. Is it normal?

Revision history for this message
Jeremy Bícha (jbicha) wrote :

This is fixed for Ubuntu 13.10 Alpha. Someone will need to follow the procedure at https://wiki.ubuntu.com/StableReleaseUpdates to either backport the commit to Ubuntu 12.10 and 13.04 or update gnome-shell-extensions from 3.6.0 to 3.6.2 there.

Changed in gnome-shell-extensions (Ubuntu):
status: Confirmed → Triaged
importance: Undecided → Medium
Changed in gnome-shell-extensions (Ubuntu Raring):
status: New → Triaged
importance: Undecided → Medium
Changed in gnome-shell-extensions (Ubuntu):
status: Triaged → Fix Released
Changed in gnome-shell-extensions (Ubuntu Quantal):
status: New → Triaged
importance: Undecided → Medium
no longer affects: gnome-shell-extensions (Ubuntu Quantal)
no longer affects: gnome-shell-extensions (Ubuntu Raring)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.