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]: `--background` not working #5916

Open LDprg opened 1 year ago

LDprg commented 1 year ago

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

Bug description

I am autostarting nextcloud on linux with --background, but it still opens the window and does not minimize to tray.

Steps to reproduce

  1. Start nextcloud client with --background

Expected behavior

Well, that the app does not show up on start or when using --background.

Which files are affected by this bug

?

Operating system

Linux

Which version of the operating system you are running.

Arch with Gnome as DE

Package

Distro package manager

Nextcloud Server version

-

Nextcloud Desktop Client version

2:3.9.0-2

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 Enabled

Are you using an external user-backend?

Nextcloud Server logs

?

Additional info

background_bug.zip

LDprg commented 1 year ago

After a couple of restarts (3-5) it worked again, but I let the issue open just in case.

LDprg commented 1 year ago

Strangely the problem accrued since today again.

siSSSou commented 10 months ago

The option "--background" sometimes works, but most of the time main window is shown at startup. It's strange this bug is still alive...

LDprg commented 10 months ago

The option "--background" sometimes works, but most of the time main window is shown at startup. It's strange this bug is still alive...

Yeah the issue seems to happen only sometimes and also depending on the system. On my other Laptop it works as expected.

WhoAmI0501 commented 1 month ago

I am also facing this behavior on my Ubuntu machines with Gnome... quite annoying.

joshtrichards commented 1 month ago

Related: #5382

WhoAmI0501 commented 1 month ago

Related: #5382

In my case, i want to add the information, that the window stays open until I explicitly close it via the task bar. Its not just popping up for a short moment.

GUSC68 commented 4 days ago

Same here since updating the appimage to 3.14.0 on Debian/XFCE. Start in the middle of the screen after the 1st login and disappear only after a clic on the icon in the notification area. Worked like a charm before the update :/