I have noticed this also. After testing it seems to be a race condition.
I can only reproduce it when headphones are unplugged (not plugged in).
Essentially what is happening is that the headphone port becomes
unavailable therefore the backend goes to remove that output which
results in the UI moving to the next available port. Meanwhile the
speaker port becomes available but at that stage the damage is done as
the UI thinks the other device should be default. One potential solution
would be for the backend to always guarantee that the port which has
just become available to always send it's signal first ahead of the
signal which will remove the unavailable port.


** Changed in: gnome-control-center (Ubuntu)
       Status: New => Triaged

** Changed in: gnome-control-center (Ubuntu)
   Importance: Undecided => Low

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-control-center in Ubuntu.
https://bugs.launchpad.net/bugs/989893

Title:
  [soundnua] Audio doesn't correctly switch when headphones are plugged
  in/unplugged

Status in “gnome-control-center” package in Ubuntu:
  Triaged

Bug description:
  If I plug in my headphones, it switches to "Digital Output (S/PDIF)"
  and I hear no sound. The bottom option in the hardware list correctly
  changes to "Headphones", but it doesn't automatically choose that
  option. If I manually click "Headphones" at that point, the sound
  works through the headphones. If I unplug them, it also switches to
  "Digital Output (S/PDIF)", and the bottom option in the hardware list
  changes to "Speakers". If I manually click "Speakers", the speakers
  work as expected.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: gnome-control-center 1:3.4.1-0ubuntu1
  ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14
  Uname: Linux 3.2.0-24-generic x86_64
  ApportVersion: 2.0.1-0ubuntu6
  Architecture: amd64
  Date: Fri Apr 27 10:41:43 2012
  ExecutablePath: /usr/bin/gnome-control-center
  InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
  ProcEnviron:
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: gnome-control-center
  UpgradeStatus: Upgraded to precise on 2012-04-27 (0 days ago)
  usr_lib_gnome-control-center:
   activity-log-manager-control-center 0.9.4-0ubuntu3
   deja-dup                            22.0-0ubuntu2
   gnome-bluetooth                     3.2.2-0ubuntu5
   indicator-datetime                  0.3.94-0ubuntu2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/989893/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to