mpris interface does not close properly ?
to reproduce,
- reboot the system ( optional, but can make bug more reliable to reproduce )
- open epiphany ( tested on epiphany 43.0-22-gd008fd63 ( native, i.e. not flatpak ) in gnome os nightly, latest as of now )
- open a website with html video elements, tested with https://tekeye.uk/html/html5-video-test-page
- play any supported video
- ! before the video ends ! close the window
- attempt to play pause with the play pause media keys ( or trigger gnome to send a play / pause event in some other way )
- it will attempt to send the event to epiphany, even though it's closed, you can verify this with a tool such as bustle, or dbus-monitor which will produce the following output:
method call time=1665480884.509895 sender=:1.62 -> destination=org.mpris.MediaPlayer2.org.gnome.Epiphany.instance-331 serial=1548 path=/org/mpris/MediaPlayer2; interface=org.mpris.MediaPlayer2.Player; member=PlayPause
error time=1665480884.509963 sender=org.freedesktop.DBus -> destination=:1.62 error_name=org.freedesktop.DBus.Error.ServiceUnknown reply_serial=1548
string "The name is not activatable"
i also checked in d-feet and verified that epiphany was no longer visible ( possibly a gnome bug ? but i couldn't reproduce this issue in any other application )
a theory i have is that it's only on videos that do not have author information ? as every other player i tested had the author in mpris as "unknown author" and was unable to reproduce the bug then, so a possible connection .