Bug 435142 - Microphone mute feature only mutes the default microphone
Summary: Microphone mute feature only mutes the default microphone
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Audio in general (other bugs)
Version First Reported In: 6.2.4
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: 1.0
Assignee: David Rosca
URL:
Keywords: usability
: 428757 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-03-30 09:51 UTC by Ovidiu-Florin BOGDAN
Modified: 2025-08-12 20:34 UTC (History)
10 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.5.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ovidiu-Florin BOGDAN 2021-03-30 09:51:04 UTC
SUMMARY
When there are multiple microphones connected to the system, the "toggle mute microphone" keyboard shortcut only mutes/unmutes the microphone selected as default. However, the indicator (widget) only shows as mute if all the microphones are muted.

It would be best if the toggle microphone shortcut would toggle to mute/unmute all the microphones, or at least have this available as an option.

This is also very helpful if the user would choose different microphones from different applications.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 33 KDE 64 Bit
(available in About System)
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.79.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Related to Issue #428757
Comment 1 Nate Graham 2021-03-31 20:54:52 UTC
We have gotten a request for the output mute action to do the opposite: only mute the current one, not all of them.

Perhaps we need a setting that chooses whether muting input or output devices will mute all of them, or only the default one.
Comment 2 Nate Graham 2021-03-31 21:03:41 UTC
*** Bug 428757 has been marked as a duplicate of this bug. ***
Comment 3 Pedro V 2024-09-29 15:13:21 UTC
Was confused about Bug 428757 being marked as the duplicate of this one, but then figured there's a difference after all, and it's a quite silly one:
- The Mute Microphone shortcut still works as described here
- Clicking on the Microphone applet toggles mute for all audio sources

A setting would be definitely welcome, and that should cover the behavior of both toggles instead of them acting a different way.
Comment 4 Nate Graham 2025-07-25 11:18:06 UTC
In progress with https://invent.kde.org/plasma/plasma-pa/-/merge_requests/365
Comment 5 Nate Graham 2025-08-04 14:28:47 UTC
*** Bug 428757 has been marked as a duplicate of this bug. ***
Comment 6 Nate Graham 2025-08-06 22:13:47 UTC
Git commit ec765fd4081e84b7c7f3ea536afcb0fb1facee4f by Nate Graham, on behalf of Arnav Rawat.
Committed on 06/08/2025 at 22:13.
Pushed by ngraham into branch 'master'.

kded: Apply a global mute to input devices as well

It also makes sense to globally mute input devices for ex. preventing
unwanted transmissions on calls using secondary devices.
FIXED-IN: 6.5.0

M  +17   -7    applet/main.qml
M  +9    -2    src/globalconfig.kcfg
M  +129  -35   src/kded/audioshortcutsservice.cpp
M  +9    -4    src/kded/audioshortcutsservice.h
M  +6    -1    src/qml/globalservice.cpp
M  +2    -1    src/qml/globalservice.h

https://invent.kde.org/plasma/plasma-pa/-/commit/ec765fd4081e84b7c7f3ea536afcb0fb1facee4f
Comment 7 pallaswept 2025-08-10 12:49:59 UTC
Hi all, I understand I'm a bit late to the party on this one but just read about it in Nate's blog. 

I run most of my audio through a lot of virtual devices (this is pretty common). If hitting the mic mute, mutes all of the sources, it's not just going to mute the mics, it's going to mute *everything*. 

I've been relying on this bug/feature to mute my mic during conference calls, without muting the audio that's being shared from applications via virtual devices. This same problem also applies to the speaker mute with virtual sources.

> Perhaps we need a setting that chooses whether muting input or output devices will mute all of them, or only the default one.

Should I file a separate FR for this?
Comment 8 Nate Graham 2025-08-11 19:18:53 UTC
Why would muting all the input sources also mute your virtual devices? That seems wrong. If that is indeed what happens with these changes, it's a bug that should be fixed.
Comment 9 pallaswept 2025-08-12 00:55:18 UTC
(In reply to Nate Graham from comment #8)
> Why would muting all the input sources also mute your virtual devices?

Because the virtual devices are input sources.
(Likewise for the mute icon, the virtual devices that are muted when clicking it, are also output sinks)

> If that is indeed what happens with these changes, it's a bug that should be fixed.

Well, I saw a description of the new feature, that it acts 'like the speaker mute', and I'm not sure how accurate that description was, but the speaker mute definitely has this bug.
Comment 10 Nate Graham 2025-08-12 16:26:47 UTC
Perhaps it would make sense to let the user choose whether they want virtual devices affected by the global mute features.

Regardless, if that was always the behavior for global sink mute, replicating it with global source mute is appropriate, which is why we've done so.

Go ahead and open a ticket about the desired behavior change/option. Make sure to describe the use case in detail so it's clear why the status quo isn't working for you.

Thanks!
Comment 11 postix 2025-08-12 19:04:34 UTC
> Go ahead and open a ticket about the desired behavior change/option.
Please also link it here, as I'm quiet certain I'm also affected and so are likely others subscribed here.
Comment 12 pallaswept 2025-08-12 19:18:14 UTC
(In reply to Nate Graham from comment #10)
> Perhaps it would make sense to let the user choose whether they want virtual
> devices affected by the global mute features.

This would probably avoid most problems with minimum effort. If a hard-coded thing (no user option) rolled out, hard-coding it to not mute virtual devices would be way safer.

> Regardless, if that was always the behavior for global sink mute,
> replicating it with global source mute is appropriate, which is why we've
> done so.

I'll file a separate issue for it but I can't help but get the feeling I've failed to express to you how severe a mistake it could be, to copy the existing speaker mute bug. That one was bad but has kinda-workarounds, this one will be much harder to avoid. I'm sorely regretting that I didn't mention it to you sooner but I'm trying to give you as much heads-up as I can now.
Comment 13 pallaswept 2025-08-12 20:34:18 UTC
Created the follow-up bug: https://bugs.kde.org/show_bug.cgi?id=508170

Cheers see you there!