After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 648114 - Window does not always close when running gnome-shell
Window does not always close when running gnome-shell
Status: RESOLVED NOTGNOME
Product: rhythmbox
Classification: Other
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: RhythmBox Maintainers
RhythmBox Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-04-18 13:49 UTC by Xavier Claessens
Modified: 2011-05-10 21:12 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Xavier Claessens 2011-04-18 13:49:03 UTC
When I close the main window, I'm expecting the window to hide and the music to continue playing. However sometimes the window stay shown and nothing happens. Usually this happens when the window is maximized. When I resize it, then I can close it.
Comment 1 Jonathan Matthew 2011-04-18 21:37:05 UTC
When you close the main window, rhythmbox should exit.  "close to tray" makes absolutely no sense in gnome-shell.  What version of rhythmbox is this?  (0.13.3, package from fedora 15, git master?)
Comment 2 Xavier Claessens 2011-04-18 22:09:59 UTC
rhythmbox 2.90.1~20110329-0ubuntu1~build1

Closing to tray makes perfect sense: I get an icon in the bottom-right and clicking rhythmbox there gives a bubble letting me play/pause next/previous and showing current playing song, withing the need to have the full window open.
Comment 3 Jonathan Matthew 2011-04-18 23:12:22 UTC
What output do you get from 'gconftool-2 -R /apps/rhythmbox/plugins/status-icon'?
Comment 4 Xavier Claessens 2011-04-19 07:02:44 UTC
$ gconftool-2 -R /apps/rhythmbox/plugins/status-icon
 status-icon-mode = 3
 active = true
 mouse-wheel-mode = 0
 hidden = false
 notification-mode = 1
 window-visible = false
Comment 5 Jonathan Matthew 2011-04-19 07:08:06 UTC
Does the window close properly if you set status-icon-mode to 2?
Comment 6 Xavier Claessens 2011-04-19 09:42:02 UTC
I've changed that value and restarted rhythmbox, nothing changed. when closing window, rb is still running (it should exit with mode 2, right?), and sometimes I can't close the window.
Comment 7 Jonathan Matthew 2011-04-19 10:40:49 UTC
What happens if you disable the plugin?  (you also won't get notifications or anything in the message tray)

What output do you get from 'rhythmbox -D shell' when this happens?
Comment 8 Xavier Claessens 2011-04-19 10:50:22 UTC
Here is what I get, I've removed the spam about music progress

(12:48:29) [0xcfd040] [paned_size_allocate_cb] rb-shell.c:2972: paned position 213
(12:48:29) [0xcfd040] [paned_size_allocate_cb] rb-shell.c:2973: right_paned position 400
(12:48:29) [0xcfd040] [paned_size_allocate_cb] rb-shell.c:2972: paned position 213
(12:48:29) [0xcfd040] [paned_size_allocate_cb] rb-shell.c:2973: right_paned position 400
(12:48:33) [0xcfd040] [paned_size_allocate_cb] rb-shell.c:2972: paned position 213
(12:48:33) [0xcfd040] [paned_size_allocate_cb] rb-shell.c:2973: right_paned position 400
(12:48:33) [0xcfd040] [sidebar_paned_size_allocate_cb] rb-shell.c:2984: sidebar paned position 300
(12:48:33) [0xcfd040] [paned_size_allocate_cb] rb-shell.c:2972: paned position 213
(12:48:33) [0xcfd040] [paned_size_allocate_cb] rb-shell.c:2973: right_paned position 400


Note that when not playing music, closing the main window seems to exit rhythmbox, in that case my multimedia key play/pause does not work anymore.
Comment 9 Jonathan Matthew 2011-04-19 11:16:25 UTC
Not sure where that package comes from, but I suspect it includes this patch:
http://bazaar.launchpad.net/~ubuntu-desktop/rhythmbox/ubuntu/view/head:/debian/patches/22_hide_on_quit.patch

which does more or less what you're talking about.
Comment 10 Jonathan Matthew 2011-04-24 02:51:04 UTC
please reopen if it turns out that patch isn't responsible.
Comment 11 Julien Olivier 2011-05-10 21:12:25 UTC
For your information, I have reported it in Ubuntu's bug system: https://bugs.launchpad.net/ubuntu/+source/rhythmbox/+bug/780747