Skip to content

History / Preserve window state between sessions

Compare Revisions

Revisions

@deltaidea deltaidea Fix accidental double-paste. e51bc79
@deltaidea deltaidea Don't call window.show() if dev tools are already open (see initWindowState). d231c3e
@shunt94 shunt94 Wrapped the close event listener in a try catch to allow users to close the application if there is a Javascript error (node webkit error messages) 1940fd8
@hvva hvva Error: cannot set windowState of null. Seems to be fixed by setting localStorage without dot operator. 57d19de
@hvva hvva Updated change log. fd810b4
@hvva hvva JSON.stringify sometimes causes errors if winState returns null, causing the program not to close. Checking that winState is set appears to fix this. fd8bb53
@kolonist kolonist Updated Preserve window state between sessions (markdown) 5d0dd90
@yangsibai yangsibai there is a bug after start if previous state is maximized 5866405
@kolonist kolonist Workaround of extra height in gnome-shell added. Library transformed to external file. eaa9f38
@szwacz szwacz Replaced the code with comprehensive, ready to use snippet. 779a0c7
@cadorn cadorn Need to convert values from localStore to integers. 7bc9b99
@zcbenz zcbenz Created Preserve window state between sessions (markdown) 1fd1f55
Something went wrong with that request. Please try again.