Bug 498480

Summary: Don't auto-unmute when playing new media (even if muted with the shortcut key)
Product: [Plasma] plasmashell Reporter: Thomas Bertels <tbertels>
Component: Audio in generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: normal CC: isma.af, kdedev, nate
Priority: NOR    
Version First Reported In: 6.2.4   
Target Milestone: 1.0   
Platform: Manjaro   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=432434
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Thomas Bertels 2025-01-10 16:59:10 UTC
SUMMARY
When the audio is muted with the shortcut key, it gets unmuted when playing new media.

STEPS TO REPRODUCE
1. Mute the audio with the shortcut key (not with the widget)
2. Play a new media

OBSERVED RESULT
The audio gets unmuted

EXPECTED RESULT
The audio remains muted

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:
KDE Plasma Version: 6.2.4
KDE Frameworks Version: 6.8.0
Qt Version: 6.8.1

ADDITIONAL INFORMATION
May be related to bug 432434.
Comment 1 TraceyC 2025-01-10 20:23:53 UTC
I tested this with Haruna and I can't reproduce the bug

There is no default shortcut for muting audio (without using a dedicated keyboard key), so I set one

1. Started playing one song
2. Muted audio with the shortcut
3. Started playing a different file
4. Started playing a YouTube video

I also tested using the mute key on the laptop keyboard
Audio stayed muted even when switching media / applications until I unmuted it again myself

Can you provide exact details of how you are able to reproduce this?
Comment 2 Thomas Bertels 2025-01-12 16:43:04 UTC
The auto-unmute happens either:

- when opening a new media with an application not already opened.
If you remove your first step, you should be able to reproduce it.

- or when opening a new media in Firefox
Comment 3 Nate Graham 2025-01-13 19:48:11 UTC
I also can't reproduce this, on Fedora KDE 42. Anything happening here would be below Plasma code, in the PipeWire or Pulseaudio server and the distro's implementation or configuration of it. I'd recommend first reporting this to your distro to see if they can help.