Specific window size and position are not remembered
jebbdomingo opened this issue · comments
Jebb Domingo commented
The window only restores to either the default size or maximized whenever the window is closed or quitting the app. The position is also not remembered, it always starts in the middle of the screen.
Marcel Wiehle commented
Is this still happening with the latest version?
If so, can you provide a repo where I can reproduce the issue?
Jonathan Brown commented
screen.getPrimaryDisplay().bounds does not return correct values
My screen is 2560x1440
screen.getPrimaryDisplay().bounds returns
{ x: 0, y: 0, width: 1422, height: 800 }
This is on Linux.