mawie81 / electron-window-state

A library to store and restore window sizes and positions for your Electron app
MIT License
659 stars 67 forks source link

Window state saved when second screen disconnected #43

Closed rschuetzler closed 5 years ago

rschuetzler commented 6 years ago

I sometimes use a second monitor, and sometimes I don't. If an app has window-state.json stored with a location on the second monitor, then the second monitor is disconnected, I cannot see the app when the app is launched again. It is launched off the screen, and the only way I can figure to bring it back is to delete window-state.json. Using Win+left doesn't move it, it just stays there.

mawie81 commented 5 years ago

See #44