@Sebastien,

No, it's not from upstream, due to the code is quite different from
upstream.

If there is only one input device with only one input port, and this
input port is active_port, e.g. there is no internal mic, just a mic
jack on the machine, this issue will happen.

For this kind of machines, if users plug mic in the jack, the function
active_input_update() is called ahead of the function
add_input_ui_entry(), then we will see "No devices in the tree, so
cannot set the active output" from syslog, this issue will be
reproduced.

On other machines, the add_input_ui_entry() is called ahead of
active_input_update(), then there is no problem.

So for this patch, just checking if there is only one input item in the
treeview, call active_input_update(). And call
gtk_widget_set_sensitive() to gray out the input volume bar if there
isn't any input item in the treeview.

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

Title:
  [18.04]Not able to adjust Audio input UI volume after connecting
  headset

Status in gnome-control-center:
  Fix Released
Status in gnome-control-center package in Ubuntu:
  Fix Released

Bug description:
  Summary:Not able to adjust Audio input UI volume, it's gray

  Steps to reproduce:
  1. Plug 3 ring earphone with mic to appropriate jack

  Expected result:
  System can be recording audio from external mic

  Actual result:
  Not able to adjust Audio input UI volume, it's gray, and no volume detected 
in UI, but I can recording the input audio by checkbox

  Failure rate:100%

  Note.
  1. There is no internal mic, just a mic jack on the machine, this issue will 
happen
  2. gnome-control-center version : 1:3.28.2-0ubuntu0.18.04.2

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to