After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 726686 - the input/output bar should be disabled when there are no device
the input/output bar should be disabled when there are no device
Status: RESOLVED OBSOLETE
Product: gnome-control-center
Classification: Core
Component: Sound
git master
Other Linux
: Normal normal
: ---
Assigned To: Control center sound maintainer(s)
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-03-19 08:46 UTC by Bin Li
Modified: 2021-06-09 16:27 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Here is the patch for input/output status update (4.39 KB, patch)
2014-03-19 08:49 UTC, Bin Li
needs-work Details | Review
update the g_warning to g_debug (4.56 KB, patch)
2014-03-19 10:32 UTC, Bin Li
needs-work Details | Review

Description Bin Li 2014-03-19 08:46:44 UTC
I've use an Levono's PC which have front and back panel.
So there are 3 output jack, line out, speaker, headphone.
And 2 input jack, line in and microphone.

When we remove all the input devices, we found the input bar is still enabled.

The original issue is from below link.

https://bugs.launchpad.net/ubuntu/+source/unity-control-center/+bug/1291862

We fix it for 3.4.2 version, and we found the change seems fine to me and it looks like it should apply to upstream GNOME (the code seems similar in https://git.gnome.org/browse/gnome-control-center/plain/panels/sound/gvc-mixer-dialog.c)
Comment 1 Bin Li 2014-03-19 08:49:22 UTC
Created attachment 272365 [details] [review]
Here is the patch for input/output status update

When there are no input/output devices, I'll disable the input/output bar.
And when the last intpu/output device removed, we need call active_in(out)put_update function.
Comment 2 Bin Li 2014-03-19 10:32:05 UTC
Created attachment 272367 [details] [review]
update the g_warning to g_debug

New patch to lower the log level for null device cause this is in fact a supported and expected scenario.
Comment 3 Georges Basile Stavracas Neto 2018-01-26 02:08:10 UTC
Review of attachment 272365 [details] [review]:

Hi Bin, thanks for your work. This appearently is a raw diff, not a patch, and I couldn't apply it cleanly, for it lacks a commit message.
Comment 4 Georges Basile Stavracas Neto 2018-01-26 02:08:35 UTC
Review of attachment 272367 [details] [review]:

This does not apply on top of the master branch anymore.
Comment 5 André Klapper 2021-06-09 16:27:25 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version, then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a new bug report at
  https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/

Thank you for your understanding and your help.