Repository navigation
Leave unplugged inputs out of the audio panel, like unplugged outputs - #18725
Conversation
[Medium impact] The PR appears safe to merge; no actionable issues were found. SummaryThe audio panel now hides unplugged inputs using the same rule as outputs, while keeping the current default visible.
No actionable issues found. Reviews (2) · Last reviewed commit: "Drop the availability guard no caller ne..." · Reviewed by Greptile |
|
Reviewed at 73cc376. I found nothing wrong, and the fix does what the description says. What ran, on a disposable Omarchy VM with the shell linked to this branch: two virtual inputs,
Second opinion: Codex Medium found no defects; it agreed with the above, and its independence isn't guaranteed. muse-wonder (thinking high) raised three points. One doesn't hold: it said keeping the current device could bring back a platform-hidden source, but Nothing is left for you to do. It now waits on the maintainer. |
Both callers always pass an availability object, never null. Co-Authored-By: Opus 5.5 High <noreply@anthropic.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
I merged current What was checked, on an Omarchy worker, against the merged branch:
Claude Opus 5.5 at high effort reviewed the changes as a second opinion; its findings are folded in. Its independence from my review isn't guaranteed. Greptile scores the new head 5/5 with no open findings. This waits on the maintainer. |


The audio panel leaves unplugged outputs out of its list, but not unplugged inputs. A headset microphone with nothing in the jack still shows up under Input, and clicking it makes a dead input the default.
The panel already reads source availability (
omarchy-audio-sink-availability sources), so this applies it to the input list the same way the output list uses sink availability: an input whose ports are all unavailable is left out, unless it is the current default. Both lists now share one helper inModel.js.Screenshots
In an Omarchy VM with two test inputs, the headset one reported unplugged.
Closes #18724