signalapp / Signal-Desktop

A private messenger for Windows, macOS, and Linux.
https://signal.org/download
GNU Affero General Public License v3.0
14.68k stars 2.68k forks source link

signal-desktop hangs on startup, appearing to start minimised #6966

Closed vladh closed 3 months ago

vladh commented 3 months ago

Using a supported version?

Overall summary

When running signal-desktop, I get some log messages, but no window opens up.

If I run signal-desktop again, in a different terminal, I get some other log messages, and the window does finally open.

If I close the window, both processes die.

So, I need to run signal-desktop twice for the window to open. If I close the window, I have to run it twice again for it to open.

Steps to reproduce

Run signal-desktop.

Expected result

A window opens.

Actual result

No window opens.

Screenshots

No response

Signal version

7.18.0

Operating system

Arch Linux

Version of Signal on your phone

No response

Link to debug log

No response

rowdenb commented 3 months ago

Seeing similar behaviour on Windows, except the Signal window appears as an empty white pane.

jamiebuilds-signal commented 3 months ago

@vladh @rowdenb Could you reproduce your issues and get us a debuglog? https://support.signal.org/hc/en-us/articles/360007318591-Debug-Logs-and-Crash-Reports

vladh commented 3 months ago

Here you go @jamiebuilds-signal: https://paste.sr.ht/~vladh/4a9d080275a137c8f62603190f737c45296fceb2

jamiebuilds-signal commented 3 months ago

@vladh it appears the app keeps getting interrupted while it's starting up. Like you're launching it and then quitting a few seconds later while it's actively doing work. Have you tried letting it sit for a bit? It may be that there's a lot of things for the app to catch up on

vladh commented 3 months ago

@jamiebuilds-signal I'm not doing anything at all actually, I've just run signal-desktop and let it sit for 3 minutes and no GUI shows up.

jamiebuilds-signal commented 3 months ago

That's interesting, something is sending a request to close the app then. Maybe some sort of window manager. You may want to try some of the steps in https://github.com/signalapp/Signal-Desktop/issues/6740

vladh commented 3 months ago

There's no solution in #6740 that allows the app to open, only one that allows you to click the tray icon, but I don't use a tray, so that doesn't work in my case.

Either way, it seems reasonable to mark this as a duplicate of #6740, looks like other people there are having the same problem as me.

jamiebuilds-signal commented 3 months ago

I believe there are some other flags mentioned in https://github.com/signalapp/Signal-Desktop/issues/6368

Probably right that this is the same root issue as one of those so yeah I'll close it

vladh commented 3 months ago

Oops right, just saw #6368, using the patch provided there fixes it for me until this is fixed upstream, thanks!