Bug 494951 - Widget application Volume slider of YouTube video is not always correctly detected
Summary: Widget application Volume slider of YouTube video is not always correctly det...
Status: RESOLVED DOWNSTREAM
Alias: None
Product: plasma-pa
Classification: Unmaintained
Component: applet (other bugs)
Version First Reported In: 6.2.1
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-17 18:52 UTC by vcharette
Modified: 2024-10-27 22:49 UTC (History)
2 users (show)

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


Attachments
applet slider (33.40 KB, image/png)
2024-10-27 14:07 UTC, vcharette
Details

Note You need to log in before you can comment on or make changes to this bug.
Description vcharette 2024-10-17 18:52:27 UTC
STEPS TO REPRODUCE
1. Open link1, play video and make sure video volume is at 100%. 
2. In the application volume panel, Firefox is shown to be playing at 100%.
3. Open link2, play video and make sure video volume is at 100%.
4. In the application volume panel, Firefox is shown to be playing at 48% (or at least not 100% like it's supposed to).

Link1 https://www.youtube.com/watch?v=5yzvNA-hZhQ
Link2 https://www.youtube.com/watch?v=kQ0N2s2hfWo

OBSERVED RESULT
Widget volume slider doesn't match the media actual volume level.

EXPECTED RESULT
Widget volume slider should match the media actual volume level.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 6.2.1
KDE Frameworks Version: 6.7.0
Qt Version: 6.7.3
FireFox version: 131.0.2 (64-bit) (pre-installed with openSUSE tumbleweed)
Comment 1 vcharette 2024-10-17 19:02:49 UTC
While doing more research on the behavior I noticed that the application slider in the applet was changing every single time I clicked another video on YouTube.

e.g.,
Watch video1 with stream slider is at 100%, applet slider is at 58%
Click video2 on the same page, stream slider is at 100%, applet slider is now at 67%.
Click video3 on the same page, stream slider is at 100%, applet slider is now at 49%.
Comment 2 Harald Sitter 2024-10-27 11:12:14 UTC
Please attach a screenshot of the slider in question.
Comment 3 vcharette 2024-10-27 14:07:01 UTC
This slider changes when a new video is loaded from the same page, in sequence. The stream slider is at 100% but the one from the screenshot varies from video to video. If a video sets the applet volume at 80%, it will also be 80% for that one. Same for other videos. I have a feeling that it's interpreting a particular value from the video.

When it happens, the only way to truly have the volume at 100% is to max the applet slider since the stream slider is already at 100%.

https://i.imgur.com/6UmjvIZ.png
Comment 4 vcharette 2024-10-27 14:07:41 UTC
Created attachment 175276 [details]
applet slider
Comment 5 Harald Sitter 2024-10-27 22:49:14 UTC
Looks to me like a firefox bug. Chromium doesn't exhibit this behavior. The volume also gets displayed correctly, according to pactl the stream is not at 100%.