Bug 450079

Summary: Sometimes an OSD showing the volume of the application appears when I pause/resume playback with middle-click on Media Player applet
Product: [Plasma] plasmashell Reporter: Patrick Silva <bugseforuns>
Component: Media Player widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: normal CC: kde, nicolas.fella
Priority: NOR    
Version First Reported In: master   
Target Milestone: 1.0   
Platform: Neon   
OS: Linux   
URL: https://gitlab.freedesktop.org/libinput/libinput/-/issues/739
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Patrick Silva 2022-02-12 12:12:21 UTC
STEPS TO REPRODUCE
1. play a video in youtube with Firefox
2. repeatedly pause/play the video with middle-click (I use a touchpad, middle-click with two-fingers tap) on Media Player applet in system tray
3. 

OBSERVED RESULT
after middle-click on Media Player applet, playback pauses/resumes as expected and sometimes an OSD showing the volume of Firefox appears 

EXPECTED RESULT
volume OSD should never appear after middle-click on 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-12 13:17:27 UTC
It sounds like you are triggering a scroll, which then changes the volume and makes the OSD appear
Comment 2 Patrick Silva 2022-02-12 13:30:22 UTC
You are right. OSD does not appear when scrolling is set to 'Touchpad edges' instead of 'Two fingers'.
There is something wrong with my touchpad or libinput because frequently a webpage scrolls up in the internet browser when I try to open a link in background doing middle-click with two-fingers. This behavior occurs even on Gnome.
Comment 3 Patrick Silva 2022-02-12 13:54:00 UTC
The weird thing is that the volume level does change when the OSD appears.
Comment 4 Patrick Silva 2022-02-12 14:01:43 UTC
ops, if the volume is less than 100%, sometimes it increases 1% or 2% when the OSD appears.
Comment 5 Nicolas Fella 2022-02-13 01:46:38 UTC
It seems to me that Plasma works as expected then? Or am I missing something?
Comment 6 Patrick Silva 2022-02-13 20:06:19 UTC
Confirmed libinput bug.

https://gitlab.freedesktop.org/libinput/libinput/-/issues/739