-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
[electron]: Fixed the window reloading issue. #8345
Conversation
Refs: - electron/electron#22119, - electron/electron#18397, and - electron/electron#21287 Signed-off-by: Akos Kitta <[email protected]>
@vince-fugnitto @marechal-p could you check please? it sounds like an important regression after Electron 9 migration |
Hi @kittaakos, I should have time to verify this change tomorrow. |
@mcgordonite, do you happen to have time to verify the |
@kittaakos just tested the behaviour on Windows:
|
Thank you for your help, @mcgordonite |
@kittaakos unfortunately I was unable to test since I don't have a Windows machine. |
Is it fine to approve on @mcgordonite behalf or someone else is going to try? |
@tsmaeder, can you please help us with the review? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kittaakos just tested the behaviour on Windows:
- On master the workbench reset starts the page reload, then hangs on the loading spinner. This also happens when using the "reload window" command.
- On this PR, with allowRendererProcessReuse false, workbench reset works correctly.
Tried on Windows too and I can confirm that this fixes the issue. According to the doc the old value was false
as well, so LGTM.
Refs:
Signed-off-by: Akos Kitta [email protected]
What it does
Fixes the browser window reload on Windows. @mcgordonite, could you please verify the behavior with and without this change on Windows?
How to test
Try to reset the workbench layout. It should reload the browser window.
Review checklist
Reminder for reviewers