Suspending and hibernating does not work when launched from Do

Bug #531568 reported by Asif Youssuff
218
This bug affects 38 people
Affects Status Importance Assigned to Milestone
Do Plugins
Fix Released
Low
Robert Dyer
gnome-do (Ubuntu)
Invalid
Undecided
Unassigned
Lucid
Invalid
Undecided
Unassigned
Maverick
Invalid
Undecided
Unassigned
gnome-do-plugins (Ubuntu)
Fix Released
Medium
Unassigned
Lucid
Won't Fix
Medium
Unassigned
Maverick
Invalid
Medium
Unassigned

Bug Description

Binary package hint: gnome-do

This is a new issue with Lucid. Worked fine in Karmic.

Steps to reproduce

1. Launch Do.
2. Do super space
3. Enter hibernate or suspend
4. hit enter

What happens

Nothing

Expected result

System suspends or hibernates.

Suspending and hibernating works fine when using the gnome panel applet supplied by ubuntu (Indicator Applet Session 0.3.2).

== Regression details ==
Discovered in version: gnome-do-plugins | 0.8.2.1+dfsg-2ubuntu1
Last known good version: gnome-do-plugins | 0.8.2.1+dfsg-1~ubuntu2

ProblemType: Bug
Architecture: amd64
CheckboxSubmission: b5741632ce80140fe62dfd1ff63467c7
CheckboxSystem: 55ba142b3b792c71cc61171c782c3b13
Date: Wed Mar 3 14:53:20 2010
DistroRelease: Ubuntu 10.04
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha amd64 (20091209)
Package: gnome-do 0.8.3.1+dfsg-1
ProcEnviron:
 PATH=(custom, user)
 LANG=C
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-15.22-generic
SourcePackage: gnome-do
Uname: Linux 2.6.32-15-generic x86_64

Revision history for this message
Asif Youssuff (yoasif) wrote :
Revision history for this message
Chris Halse Rogers (raof) wrote : Re: [Bug 531568] Re: Suspending and hibernating does not work when launched from Do

 affects ubuntu/gnome-do-plugins
 status confirmed
 importance medium
 assign raof
 affects ubuntu/gnome-do
 status invalid

Ok, so this is probably due to the GNOME Session plugin being outdated
and not compatible with Lucid's GNOME power management system.

I'll take a look.

Changed in gnome-do (Ubuntu):
status: New → Invalid
Revision history for this message
Johannes Mockenhaupt (mockenh-deactivatedaccount) wrote :

Devicekit-power has been renamed to UPower. Devicekit was used in karmic to initiate suspend and hibernate but is now only available as UPower. I toke a try at adding support for UPower but I ran out of time testing it - I don't do C# mainly so I haven't set up a proper dev enviroment for it yet. However, I'll attach the patch I've created, and maybe Chris can take it from there.

James Troup (elmo)
tags: added: regression-potential
tags: added: patch-needswork
Revision history for this message
Johannes Mockenhaupt (mockenh-deactivatedaccount) wrote :

I found some time to test my patch, but not only is this patch made against trunk, which is obviously wrong when filing against a Ubuntu package, but also after adapting the patch it doesn't work. So please ignore it and sorry for the noise.

Revision history for this message
Paul Bourke (pauldbourke) wrote :

This affects me also, I used this Do plugin multiple times a day, after upgrading to Lucid and finding its broken, Im not sure what Im going to do :(

Any further word on a patch?

Revision history for this message
zfjagann (zealjagannatha) wrote :

I changed a few lines around in the source for the session-manager plugin. I'm having some compile issues though, I'll work on it and let you know if it works.

Revision history for this message
bryncoles (brunomatti) wrote :

Just want to say I'm hit with this bug too, running a Dell-inspiron 1525n. Previously no problems (under Karmic) with gnome do. Suspend and hibernate both work from the power-manager applet. Shutdown works from gnome-do.

Revision history for this message
Robert Dyer (psybers) wrote :

This bug has already been fixed in trunk.

Changed in do-plugins:
status: New → Fix Committed
assignee: nobody → Robert Dyer (psybers)
importance: Undecided → Low
Revision history for this message
Robert Dyer (psybers) wrote :

Fixed in lp:do-plugins rev 682.

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

It doesn't look like the fix has reach maverick yet. Could you please confirm that.
I'm tagging regression-release for the version in lucid.

Changed in gnome-do-plugins (Ubuntu):
status: Confirmed → Triaged
Changed in gnome-do-plugins (Ubuntu Lucid):
status: Confirmed → Triaged
tags: added: regression-release
Revision history for this message
Martin Polden (martin-polden) wrote :

Looks like this bug is still present in Maverick. Hibernate and suspend commands do not work through gnome-do.
Package versions:
gnome-do 0.8.3.1+dfsg-2ubuntu1
gnome-do-plugins 0.8.2.1+dfsg-2ubuntu1

Revision history for this message
Robert Dyer (psybers) wrote :

The fix is upstream but has not been released in any package.

description: updated
tags: removed: regression-potential
Revision history for this message
Christoph Buchner (bilderbuchi) wrote :

when can we expect a fixed release? the bug has been fixed for half a year! does anyone have a PPA maybe?

Changed in do-plugins:
status: Fix Committed → Fix Released
Revision history for this message
Nixblicker (el-lunatico) wrote :

Any hope to get this fixed in Lucid? Was one of my most frequently used plugins and i am waiting for a fix ever since it first occured in Lucid...

Revision history for this message
sterios prosiniklis (steriosprosiniklis) wrote :

To fix this bug in lucid, use attached Gnome-session.dll
(compiled using the aforementioned patch)
Just replace the file in /usr/lib/gnome-do/plugins

Revision history for this message
Robert Dyer (psybers) wrote :

I highly recommend NOT grabbing random people's pre-compiled binaries. Just grab the source code and compile it yourself - it isn't that hard!

Revision history for this message
sterios prosiniklis (steriosprosiniklis) wrote :

You are right about grabbing pre-compiled binaries, but seems that a lot of people don't share your conviction that "it isn't that hard!"

Revision history for this message
auxbuss (launchpad-auxbuss) wrote :

Fair enough, but do you know why the upstream fix has not rippled through? The fix has been in place for six months now. Is there anything we can do expedite this?

Revision history for this message
Robert Dyer (psybers) wrote :

I believe two things have to happen.

1) an 'upstream' release of Do (this is a general release, bumps the version number) - RAOF just did this recently
2) a 'downstream' package release in Ubuntu - RAOF (I believe, again) did this for Natty which means this update will be in Natty

For older Ubuntus, they are maintenance only. You have to basically backport it. No one wants to do that. :-p

It's all a bit fuzzy to me as I generally let other people handle packaging stuff (RAOF is the guy for Do). But that's my general understanding of it.

Changed in gnome-do-plugins (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
auxbuss (launchpad-auxbuss) wrote :

Robert Dyer wrote: Just grab the source code and compile it yourself - it isn't that hard!

Let's see:

1. googled for ubuntu gnome-do source
2. found it here: https://launchpad.net/ubuntu/maverick/+source/gnome-do
3. extracted the archive
4. cd'd into it
5. ran ./configure, which moaned:
   configure: error: Your intltool is too old. You need intltool 0.35.0 or later.
6. installed package intltool
7. reran ./configure, which moaned about:
   for LIBDO... configure: error: Package requirements (glib-2.0 gdk-2.0 gdk-x11-2.0 gtk+-2.0) were not met:
   followed by a bunch of instructions that mean nothing to me.
   Regarding those packages: glib-2.0: doesn't exist, gdk-2.0: doesn't exist, gdk-x11-2.0: doesn't exist, gtk+-2.0: doesn't exist
8. Checked the following were installed: build-essential automake checkinstall
9. googled around for a bit and randomly decided that installing libgtk2.0-dev might help.
10. Good guess! But now:
    for GCONF_SHARP_20... configure: error: Package requirements (gconf-sharp-2.0) were not met:
11. googled a bit and guessed at installing gnome-sharp2
12. Slam dunk! But now:
    for GLADE_SHARP_20... configure: error: Package requirements (glade-sharp-2.0) were not met:
13. googled quite a bit, and made another random guess at libglade2.0-cil-dev
14. It worked! But now:
    for GNOME_DESKTOP_SHARP_20... configure: error: Package requirements (gnome-desktop-sharp-2.0) were not met:
15. Installed gnome-desktop-sharp2
16. But:
    for GNOME_KEYRING_SHARP... configure: error: Package requirements (gnome-keyring-sharp-1.0) were not met
17. Really bored now. Let's go with a package that has keyring and dev in its name: libgnome-keyring1.0-cil-dev
18. Yeah, yeah. So now what:
    for MONO_ADDINS... configure: error: Package requirements (mono-addins) were not met:
19. mono-addins-utils is not it. Let's try mono-devel. Nope.
20 . Gave up. I have a life.

Revision history for this message
Theodore Lee (sharp-shiny) wrote :

Hmm... it's been a while since I used apt (or Ubuntu for that matter), but I think this might be worth a shot:
$ sudo apt-get build-dep gnome-do gnome-do-plugins

Also, I'm pretty sure you'll need both Do and the main plugins package for this, so you might want to grab the latest source straight from the main project pages:
https://launchpad.net/do/+download
https://launchpad.net/do-plugins/+download

dino99 (9d9)
Changed in gnome-do-plugins (Ubuntu Maverick):
status: Triaged → Invalid
Revision history for this message
Rolf Leggewie (r0lf) wrote :

lucid has seen the end of its life and is no longer receiving any updates. Marking the lucid task for this ticket as "Won't Fix".

Changed in gnome-do-plugins (Ubuntu Lucid):
status: Triaged → Won't Fix
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.