Bug 472107

Summary: OSD when muting or unmuting from the icon are reversed
Product: [Plasma] plasmashell Reporter: Florian <florian>
Component: Microphone Indicator widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: altmail, andrew.baker, isma.af, jared, kde, mahe, nate, nowrep, pallaswept, r.hessel.git, severin.hamader, xnaxdy, yanexbug
Priority: NOR    
Version First Reported In: 5.27.6   
Target Milestone: 1.0   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Florian 2023-07-09 19:33:24 UTC
SUMMARY
When you click on the microphone icon in the task bar to mute/un-mute, the message that pops up on-screen shows the opposite of what you've done.

STEPS TO REPRODUCE
1. Click on the microphone icon in the bottom right (task bar) to mute/un-mute.

OBSERVED RESULT
If you click to mute, the message that pops up on-screen shows 'Volume 100%'.
If you click the icon again to un-mute, the message says 'Microphone Muted'.

EXPECTED RESULT
The opposite on-screen messages for the respective actions.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: openSUSE Tumbleweed/Plasma 5.27.6
KDE Plasma Version: 5.27.6
KDE Frameworks Version: 5.107.0
Qt Version: 5.15.10

ADDITIONAL INFORMATION
Love you folks <3
Comment 1 Nate Graham 2023-09-12 20:50:16 UTC
Can confirm.
Comment 2 Nate Graham 2023-09-12 21:10:56 UTC
The problem seems to be that when we get to MicrophoneIndicator::volumePercent(), source->isMuted() returns the opposite of what it should.
Comment 3 Nate Graham 2024-08-27 19:10:20 UTC
*** Bug 492212 has been marked as a duplicate of this bug. ***
Comment 4 Nate Graham 2025-10-23 18:20:48 UTC
*** Bug 486089 has been marked as a duplicate of this bug. ***
Comment 5 Nate Graham 2025-10-23 18:45:25 UTC
*** Bug 465301 has been marked as a duplicate of this bug. ***