Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
2 tasks done
vladh opened this issue Aug 5, 2024 · 9 comments
Closed
2 tasks done

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

vladh opened this issue Aug 5, 2024 · 9 comments

Comments

@vladh
Copy link

vladh commented Aug 5, 2024

Using a supported version?

  • I have searched searched open and closed issues for duplicates.
  • I am using Signal-Desktop as provided by the Signal team, not a 3rd-party package.

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
Copy link

rowdenb commented Aug 5, 2024

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

@jamiebuilds-signal
Copy link
Member

@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
Copy link
Author

vladh commented Aug 6, 2024

@jamiebuilds-signal
Copy link
Member

@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
Copy link
Author

vladh commented Aug 8, 2024

@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
Copy link
Member

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 #6740

@vladh
Copy link
Author

vladh commented Aug 8, 2024

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
Copy link
Member

I believe there are some other flags mentioned in #6368

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

@vladh
Copy link
Author

vladh commented Aug 8, 2024

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

alangecker added a commit to alangecker/Signal-Desktop that referenced this issue Nov 10, 2024
… to the 'did-finish-load' event instead of 'ready-to-show'

related issues:
signalapp#6368
signalapp#6740
signalapp#6966
electron/electron#25253 (comment)

After a deep rabbit hole into electron and the chromium source code I could not determine why this event is not fired, but both events should be more or less equal from their timing in our case:

https://www.electronjs.org/docs/latest/api/browser-window
> ### Using the `ready-to-show` event
> This event is usually emitted after the did-finish-load event, but for pages with many remote resources, it may be emitted before the did-finish-load event.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants