Repository navigation
fix(linux): share instance guard across login sessions - #11156
claucambra wants to merge 1 commit into
Conversation
Scope the Linux KDSingleApplication fallback to the configured executable name and user so desktop and systemd launches share an instance guard when XDG_SESSION_ID is missing or differs. Cover secondary detection, message forwarding, takeover after exit and separate application identities with subprocess tests. Refs #9729 Assisted-by: Codex:GPT-6 Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
Artifact containing the AppImage: nextcloud-appimage-pr-11156.zip Digest: To test this change/fix you can download the above artifact file, unzip it, and run it. Please make sure to quit your existing Nextcloud app and backup your data. |
|
Artifact containing the Flatpak bundle: com.nextcloud.desktopclient.nextcloud.flatpak.zip Digest: To test this change/fix you can download the above artifact file, unzip it, and install the bundle with: Please make sure to quit your existing Nextcloud app and backup your data. |
|




Resolves
Fixes #9729
Summary
Scope the Linux KDSingleApplication fallback to the configured executable name and user so desktop and systemd launches share an instance guard when XDG_SESSION_ID is missing or differs. Cover secondary detection, message forwarding, takeover after exit and separate application identities with subprocess tests.
Checklist
AI (if applicable)