After first run, nativefier app will never launch in fullscreen again.
Run nativefier youtube.com --full-screen
Open app
Quit app (alt-f4)
Open app again
$ nativefier --version): v7.4.0$ node --version): v8.1.3Windows 10x64@brianblakely thanks for the feedback and PR 馃憤. I can't reproduce the issue, though, for me nativefier --full-screen "youtube.com" successfully remembers full-screen state between restarts. Could you precise your original broken use case? (is it really just the youtube example you're describing? No options other than just --full-screen? If so, maybe it's an OS problem, can test on my side under Windows). Leaving your PR unmerged for now.
(is it really just the youtube example you're describing? No options other than just --full-screen?
Yes to both questions. PR was the only way I found to fix this, but I will re-test v7.4.0 today to make sure it wasn't some kind of aberrant behavior (and report back either way).
Thanks for your prompt and friendly reply.
It appears it's some use of compositing that disrupts the ability to remember fullscreen, and this issue is per-app.
reddit.com, for example, works as expected, but youtube.com and vimeo.com both fail to remember the fullscreen state. These two apps present some video or otherwise large composited content upon initial load.
So I proceeded to test http://xproger.info/projects/OpenLara/, which also fails. I expected it to fail, because this is a WebGL game, and naturally has a large compositing layer.
I surmise that some aspect of how Electron leverages the Chromium compositor is circumventing electron-window-state, at least on Windows.
Screen recording, demonstrating the issue: http://i.imgur.com/ioPNV7u.gifv
Any hopes of getting this PR fix into the next publish?
Any hopes of getting this PR fix into the next publish?
@brianblakely 7.4.1 馃幒
馃帀馃憤馃憤