Preserve window fullscreen state across sessions?

0 views
Skip to first unread message

jra...@gmail.com

unread,
Sep 30, 2013, 3:37:06 PM9/30/13
to node-...@googlegroups.com
Would it be possible to preserve window fullscreen state between sessions? If so, how?

LZAntal

unread,
Sep 30, 2013, 4:58:30 PM9/30/13
to node-...@googlegroups.com
Hi,

On Sep 30, 2013, at 12:37 PM, jra...@gmail.com wrote:

Would it be possible to preserve window fullscreen state between sessions? If so, how?

Not sure what you mean. Are you asking if the user using your app in fullscreen you want to open it back to fullscreen?



--
You received this message because you are subscribed to the Google Groups "node-webkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-webkit...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

jra...@gmail.com

unread,
Sep 30, 2013, 5:37:45 PM9/30/13
to node-...@googlegroups.com
Yes, I would like to have the app start fullscreen, then after the user toggles the window to window mode, save that to a cache somewhere, so that next time the window is restored to a previous setting. I am running into issues with the same-origin policy, so cookies or localstorage won't seem to work. Could something like this be added to node itself?

Yen

unread,
Oct 4, 2013, 8:31:20 AM10/4/13
to node-...@googlegroups.com, jra...@gmail.com
On Tuesday, 1 October 2013 03:37:06 UTC+8, jra...@gmail.com wrote:
Would it be possible to preserve window fullscreen state between sessions? If so, how?

There are methods to set windows state as well as events when window change state.
Maybe save the states to localStorage? 
Reply all
Reply to author
Forward
0 new messages