https://bugs.kde.org/show_bug.cgi?id=377959

Oded Arbel <o...@geek.co.il> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |o...@geek.co.il

--- Comment #1 from Oded Arbel <o...@geek.co.il> ---
This is still an issue with Plasma 5.20. It is caused by the fact that the
media controller consume the key press event using its global shortcuts so
applications don't see them - I have the same problem with Kodi under Plasma -
media buttons just don't work because the media controller eats them and
converts them to MPRIS commands (
https://specifications.freedesktop.org/mpris-spec ).

Normally it is not an issue with browser applications as media applications are
supposed to use the `MediaSession` API
(https://developer.mozilla.org/en-US/docs/Web/API/MediaSession) to receive
media control events from the operating system and Plasma integrates well with
both Chrome and Firefox to forward MPRIS commands to the `MediaSession` API
(this also allows scripting, KDE Connect, Plasma media control desktop widgets,
etc).

I'm not sure this is something that can be fixed, or we even want to fix - the
MPRIS setup is the "right thing" for most users and provides excellent
experience out of the box with many many applications.

The workaround you discovered - disabling the media controller global shortcuts
- is the correct one. The fact that the application still received the media
key press events after you disabled and re-enabled the media controller global
shortcuts *is* a bug and I believe it is already fixed in Plasma 5.20 (I have
not been able to reproduce it).

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to