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 598921 - update anomalies
update anomalies
Status: RESOLVED FIXED
Product: gnome-media
Classification: Deprecated
Component: gnome-volume-control
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome media maintainers
gnome media maintainers
Depends on:
Blocks:
 
 
Reported: 2009-10-19 12:56 UTC by Matthias Clasen
Modified: 2010-02-02 12:29 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Handle the last input source being removed (5.20 KB, patch)
2010-02-02 12:28 UTC, Bastien Nocera
committed Details | Review

Description Matthias Clasen 2009-10-19 12:56:09 UTC
When I switch the profile from 'analog stereo duplex' to 'analog stereo output'
the Connector combo box on the input tab is left behind. This is different from what happens when I go from 'analog stereo duplex' to 'analog stereo input': the connector thing on the output tab does disappear.

And when I go back from 'analog stereo output' to 'analog stereo input', the input device reappears in the list on the input tab, but is not selected.

Part of the problem here appears to be that GvcMixerControl does not emit default-sink/source-changed signals when the default goes away. But just fixing that is not enough to make these problems disappear entirely, and  I haven't looked further.
Comment 1 Bastien Nocera 2010-02-02 11:47:00 UTC
The difference is that a dummy output is automatically created when removing the last output, whereas the input just gets no default whatsoever.

So the bug would most likely exist for outputs as well as inputs were it not for that PulseAudio feature.
Comment 2 Bastien Nocera 2010-02-02 12:28:52 UTC
Created attachment 152829 [details] [review]
Handle the last input source being removed

When removing the last input source, emit "default-source-changed"
with an invalid stream ID, so that the front-end knows to remove
the widgets associated with the disappeared input.

(Same applies to sinks/outputs, though PulseAudio will create a
 dummy output, hiding  that fact)
Comment 3 Bastien Nocera 2010-02-02 12:29:11 UTC
Attachment 152829 [details] pushed as 2bbb3e2 - Handle the last input source being removed