GUI holds a stale D-Bus proxy after the service restarts underneath it #73
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
With the GUI running, restart the service (
systemctl restart aqomui-- a package upgrade or crash recovery does the same): the next GUI action pops "Error: aqomui-service is not available -- Do you want restart it or quit aqomui?" even though the service is up. Hitting Restart re-acquires it (plus a polkit prompt for the restart itself) and everything works.Cause: the GUI resolves its D-Bus proxy for
org.aqomui.serviceonce at startup; a service restart changes the name owner and the stale proxy's first call fails, which the GUI misreads as "service not available".Fix direction: watch
NameOwnerChangedfor the service name (or re-get_objectand retry once on a failed call) and only show the dialog when the name really has no owner.Observed 2026-08-19 while live-verifying #68, but unrelated to it -- any service restart under a running GUI reproduces this.