Bug 450007 - 'Applications' tab does not reflect the volume adjusted via Media Player applet
Summary: 'Applications' tab does not reflect the volume adjusted via Media Player applet
Status: RESOLVED UPSTREAM
Alias: None
Product: plasma-pa
Classification: Plasma
Component: applet (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-11 12:47 UTC by Patrick Silva
Modified: 2022-02-12 00:06 UTC (History)
4 users (show)

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


Attachments
screeen recording (1.57 MB, video/x-matroska)
2022-02-11 12:47 UTC, Patrick Silva
Details

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