nextcloud / desktop

💻 Desktop sync client for Nextcloud
https://nextcloud.com/install/#install-clients
GNU General Public License v2.0
3.05k stars 801 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 1 year 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 1 year 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 2 months ago

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

joshtrichards commented 2 months ago

Related: #5382

WhoAmI0501 commented 2 months 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 1 month 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 :/

Dravere commented 1 month ago

This is happening for me constantly now. The window always appears on startup. To reproduce I can restart the PC or exit the NextCloud client and start it with the --background parameter from a terminal and it will always show up with the main window. It's really annoying.

System is XUbuntu 24.04.1, NextCloud desktop client is at 3.14.1

Jerome-Herbinet commented 1 month ago

Same with Linux Mint XFCE 22 and 3.14.1 client.