Skip to content
This repository has been archived by the owner on Feb 16, 2024. It is now read-only.

Bug: Electron window is shown after computer restart on macOS #292

Open
ricoberger opened this issue Nov 16, 2020 · 2 comments
Open

Bug: Electron window is shown after computer restart on macOS #292

ricoberger opened this issue Nov 16, 2020 · 2 comments

Comments

@ricoberger
Copy link

Hi, when I restart my MacBook and select the reopen windows option it doesn't start the application and shows an Electron window instead.

  1. Build the demo application from https://github.com/asticode/go-astilectron-demo
  2. Move the .app file to the applications directory and open the app
  3. Restart macOS and select Reopen windows when logging back in

Result: It shows and window of Electron instead of the demo application.

This issue was reported here kubenav/kubenav#257 with a screenshot of what is shown after restart (looks similar for the demo application):

Screenshot

It looks like it doesn't run the original parent process:

Processes before the restart:
fresh

Process after the restart:
restart

I tested this with Electron 7.x and 9.x. I'm using the following version of go-astilectron:

github.com/asticode/go-astikit v0.9.1
github.com/asticode/go-astilectron v0.18.0
github.com/asticode/go-astilectron-bootstrap v0.4.0
github.com/asticode/go-astilectron-bundler v0.7.2

Do you have an idea what the problem could be?

@asticode
Copy link
Owner

asticode commented Nov 17, 2020

@ricoberger this is linked to this Windows 10 Jumplist bug. I don't have a solution for this as of now.

@ricoberger
Copy link
Author

Hi @asticode, thanks for the fast reply. When you found a solution for this and need someone for testing please let me now.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants