Rhythmbox stays running in the background after quit

Bug #1754125 reported by James Benton Jr
76
This bug affects 15 people
Affects Status Importance Assigned to Milestone
rhythmbox (Ubuntu)
Triaged
Low
Unassigned

Bug Description

If you do ps -alx you will see rhythmbox process still running. It causes opening rhythmbox to hang when trying to open again

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: rhythmbox 3.4.2-1ubuntu1
ProcVersionSignature: Ubuntu 4.15.0-10.11-generic 4.15.3
Uname: Linux 4.15.0-10-generic x86_64
ApportVersion: 2.20.8-0ubuntu10
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Wed Mar 7 13:21:51 2018
InstallationDate: Installed on 2018-03-07 (0 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Alpha amd64 (20180307)
ProcEnviron:
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: rhythmbox
UpgradeStatus: No upgrade log present (probably fresh install)
XorgLog: Error: [Errno 2] No such file or directory: '/var/log/Xorg.0.log'

Revision history for this message
James Benton Jr (jimben11) wrote :
Revision history for this message
Gustavo Silva (gsilvapt) wrote :

How are you closing RhythmBox? The program is not actually closed if music is playing and you press the X on the top right corner. Usually I had to do CTRL+Q if I wanted to actually shut it down. Can you try this?

Revision history for this message
James Benton Jr (jimben11) wrote : Re: [Bug 1754125] Re: Rhythmbox stays running in the background after quit

I have tried CTRL+Q. Still does not shut down. The only way is to kill the
process.

On Wed, Mar 7, 2018 at 5:30 PM, Gustavo Silva <email address hidden>
wrote:

> How are you closing RhythmBox? The program is not actually closed if
> music is playing and you press the X on the top right corner. Usually I
> had to do CTRL+Q if I wanted to actually shut it down. Can you try this?
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1754125
>
> Title:
> Rhythmbox stays running in the background after quit
>
> Status in rhythmbox package in Ubuntu:
> New
>
> Bug description:
> If you do ps -alx you will see rhythmbox process still running. It
> causes opening rhythmbox to hang when trying to open again
>
> ProblemType: Bug
> DistroRelease: Ubuntu 18.04
> Package: rhythmbox 3.4.2-1ubuntu1
> ProcVersionSignature: Ubuntu 4.15.0-10.11-generic 4.15.3
> Uname: Linux 4.15.0-10-generic x86_64
> ApportVersion: 2.20.8-0ubuntu10
> Architecture: amd64
> CurrentDesktop: ubuntu:GNOME
> Date: Wed Mar 7 13:21:51 2018
> InstallationDate: Installed on 2018-03-07 (0 days ago)
> InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Alpha amd64
> (20180307)
> ProcEnviron:
> PATH=(custom, no user)
> XDG_RUNTIME_DIR=<set>
> LANG=en_US.UTF-8
> SHELL=/bin/bash
> SourcePackage: rhythmbox
> UpgradeStatus: No upgrade log present (probably fresh install)
> XorgLog: Error: [Errno 2] No such file or directory:
> '/var/log/Xorg.0.log'
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/rhythmbox/+bug/
> 1754125/+subscriptions
>

Jeremy Bícha (jbicha)
tags: added: rls-bb-incoming
Revision history for this message
Sebastien Bacher (seb128) wrote :

tagging rls-bb-notfixing, it's not important enough to be milestoned

tags: removed: rls-bb-incoming
tags: added: rls-bb-notfixing
Revision history for this message
Jeremy Bícha (jbicha) wrote :

We decided today that we're going to leave the current behavior for 18.04 LTS.

Changed in rhythmbox (Ubuntu):
importance: Undecided → Low
status: New → Triaged
Revision history for this message
Sebastien Bacher (seb128) wrote :

It does only stay active if it's playing, if you stop the song first and close it then it exits, you can also exit while playing using the file->exit menu entry

Revision history for this message
GNAServicesInc (gnaservicesinc) wrote :

This all comes down to a truly awful and bad patch Ubuntu adds that in effect breaks the program.

It's not upstream, so it's easy to fix

https://packages.ubuntu.com/search?keywords=rhythmbox

Comment out 05_hide_on_quit.patch in the series files

Probably could be setup to build with PPA for a fixed version

Revision history for this message
Julien Olivier (julo) wrote :

This behaviour might me perfect in the default Ubuntu desktop (gnome-shell + Unity plugins), but it's broken if you use upstream gnome-shell because there is no tray to control Rhythmbox from once closed.

I understand that Ubuntu's focus is on the default experience, but I guess it's also important to make it easy to use alternatives (especially when the "alternative" is actually upstream's default). So, wouldn't it be possible to detect whether the desktop has a "tray" (or "indicator" or whatever it's called in Unity), and really quit Rhythmbox on close if it doesn't?

Revision history for this message
Paul White (paulw2u) wrote :

In rhythmbox 3.4.4 there is an additional quickmenu option of 'Stop & Quit'. This version will be in Ubuntu 20.04. Does that addition fix this bug? It works for me but others may disagree.

Revision history for this message
Julien Olivier (julo) wrote :

@Paul White

The problem is that, in gnome-shell, if you close Rhythmbox while music is playing, Rhythmbox's icon simply disappears. So, there is no way to reach this "Stop & Quit" quickmenu option. Unless I'm missing something, of course...

Revision history for this message
Paul White (paulw2u) wrote :

Julien, you are right in that the icon disappears if the program is simply closed with 'Quit'.

However, I have added added rhythmbox to Ubuntu's dock so the icon is always visible. Right-clicking the icon displays "Stop & Quit". However, while the program is running, rather than just 'Quit' you can now 'Stop and Quit' from either the program icon or the icon that appears in the top bar while the program has focus.

The new option in my view fixes the bug that was originally raised in that you can now quit and stop rhythmbox while music is playing, something that couldn't be done in previous releases.

Revision history for this message
Julien Olivier (julo) wrote :

Paul, the "Stop & Quit" action is certainly a plus, but it doesn't solve this precise bug report, as there still is a case where "Rhythmbox stays running in the background after quit" (if you just close the window). I'm not the one to decide whether or not this is the desired behaviour, but I just think that the "Stop & Quit" action is only a workaround for this bug.

Revision history for this message
Jani Uusitalo (uusijani) wrote :

For some of the depressing history of this, see bug #875002 (which has been incorrectly marked as fixed by someone without a clue) from way back in 2011.

Revision history for this message
crvi (crvi) wrote :

"Stop & Quit" might not always work in slow / single core machines.

Issue: https://gitlab.gnome.org/GNOME/glib/-/issues/2284

MR: Please refer https://gitlab.gnome.org/GNOME/rhythmbox/-/merge_requests/88

Revision history for this message
rduke15 (rduke15) wrote :

This is a really ridiculous bug. In Ubuntu 20.04, you close the window, and the music continues playing and there is no way to stop it! There is no tray icon or anything where you can tell it to quit once you have closed the main window.

Workaround for now:

    pkill rhythmbox

or

    Search for rythmbox in "Activities", open it, and then select "Stop & Quit" in the menu.

Note that even "sudo apt purge rhythmbox" doesn't stop it playing !

Revision history for this message
Paul R (riquez) wrote (last edit ):

This is a confusing bug. It appears that the app has quit, but music still plays & it is not obvious how to do anything about it.
I have learned now that you can right click the icon IF you have it in the dock, but why does the icon not show the app running? - without a dot under the icon it looks like the app has correctly quit, but it has not. This is a different behaviour from every other app.

Suggestions: Quit the app completely when you click X. or show the dot on the dock icon if the app is still running.

Revision history for this message
ChrisK5 (chrisk5) wrote (last edit ):

This Bug affects me too. I am using Ubuntu 20.04. LTS

The strange thing is, that quitting Rhythmbox with Ctrl+Q works perfect in my superuser account, which I use for system administration.
But in my standard user account, which I use for internet browsing, etc., I can not quit Rhythmbox with Ctrl+Q. In my standard user account I am facing the same bug as described here.

Apart from such minor bugs, I want to say, that Ubuntu is a great operating system. I really have fun using it !
Keep up the great work Canonical.
I will support you by buying a Ubuntu DVD or USB Stick of the next LTS Version and a donation after the next LTS release.
And thanks to the community for being that great.

Kind regards
ChrisK

Revision history for this message
blaM (stebin) wrote :

After 4 years this bug is still happily alive in 22.04.1 LTS.
Can be set to "won´t fix" right?

Revision history for this message
John Russell (jrussell-88) wrote :

Ubuntu 20.04. LTS

The menu option 'Stop & Quit' from the Rhythmbox icon isn't working on my installation.

And Rhythmbox has started playing jerkily.

Revision history for this message
helgatheviking (helgatheviking) wrote :

I'm experiencing this issue too. I do not understand why closing an app does not actually close it. That's quite frustrating to me. If I want to minimize and leave it running in the background, I'd do that instead. Maybe this is my Windows background, but X means close to me.

When I close Rhythmbox while it's playing then Rhythmbox is removed from the dock. That leaves me with no obvious way to turn the music off and I have to re-open Rhythmbox in order to press stop. At a minimum, can there be a setting in rhythmbox to control which type of close we want?

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.