Electron BrowserWindow repaint blank/lag


#1

I have written an electron wrapper for a web app.
I don’t use webview but load the remote page into a BrowserWindow as this makes it easier to handle various stuff (eg intercepting and resizing new windows created by the app)

But unlike to webview when following links I get a blank page for about 1 - 1.5 secs even if I strip the code down to a bare minimum (like app on ready -> Browserwindow.loadurl)

I also tried nw.js with webview and with providing the link directly to window creation for reference, no noticeable lag/blanks there.

Is this behaviour to be expected? Any way to work around this?

I use v1.7.9 if this is of interest.

w.