[Webkit-unassigned] [Bug 230420] New: [GTK] WebKit tries to own org.mpris.MediaPlayer2 bus names even when MEDIA_SESSION disabled

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 17 11:54:32 PDT 2021


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

            Bug ID: 230420
           Summary: [GTK] WebKit tries to own org.mpris.MediaPlayer2 bus
                    names even when MEDIA_SESSION disabled
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKitGTK
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: pgriffis at igalia.com
                CC: bugs-noreply at webkitgtk.org

If you build webkitgtk without `ENABLE_MEDIA_SESSION` defined you will get warnings:

> ** (WebKitWebProcess:2): WARNING **: 13:27:52.167: Unable to acquire MPRIS D-Bus session ownership for name org.mpris.MediaPlayer2.org.webkitgtk.MiniBrowser

This is because in `BubblewrapLauncher.cpp` the dbus permission is guarded behind `ENABLE(MEDIA_SESSION)`.

At a glance I wasn't sure the best place to disable the MPRIS ownership with another guard, most of the PlatformMediaSessionManager code seems to be guarded by `ENABLE(MEDIA_STREAM)` instead.

-- 
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/20210917/2d457ef5/attachment-0001.htm>


More information about the webkit-unassigned mailing list