Bug 420274

Summary: Dropdown of Media Player applet shows duplicated entries of Chromium playing youtube video
Product: [Plasma] plasma-browser-integration Reporter: Patrick Silva <bugseforuns>
Component: generalAssignee: Kai Uwe Broulik <kde>
Status: RESOLVED NOT A BUG    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: screen recording

Description Patrick Silva 2020-04-18 20:40:45 UTC
Created attachment 127669 [details]
screen recording

SUMMARY
The dropdown of Media Player applet that we can use to select the player
to control shows duplicated entries of Chromium playing youtube video.
Only one of them is able to control the playback.

STEPS TO REPRODUCE
1. play a youtube video with Chromium
2. click on the Media Player applet in systray
3. open "Choose player automatically" dropdown

OBSERVED RESULT
Two "Chromium" options. One of them can control the playback, the another one can not. Watch the attached screen recording please.

EXPECTED RESULT
just one funcional "Chromium" option.

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.18.80
KDE Frameworks Version: 5.70.0
Qt Version: 5.14.1

ADDITIONAL INFORMATION
Opera browser is also affected, but I see "Opera" and "Chromium" options
instead of two "Chromium" ones. Playback can only be controlled if "Opera"
is selected.
Comment 1 Kai Uwe Broulik 2020-04-18 20:44:41 UTC
Chrome has its own MPRIS service these days. It doesn't work very well which is why the multiplexer is patched to prefer p-b-i if both are present. It still offers manually using either one of them, though.
Comment 2 Patrick Silva 2020-04-18 20:56:33 UTC
at least we can disable browsers mpris service

chrome://flags/#hardware-media-key-handling


opera://flags/#hardware-media-key-handling