Created attachment 137246 [details] Media player shows two tabs with one youtube tab When I open a music video on Youtube, Media Player widget shows two tabs with same title, both tabs control (pause /play) the same played video. The same happens with Firefox and Chromium. See attached image for more info. Operating System: Manjaro Linux KDE Plasma Version: 5.21.3 KDE Frameworks Version: 5.80.0 Qt Version: 5.15.2 Kernel Version: 5.4.105-1-MANJARO OS Type: 64-bit Graphics Platform: X11
This is caused because Firefox exports its own MPRIS interface, which competes with that of plasma-browser-integration. Unfortunately PBI is unable to suppress it automatically. So you will need to either stop using PBI or else set media.hardwaremediakeys.enabled to false in Firefox's about:config window. Ultimately it might be for the best if PBI stopped doing its own thing since Firefox now has the feature automatically.
(In reply to Nate Graham from comment #1) > This is caused because Firefox exports its own MPRIS interface, which > competes with that of plasma-browser-integration. Unfortunately PBI is > unable to suppress it automatically. So you will need to either stop using > PBI or else set media.hardwaremediakeys.enabled to false in Firefox's > about:config window. > > Ultimately it might be for the best if PBI stopped doing its own thing since > Firefox now has the feature automatically. Yes you are right, disabling PBI extension both on Firefox and Chromium solved the problem, so PBI should first read "media.hardwaremediakeys.enabled" value and if true it should no longer communicate with Media Player because the browser is already capable of directly doing it. Truthfully with media control removed from its tasks, PBI became not worthy to be installed on browsers apart from download progress functionality that will keep some users using it.
Could this bug be linked to these other bugs, too, or not at all? https://bugs.kde.org/show_bug.cgi?id=435230 https://bugs.kde.org/show_bug.cgi?id=419746 It looks like these three problems overlap so I’m wondering if they should considered or not, or if it’s just that there are a lot of places where Plasma mixes up applications with the same name or something.
This can be closed. It's fixed by https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/1088