{"action":"created","issue":{"url":"https://api.github.com/repos/nwjs/nw.js/issues/3523","labels_url":"https://api.github.com/repos/nwjs/nw.js/issues/3523/labels{/name}","comments_url":"https://api.github.com/repos/nwjs/nw.js/issues/3523/comments","events_url":"https://api.github.com/repos/nwjs/nw.js/issues/3523/events","html_url":"https://github.com/nwjs/nw.js/issues/3523","id":81411477,"number":3523,"title":"When window is in fullscreen, hide window doesn't work well on Mac","user":{"login":"rnons","id":1082650,"avatar_url":"https://avatars.githubusercontent.com/u/1082650?v=3","gravatar_id":"","url":"https://api.github.com/users/rnons","html_url":"https://github.com/rnons","followers_url":"https://api.github.com/users/rnons/followers","following_url":"https://api.github.com/users/rnons/following{/other_user}","gists_url":"https://api.github.com/users/rnons/gists{/gist_id}","starred_url":"https://api.github.com/users/rnons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rnons/subscriptions","organizations_url":"https://api.github.com/users/rnons/orgs","repos_url":"https://api.github.com/users/rnons/repos","events_url":"https://api.github.com/users/rnons/events{/privacy}","received_events_url":"https://api.github.com/users/rnons/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-05-27T11:33:10Z","updated_at":"2015-05-28T06:41:21Z","closed_at":null,"body":"When window is in fullscreen state, if I call `window.hide()`, it leaves a black screen there.\r\n\r\nIf I call `window.leaveFullscreen(); window.hide()`, the leaveFullscreen animation seems to block window.hide() \r\nListen to the `leave-fullscreen` event, then call `window.hide()` also failed to hide window.\r\n\r\nHow to ensure window.hide() works well when in fullscreen?\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/18113354-when-window-is-in-fullscreen-hide-window-doesn-t-work-well-on-mac?utm_campaign=plugin&utm_content=tracker%2F51989&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F51989&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/nwjs/nw.js/issues/comments/106197059","html_url":"https://github.com/nwjs/nw.js/issues/3523#issuecomment-106197059","issue_url":"https://api.github.com/repos/nwjs/nw.js/issues/3523","id":106197059,"user":{"login":"rnons","id":1082650,"avatar_url":"https://avatars.githubusercontent.com/u/1082650?v=3","gravatar_id":"","url":"https://api.github.com/users/rnons","html_url":"https://github.com/rnons","followers_url":"https://api.github.com/users/rnons/followers","following_url":"https://api.github.com/users/rnons/following{/other_user}","gists_url":"https://api.github.com/users/rnons/gists{/gist_id}","starred_url":"https://api.github.com/users/rnons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rnons/subscriptions","organizations_url":"https://api.github.com/users/rnons/orgs","repos_url":"https://api.github.com/users/rnons/repos","events_url":"https://api.github.com/users/rnons/events{/privacy}","received_events_url":"https://api.github.com/users/rnons/received_events","type":"User","site_admin":false},"created_at":"2015-05-28T06:41:21Z","updated_at":"2015-05-28T06:41:21Z","body":"One second delay is not reliable. I ended up using two seconds delay"}}