mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-03 21:25:13 +00:00
Blank page when app started / no content #943
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @nazar322 on GitHub (Apr 17, 2024).
In the built application sometimes the content is not loaded and therefore there is a blank space in the client area.
I have attached the screenshot.
Having googled the issue I see many have the same problem with just an electron and the typical solution would be changing the parameter in
win.loadURL. F.i. https://stackoverflow.com/a/52497939/501082 or https://at15r.medium.com/electron-app-showing-white-screen-after-successful-build-but-work-in-development-mode-7e4f612a0871I am able to reproduce this case on my Windows VM instance quite often, almost always, but rarely in osx or my host Windows computer.
I looked at
main.jsfor the Host project and the only occurrence ofloadURLis for the splash screen. The splash screen shows fine, however then the main window produces no content.I'm really sweating bullets with this issue.
Does anyone have encountered it or perhaps has some ideas on the issue?
In OSX, I can press the red X button and then restore the app from the background, and the UI is loaded, but on Windows minimizing/restoring from the taskbar does not do anything.
@nazar322 commented on GitHub (Apr 23, 2024):
Here is the fix!