gnome-shell/js/dbusServices
Florian Müllner ebe1a4d303 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>
2023-12-13 01:27:51 +01:00
..
extensions dbusServices/extensions: Only show dialog when loaded 2023-11-21 22:45:40 +00:00
notifications js: Port dbusUtils to ESM 2023-08-07 19:05:50 +00:00
screencast js: Port dbusUtils to ESM 2023-08-07 19:05:50 +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 2023-12-13 01:27:51 +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