nextcloud / desktop

💻 Desktop sync client for Nextcloud
https://nextcloud.com/install/#install-clients
GNU General Public License v2.0
2.98k stars 784 forks source link

[Bug]: cancel dbus activation for unconfigured clients on linux #6382

Open fabiscafe opened 7 months ago

fabiscafe commented 7 months ago

⚠️ Before submitting, please verify the following: ⚠️

Bug description

Nextcloud is now always dbus-activated in GTK-environments (see: https://github.com/nextcloud/desktop/pull/6031). That means it starts itself on filesystem access. This is fine by itself. Whats problematic about it is that it also starts up if it's only is installed, not configured on every login and presenting the "login screen". This is a huge problem for multi-user-systems, where only 1 user needs nextcloud. As this currently cant turned off.

Steps to reproduce

  1. Have Nextcloud installed
  2. Login to the PC user account

Expected behavior

On dbus-activation, Nextcloud client should check if its configured and end itself again without showing a window if not.

Which files are affected by this bug

No files are involved.

Operating system

Linux

Which version of the operating system you are running.

ArchLinux, Ubuntu, Fedora

Package

Distro package manager

Nextcloud Server version

27.1.5

Nextcloud Desktop Client version

3.11.0

Is this bug present after an update or on a fresh install?

Fresh desktop client install

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

Are you using an external user-backend?

Nextcloud Server logs

Arch Upstream mentioning: https://gitlab.archlinux.org/archlinux/packaging/packages/nextcloud-client/-/issues/2#note_158751

Additional info

No response

fspreck-indiscale commented 5 months ago

This is still an (annoying) issue with nextcloud-client 3.12.3. Any hopes of this being addressed some time soon?