Bug 472107 - OSD when muting or unmuting from the icon are reversed
Summary: OSD when muting or unmuting from the icon are reversed
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Microphone Indicator widget (show other bugs)
Version: 5.27.6
Platform: openSUSE Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
: 492212 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-07-09 19:33 UTC by Florian
Modified: 2024-10-18 20:15 UTC (History)
7 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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. ***