Skip to content

sound applet: show input device selector when multiple inputs are connected - #13977

Open
MDHasan0078 wants to merge 1 commit into
linuxmint:masterfrom
MDHasan0078:fix/sound-applet-input-section-visibility
Open

sound applet: show input device selector when multiple inputs are connected#13977
MDHasan0078 wants to merge 1 commit into
linuxmint:masterfrom
MDHasan0078:fix/sound-applet-input-section-visibility

Conversation

@MDHasan0078

Copy link
Copy Markdown

Problem

The Input device selector in the sound applet was only visible when a recording app was actively using the microphone. Users with multiple input devices (e.g. built-in mic + earphones) had no way to switch between them unless a recording app happened to be running, or they opened Sound Settings first (which incidentally triggered the section to appear).

Fix

Show _inputSection as soon as 2+ input devices are detected in _onDeviceAdded, mirroring the existing behavior for output devices. Hide it again in _onDeviceRemoved when input devices drop back to one and nothing is recording.

…nected

The input section was only visible when a recording app was active.
This meant users couldn't switch input devices (e.g. mic vs earphones)
without opening Sound Settings first. Now it shows up whenever 2+
input devices are detected, same as the output device selector.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant