This patch fix two issue, it resolve this issue, but I'm an newer for 
gnome-control-center, so mightbe there are better fix for this issue.
After add the input device, I called 'active_input_update', the input_bar could 
be adjusted.
The second fix is when we plug out the device, the input_bar is still enabled, 
we need disable it, but the label on input_bar is still the 'Front Microphone'.

Index: gnome-control-center-3.4.2/panels/sound-nua/gvc-mixer-dialog.c
===================================================================
--- gnome-control-center-3.4.2.orig/panels/sound-nua/gvc-mixer-dialog.c 
2014-03-13 16:16:03.291570375 +0800
+++ gnome-control-center-3.4.2/panels/sound-nua/gvc-mixer-dialog.c      
2014-03-13 16:35:51.883553147 +0800
@@ -1382,6 +1382,7 @@
                return;
        }
        add_input_ui_entry (dialog, in);
+        active_input_update (dialog, in);
 }

 static void
@@ -1445,6 +1446,7 @@
         found = find_item_by_id (GTK_TREE_MODEL (model), id, ID_COLUMN, &iter);
         if (found) {
                 gtk_list_store_remove (GTK_LIST_STORE (model), &iter);
+                gtk_widget_set_sensitive (dialog->priv->input_bar, FALSE);
         }
 }


** Patch added: "debug.patch"
   
https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/1291862/+attachment/4021733/+files/debug.patch

-- 
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/1291862

Title:
  [soundnua]mic volume adjust bar is gray if you open sound-nua input
  tab earlier than plugging micphone

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

Bug description:
  gnome-control-center 1:3.4.2-0ubuntu0.13.1 in precise updates.
  In laptop you can't reproduce this issue, cause there have 'Internal 
Microphone' already.
  I find this issue im my PC, there are two jacks in front panel, input and 
output.

  1. Install system and log in to Desktop
  2. Connect the headphone in front panel
  3. Open sound settings menu and click Input tab

  I made an screenshot for it.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/1291862/+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