Bug 510964 - gnome-volume-control-applet does not reconnect to pluseaudio once it dies
Summary: gnome-volume-control-applet does not reconnect to pluseaudio once it dies
Keywords:
Status: CLOSED DUPLICATE of bug 512119
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-media
Version: 11
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Bastien Nocera
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-07-12 21:51 UTC by Stephan Klein
Modified: 2009-08-04 10:48 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-07-18 23:40:43 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Stephan Klein 2009-07-12 21:51:58 UTC
Description of problem:
When pulseaudio dies and restarts (or simply gets restarted), the gnome-volume-control-applet will lose it's connection to the daemon and won't attempt to connect to the new pulseaudio instance.
This renders the applet and the volume control keys on the keyboard/laptop useless.

Version-Release number of selected component (if applicable):
- pulseaudio 0.9.15
- gnome-volume-control-applet 2.26.0

How reproducible:
Always.

Steps to Reproduce:
1. Play some sound and confirm that you can regulate sound volume through the applet and (if applicable) your function keys.
2. Stop playing sound and restart pulseaudio (i.e. by executing pulseaudio -k && pulseaudio -D).
3. Play some more sound and notice that the volume applet and your function keys have become useless.
  
Actual results:
The applet/function keys become useless.

Expected results:
There are a few ways this could be handled:
1. The applet falls back to controlling ALSA sinks.
2. The applet disables itself (i.e. grays out the volume slider and the OSD that appears when you change the volume via a function key) and waits for a new pulseaudio instance to connect to.
3. The applet tries to restart pulseaudio itself.

It could also display a notification to inform the user that pulseaudio has crashed/is not responding.

Additional info:
None.

Comment 1 Stephan Klein 2009-07-18 18:50:11 UTC
I just compiled the gnome-volume-control-applet from upstream (version 2.27.3.1) and noticed that this bug got fixed. Fix starts at line 1548.

Comment 2 Bastien Nocera 2009-07-18 23:40:43 UTC

*** This bug has been marked as a duplicate of bug 512119 ***


Note You need to log in before you can comment on or make changes to this bug.