VLC hangs in Openbox when gnome-settings-daemon is running
I have a problem with VLC in a very specific case on Openbox. I want to use GNOME settings with OB so I need to run gnome-settings-daemon (GSD). I tried the following cases:
- GSD is not running: VLC works fine, can play video and quits with no issue
- GSD is running and I run VLC without playing a video: it works fine and quits with no issue
- GSD is running and I play a video: when I try to quit VLC, the process hangs (the icon in the systray is still there) and I have to kill it or wait for 10-15 seconds when seems it kills itself.
As soon as I open a video with VLC, GSD displays the following in a terminal:
(gnome-settings-daemon:23023): GLib-CRITICAL **: g_variant_get_va: assertion 'value != NULL' failed
(gnome-settings-daemon:23023): GLib-GIO-WARNING **: Type of return value is incorrect: expected '(u)', got '()''
It doesn't happen when simply starting VLC with no video so it's likely the reason of the issue.
I'm using Ubuntu 13.10. What's strange is that the problem of VLC hanging seems to happen only with Openbox. Unity (the Ubuntu desktop environment) uses GSD too and VLC has no problem with it, so I'm not really sure it is a VLC issue but I haven't encountered a similar behaviour with other softwares. Also, it happens only with video files, no problem when I play an audio file with VLC with GSD running.
Using VLC 2.1.1 Rincewind (revision 2.1.0+git20131022+r136) with Ubuntu 13.10 up to date.