Bug 508884

Summary: Plasma randomly doesn't mute upon pressing Fn+F1
Product: [Plasma] plasmashell Reporter: Fernando Marcelino Muniz <fernandommuniz>
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: kde, kdedev, nate, olib141
Priority: NOR Keywords: usability
Version First Reported In: 6.4.4   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 6.5.0
Sentry Crash Report:
Attachments: Issue on Plasma 6.4.4
Managed to get the bug to happen only the first time with the requested menus open.

Description Fernando Marcelino Muniz 2025-08-29 01:19:39 UTC
STEPS TO REPRODUCE
Press Fn+F1 to mute.

OBSERVED RESULT
At random times, it does nothing, but I know I'm pressing the key because it appears on the screen.

EXPECTED RESULT
It should always work.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.4.4
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.1
Kernel Version: 6.16.3-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 8 × 11th Gen Intel® Core™ i5-11300H @ 3.10GHz
Memory: 9 GB of RAM (8.1 GB usable)
Graphics Processor 1: NVIDIA GeForce GTX 1650
Graphics Processor 2: Intel® Iris® Xe Graphics
Manufacturer: LENOVO
Product Name: 82MG
System Version: IdeaPad Gaming 3 15IHU6
Comment 1 Fernando Marcelino Muniz 2025-08-29 03:01:15 UTC
Created attachment 184545 [details]
Issue on Plasma 6.4.4
Comment 2 Oliver Beard 2025-08-29 09:31:23 UTC
I can't reproduce this on 6.4. Without any further information, it's not possible to tell what's going wrong here.

Could you make an additional recording with the Volume tray popup open, as well as its 'More actions' menu showing the "Force mute all playback devices" option state?

It's possible it might be fixed for you in 6.5 with changes to some of the code here.
Comment 3 Fernando Marcelino Muniz 2025-08-29 19:34:14 UTC
Created attachment 184564 [details]
Managed to get the bug to happen only the first time with the requested menus open.
Comment 4 Oliver Beard 2025-08-29 19:56:55 UTC
It looks like there's some funky stuff going on with the global mute state.

In 6.5, global mute (the mute action used here) ensures that all devices are muted. Unmuting or changing the volume of a device causes the global mute state to be broken and it'll unmute anything it was responsible for muting. It was previously a little unreliable, as it would not be 'broken' on a change and behave unexpectedly, which I think might be what is happening here.

So, I do think this is quite likely to be fixed for you in 6.5, and I'll mark this as resolved for now.

If things still behave strangely in 6.5, please let us know here and I'll be happy to dig deeper.