[Webkit-unassigned] [Bug 245221] [GTK] Lots of MPRIS D-Bus errors when running under flatpak

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 9 07:41:15 PST 2022


https://bugs.webkit.org/show_bug.cgi?id=245221

--- Comment #5 from Michael Catanzaro <mcatanzaro at gnome.org> ---
So looking at https://github.com/flatpak/flatpak/commit/6540f85511739028c0f8eb496ae64dcc73d40a28, the bus name that WebKit must use is `org.mpris.MediaPlayer2.org.gnome.Epiphany.Devel.Sandboxed.*` but the bus names here follow the pattern is `org.mpris.MediaPlayer2.org.gnome.Epiphany.Devel.instance-n`, with `n` increasing. The problem is the `.Sandboxed` is missing from the address used by MediaSessionGLib. That's a WebKit bug: MediaSessionGLib doesn't know about .Sandboxed. It's a little unfortunate that we have to use a different bus address depending on whether the sandbox is enabled or not, but oh well.

History: looks like Patrick almost fixed MPRIS in bug #241807, but then sabotaged himself by introducing the requirement to use .Sandboxed in the flatpak patch that was supposed to fix the flatpak side of then, then forgetting to update WebKit side for that. Alas. :D

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20221109/cf3c4b04/attachment.htm>


More information about the webkit-unassigned mailing list