indicator-sound volume does not detect sink change

Bug #700361 reported by Tommy Nevtelen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
The Sound Menu
Fix Released
Undecided
Conor Curran
indicator-sound (Ubuntu)
Fix Released
Undecided
Conor Curran

Bug Description

Binary package hint: indicator-applet

After a change of the pulseaudio output sink the indicator-applets volume control is not able to regulate the volume level.

Currently the workaround is to remove the indicator-applet from the panel and re-add it. But as this has to be done with every sink change it''s not very practical.

Info:

$ lsb_release -rd
Description: Ubuntu 10.10
Release: 10.10

$ apt-cache policy indicator-applet
indicator-applet:
  Installed: 0.4.6-0ubuntu1
  Candidate: 0.4.6-0ubuntu1

$ apt-cache policy indicator-sound
indicator-sound:
  Installed: 0.5.0.1-0ubuntu2
  Candidate: 0.5.0.1-0ubuntu2

Tommy Nevtelen (dal)
description: updated
Omer Akram (om26er)
summary: - indicator-applet volume does not detect sink change
+ indicator-sound volume does not detect sink change
affects: indicator-applet (Ubuntu) → indicator-sound (Ubuntu)
Revision history for this message
Conor Curran (cjcurran) wrote :

Hmmm, this should not be happening. Unless there is a sink change which Pulse is then not notifiying its respective clients of the change.

When this is occurs can you confirm that within G-V-C the correct sink is selected as the default output (G-V-C can be opened via 'Sound preferences' on the sound menu). I suspect the sink is changing but the signal to inform that the sink has changed is not being sent.

Conor

Changed in indicator-sound (Ubuntu):
assignee: nobody → Conor Curran (cjcurran)
Changed in indicator-sound:
assignee: nobody → Conor Curran (cjcurran)
Revision history for this message
Tommy Nevtelen (dal) wrote :

The output volume control works here. Also there is no indication that it is a non-local networked sink currently selected. I use the pulseaudio device chooser to switch the sink if that's any help.

Tommy Nevtelen (dal)
description: updated
Revision history for this message
Conor Curran (cjcurran) wrote :

Can you tell me what sinks you are using ?
The sound menu works exactly like the Gnome Volume Control in that it listens for a default sink change signal from pulse. If that is not sent for some reason (sometimes this is case especially when pulse tries to remember / anticipate how you would like to use a newly connected sink ) the control is useless. I just checked with the current release and sink changes are being detected no problem using Gnome Volume Control or the application which is launched from the Sound Preferences button.

Changed in indicator-sound:
status: New → Triaged
Revision history for this message
Tommy Nevtelen (dal) wrote : Re: [Bug 700361] Re: indicator-sound volume does not detect sink change

On Thu, Jan 27, 2011 at 07:19:15PM -0000, Conor Curran wrote:
> Can you tell me what sinks you are using ?

I'm using a sink over the network to output sound through my htpc. Could it
be that sound preferences detects the change because it's newly launched?

--
Regards
Tommy Nevtelen

Revision history for this message
Conor Curran (cjcurran) wrote :

I tried to reproduce this and I couldn't. Release 0.5.9 (which will be released this Thursday) has a completely refactored pulse backend. Please try with this new release and let me know if you can reproduce this.

Changed in indicator-sound:
milestone: none → 0.5.9
Changed in indicator-sound (Ubuntu):
status: New → In Progress
Changed in indicator-sound:
status: Triaged → In Progress
Revision history for this message
Tommy Nevtelen (dal) wrote :

On Mon, Feb 07, 2011 at 02:31:38PM -0000, Conor Curran wrote:
> I tried to reproduce this and I couldn't. Release 0.5.9 (which will be
> released this Thursday) has a completely refactored pulse backend.
> Please try with this new release and let me know if you can reproduce
> this.

Will this be released in maverick?

--
Tommy Nevtelen

Revision history for this message
Conor Curran (cjcurran) wrote :

Afraid not, but Natty will be released in two months :)

Conor Curran (cjcurran)
Changed in indicator-sound:
status: In Progress → Fix Committed
Changed in indicator-sound (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Conor Curran (cjcurran) wrote :

For Natty, any sink detection problems should be reopened as a new bug. The basis code around this has not changed since last year. The menu tries to use the default sink from the pa server and listens for any changes to this. Sometimes due to the module sink-restore the sink will swap automatically without changing the default sink, I have no way to detect this.
Marking this as fixed released for now because I thoroughly refactored the code around this and I'm pretty sure it is doing what it should do.

Changed in indicator-sound:
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package indicator-sound - 0.5.9-0ubuntu1

---------------
indicator-sound (0.5.9-0ubuntu1) natty; urgency=low

  * New upstream release.
    - crashed with SIGSEGV in pa_cvolume_valid () (LP: #705009)
    - The players list should be customizable (LP: #685725)
    - Allow players to set their own title (LP: #709367)
    - refactor pulse manager (LP: #709371)
    - listen for playlist changed signal (LP: #715277)
    - playlist name not updated corrrectly (LP: #715694)
    - Not enough feedback when changing the volume (LP: #669163)
    - indicator-sound volume does not detect sink change (LP: #700361)
  * debian/control
    - Added new build depends libnotify-dev
 -- Ken VanDine <email address hidden> Thu, 10 Feb 2011 11:52:59 -0500

Changed in indicator-sound (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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