Incorrect window positioning
Restoring the last window position upon load might be incorrect. This is a long known and unsolved problem in Electron and has several underlying causes. To make matter even worse, the behavior differs between Windows and macOS (Linux probably too).
Instead of applying a bunch of seemingly unrelated workarounds, I propose to wait for Electron team to fix these issues once and for all.
If users are really unhappy with the current behavior, we have to re-evaluate and add one workaround or the other.
Issue electron#10862
Since we downgraded to Electron 3 this issue should be more or less fixed. It might be that reduced window border size for Windows 10 could still be a minor problem.
Still not solved for Electron 6.1.2 (Windows 10). This minor issue will need an appropriate workaround.