Skip to content

Bugfix/noid/single app on linux using d bus#10088

Open
mgallien wants to merge 2 commits into
masterfrom
bugfix/noid/singleAppOnLinuxUsingDBus
Open

Bugfix/noid/single app on linux using d bus#10088
mgallien wants to merge 2 commits into
masterfrom
bugfix/noid/singleAppOnLinuxUsingDBus

Conversation

@mgallien

Copy link
Copy Markdown
Collaborator

Resolves

#

Summary

TODO

  • ...

Checklist

AI (if applicable)

  • The content of this PR was partly or fully generated using AI

mgallien added 2 commits June 5, 2026 18:38
should help to build end-to-end integration tests with desktop files
client and a Nextcloud server

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
to detect if the installed binary was changed while the client is
running, we used to synchronously try to run the binary to query its
version

this in addition with the need to prevent multiple running instances at
the same time is creating a deadlock on start

as an user, I do not expect my client to decide on its own to restart
after my distribution updated the native package

as a developer and administrator of a linux box, I expect the
distribution tools to take care of restarting what should be restarted
or at least notify about outdated running binaries

this should not have been in scope of the client

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
@mgallien mgallien force-pushed the bugfix/noid/singleAppOnLinuxUsingDBus branch from 93ef976 to ac77f8f Compare June 5, 2026 16:38
@github-actions

github-actions Bot commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

Artifact containing the AppImage: nextcloud-appimage-pr-10088.zip

Digest: sha256:901b73fde7e713ea2736a871e409db535bb4eb6b13eb1bc8da3c3ca06e2df667

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.

@sonarqubecloud

sonarqubecloud Bot commented Jun 5, 2026

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
54 New Code Smells (required ≤ 0)
D Maintainability Rating on New Code (required ≥ A)
D Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Comment thread src/gui/application.cpp
: QApplication{argc, argv}
, _gui(nullptr)
#if defined KF6DBusAddons_FOUND && KF6DBusAddons_FOUND
, _dbusService{KDBusService::StartupOption::NoExitOnFailure | KDBusService::StartupOption::Unique}

@nilsding nilsding Jun 9, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we probably want to handle its activateRequested signal to deal with command line flags passed from a separate instance or e.g. display the main window

without it this would break the current experimental Linux VFS setup which some people use

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did keep in parallel the older single app solution that should handle the communication between instances to ensure linux VFS and edit locally are still working
I will test again

@nilsding nilsding left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM overall

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants