Bug 450007

Summary: 'Applications' tab does not reflect the volume adjusted via Media Player applet
Product: [Unmaintained] plasma-pa Reporter: Patrick Silva <bugseforuns>
Component: appletAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: normal CC: me, nate, nicolas.fella, nowrep, sanmaycjoshi+kde
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: screeen recording

Description Patrick Silva 2022-02-11 12:47:30 UTC
Created attachment 146578 [details]
screeen recording

SUMMARY
I can reproduce this bug with chromium-based browsers but can't with Firefox and VLC player.

STEPS TO REPRODUCE
1. play a youtube video with a chromium-based browser (can reproduce on my system with ungoogled chromium from flathub, Vivaldi and Opera)
2. make sure you can control video playback with Media Palyer applet in system tray
3. click on plasma-pa applet and click on 'Applications' tab
4. hover over Media Player applet and adjust the volume of the video by scrolling up/down

OBSERVED RESULT
an OSD shows up showing the volume change, but the volume remains the same in the 'Applications' tab of plasma-pa applet. Please watch the attached screen recording.

EXPECTED RESULT
'Applications' tab should always reflect volume adjustments done via Media Player applet

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.24.80
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.3
Graphics Platform: Wayland
Comment 1 Nicolas Fella 2022-02-11 13:18:40 UTC
The media player applet changes the Volume property of the application's MPRIS interface. Whether or not this has any relation to the application volume seen in the audio applet is up to the application
Comment 2 Nate Graham 2022-02-11 20:00:45 UTC
Scrolling over the applet changes the global volume, not the volume of the app that's currently playing audio.
Comment 3 Nicolas Fella 2022-02-11 20:03:10 UTC
(In reply to Nate Graham from comment #2)
> Scrolling over the applet changes the global volume, not the volume of the
> app that's currently playing audio.

This is about scrolling over the _Media Controller_ applet
Comment 4 Nate Graham 2022-02-11 20:21:29 UTC
Oops! My mistake.

So for me, when I scroll over the media controller applet while a video is playing in chromium, I see an OSD for the volume, but the volume of the stream actually doesn't change at all. Do you see that too, Patrick?
Comment 5 Patrick Silva 2022-02-11 20:31:09 UTC
On my system the volume changes according to what the OSD indicates.
Only the volume level seen in 'Applications' tab remains the same.
Comment 6 Nicolas Fella 2022-02-12 00:04:02 UTC
I'm seeing the same as Nate describes. In any case, we're setting the volume on Chromium's MPRIS interface, that's separate to what is exposed in PulseAudio
Comment 7 Nicolas Fella 2022-02-12 00:06:28 UTC
e.g. VLC does it like you expect it
Comment 8 Sanmay 2025-09-27 11:16:07 UTC
(In reply to Nate Graham from comment #4)
> So for me, when I scroll over the media controller applet while a video is
> playing in chromium, I see an OSD for the volume, but the volume of the
> stream actually doesn't change at all. Do you see that too, Patrick?

I'm seeing the same in Plasma 6.4.4. Also, this change is not reflected in Applications tab under Volume widget. Is this an issue from Chromium's side?
Comment 9 Sanmay 2025-09-27 19:35:59 UTC
(In reply to Sanmay from comment #8)
> (In reply to Nate Graham from comment #4)
> > So for me, when I scroll over the media controller applet while a video is
> > playing in chromium, I see an OSD for the volume, but the volume of the
> > stream actually doesn't change at all. Do you see that too, Patrick?
> 
> I'm seeing the same in Plasma 6.4.4. Also, this change is not reflected in
> Applications tab under Volume widget. Is this an issue from Chromium's side?
When more than one media is being played in multiple windows, then for which tabs would 'the scrolling over the media applet' change the volume?
I noticed that for media playback under Firefox, no OSD appears on screen when scrolling over the media applet, and this may be made the case for Chromium media playback as well. We have the ability to hover on the icon on taskbar, and changing the volume for specific window on the tooltip.
> relevant bug: https://bugs.kde.org/show_bug.cgi?id=509985