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, so it is a workaround, but can be used permanently.
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.
setup with which I could reproduce the issue and verify the fix
First time contributor checklist:
Contributor checklist:
main
branchnpm run ready
run passes successfully (more about tests here)related issues:
Description
on some setups signal is never shown due to electrons
ready-to-show
event is not firing.I've found that people use
did-finish-load
instead due to (probably) this bug (https://github.com/electron/electron/issues/25253#issuecomment-691624779).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, so it is a workaround, but can be used permanently.
https://www.electronjs.org/docs/latest/api/browser-window
setup with which I could reproduce the issue and verify the fix
main
(git checkout v7.35.0-alpha.1
)ELECTRON_OZONE_PLATFORM_HINT=auto
environment variable