gnome-shell/js/dbusServices
Florian Müllner f913c700ed dbusService: Exempt org.gnome.Shell from sender tracking
If an interface has any signals, we don't want to auto-shutdown
while a caller is still connected to a signal.

Unfortunately we can't tell whether there are any signal connections,
so we track all callers instead, and keep the service alive while
any of them is still on the bus.

For services that we call from gnome-shell itself - like screencasts
or extensions - this has the unintended side effect of effectively
disabling auto-shutdown.

Address this by exempting the org.gnome.Shell name from sender
tracking.

Services that we expect to keep running for the lifetime of the
shell already disable auto-shutdown, so the only downside is a
small startup delay to resolve the well-known shell name.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7250

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3052>
(cherry picked from commit ebe1a4d303)
2024-01-06 22:40:01 +01:00
..
extensions dbusServices/extensions: Only show dialog when loaded 2023-11-30 18:44:58 +01:00
notifications js: Port dbusUtils to ESM 2023-08-07 19:05:50 +00:00
screencast Revert "screencastService: Add dmabuf/GL pipeline" 2023-10-31 22:45:56 +00:00
screensaver js: Port dbusUtils to ESM 2023-08-07 19:05:50 +00:00
dbus-service.in dbusServices: Port to ESM 2023-06-21 13:26:42 +02:00
dbus-service.service.in dbusServices: Port to ESM 2023-06-21 13:26:42 +02:00
dbusService.js dbusService: Exempt org.gnome.Shell from sender tracking 2024-01-06 22:40:01 +01:00
meson.build dbusServices/screencast: Install unconditionally 2022-05-20 12:00:22 +00:00
org.gnome.ScreenSaver.src.gresource.xml dbusServices: Refactor service utilities from fileUtils into dbusUtils 2022-07-05 03:41:41 -04:00
org.gnome.Shell.Extensions.src.gresource.xml extensions: Provide separate implementations 2023-07-15 13:16:42 +02:00
org.gnome.Shell.Notifications.src.gresource.xml dbusServices: Refactor service utilities from fileUtils into dbusUtils 2022-07-05 03:41:41 -04:00
org.gnome.Shell.Screencast.src.gresource.xml screencastService: Signal errors via the internal dbus interface 2023-04-26 13:35:57 +02:00