Power Manager plugin prevents Suspend when not playing music

Bug #282326 reported by Seth Randall
8
Affects Status Importance Assigned to Milestone
rhythmbox (Ubuntu)
Fix Released
Low
Ubuntu Desktop Bugs

Bug Description

Binary package hint: rhythmbox

The Power Manager plugin will prevent my laptop from suspending even if there is no music playing.

Steps to reproduce:
1. Start Rhythmbox
2. Verify Power Manager plugin is enabled
3. Play a song and stop it or wait for it to finish
4. Try to Suspend

Revision history for this message
Seth Randall (sethrandall) wrote :

I forgot to mention, I'm currently running the Intrepid beta.

Revision history for this message
Andy Buckley (andy-insectnation) wrote :

I can verify this. When Rhythmbox is closed, if I try to hibernate or suspend, I get a notification dialog which says:

"Request to do policy action: Music Player has stopped the policy action from taking place: Playing"

It doesn't time-out... I left my laptop overnight in this state in the hope that a lock-file or similar would be cleared, but in the morning I still got the same blocking dialog.

In some cases, it says "Multiple applications have stopped...", and then lists "Music player" twice, but I think this may be related to a RB bug when using the music time-slider in cross-fade mode.

I'm using Intrepid, with all recent updates installed.

Revision history for this message
Schelfhout (schelf404) wrote :

I was able to reproduce it on 8.10 with Rhythmbox 0.11.6svn20081008ubuntu4.2
In Rhythmbox go to Edit -> Preferences.
Tab Playback, select crossfading backend
If you then try to suspend, without music playing, you get the error mentioned.

Revision history for this message
Schelfhout (schelf404) wrote :

Tried to see if the power plugin is causing it. So did as follows:
Disabled the plugin, quit Rhythmbox
Restarted Rhythmbox and enabled plugin.
Now suspend is working normally again. so no more error.

So to summarize:
Power manager plugin is enabled.
Changed playback to crossfade,
error when trying to suspend.
Disable/enable powermanager plugin,
no more error on suspend.

Revision history for this message
Schelfhout (schelf404) wrote :

Can somebody who has this bug please provide debugging info?
- run rhythmbox from the terminal with rhythmbox -d
- reproduce the error
- paste the output from the terminal here.
Thank you!

Changed in rhythmbox:
status: New → Incomplete
Revision history for this message
Pedro Villavicencio (pedro) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to New. Thanks again!.

Changed in rhythmbox:
status: Incomplete → Invalid
Revision history for this message
Seth Randall (sethrandall) wrote :

Here's the output from rhythmbox -d. Note at the end where it stops playing the song and the counter thread keeps going. In the middle of the post song counter thread is where I tried to suspend the laptop. I got a notification saying it couldn't because Rhythmbox was playing. The terminal output didn't change when the message was displayed.

Changed in rhythmbox:
status: Invalid → New
Revision history for this message
Marlin Forbes (datashaman) wrote :

The player thinks it's still playing once it reaches the end of a playlist. Evince of this is the pushed in state of the play button. I'm on the latest Intrepid-proposed release. Changing the state to not playing when the playlist ends shoudl go some way to solving the issue.

Another option (the better one) is to have an option in setting somewhere where we can decide if we want suspension to be stopped if the player is playing.

Most of the time, I don't care if the music's playing and want it to suspend.

Changed in rhythmbox (Ubuntu):
importance: Undecided → Low
Revision history for this message
Andy Buckley (andy-insectnation) wrote :

I just saw this downgraded to "Low Importance"... seriously? It's a bug that means laptops running Ubuntu will refuse to syspend or hibernate because you played some music on it... it's been a serious stability problem for me since I started using Intrepid. Possibly this also has some interaction with the new notifications system, so it would be worth checking it out for Jaunty, IMO.

I second Marlin in saying that I don't care if the music's playing - I want it to suspend. Plenty of the time I put 200 items in my RB playlist, planning to listen to them over a long time; that doesn't mean that I don't want to be able to suspend my computer until I'm done listening to them all!

Revision history for this message
Sebastien Bacher (seb128) wrote :

the plugin is not enabled by default

Revision history for this message
Andy Buckley (andy-insectnation) wrote :

Thanks Sebastien! I must not read the original description properly and thought that "power manager plugin" was referring to the Gnome power manager! didn't even know about the existence of the RB power plugin until you mentioned it, and certainly have no idea how it got enabled... but I was very happy to turn it off! So now I completely agree with the "Low importance" certification - please disregard my earlier comments ;)

Revision history for this message
Victor Vargas (kamus) wrote :

I try to reproduce this steps in ubuntu Jaunty and works fine for me, no error received and I have noticed this plugin is enabled by default. Could you upgrade your system or try to reproduce your problem in newer ubuntu versions?

Regards

Revision history for this message
Seth Randall (sethrandall) wrote :

Updated to Jaunty. The problem appears to have gone away.

Revision history for this message
Sebastien Bacher (seb128) wrote :

closing the bug since that works work now

Changed in rhythmbox (Ubuntu):
assignee: nobody → Ubuntu Desktop Bugs (desktop-bugs)
status: New → Fix Released
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

Bug attachments

Remote bug watches

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