{"action":"created","issue":{"url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/issues/3124","repository_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2","labels_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/issues/3124/labels{/name}","comments_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/issues/3124/comments","events_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/issues/3124/events","html_url":"https://github.com/OpenRCT2/OpenRCT2/issues/3124","id":140026636,"number":3124,"title":"Fullscreen mode setting on OS X is broken","user":{"login":"marijnvdwerf","id":737603,"avatar_url":"https://avatars.githubusercontent.com/u/737603?v=3","gravatar_id":"","url":"https://api.github.com/users/marijnvdwerf","html_url":"https://github.com/marijnvdwerf","followers_url":"https://api.github.com/users/marijnvdwerf/followers","following_url":"https://api.github.com/users/marijnvdwerf/following{/other_user}","gists_url":"https://api.github.com/users/marijnvdwerf/gists{/gist_id}","starred_url":"https://api.github.com/users/marijnvdwerf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marijnvdwerf/subscriptions","organizations_url":"https://api.github.com/users/marijnvdwerf/orgs","repos_url":"https://api.github.com/users/marijnvdwerf/repos","events_url":"https://api.github.com/users/marijnvdwerf/events{/privacy}","received_events_url":"https://api.github.com/users/marijnvdwerf/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/labels/OS%20X%20(OS)","name":"OS X (OS)","color":"bfd4f2"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":35,"created_at":"2016-03-10T22:22:52Z","updated_at":"2016-03-13T21:34:49Z","closed_at":null,"body":"**OS:** OS X 10.11\r\n**Version:** 0.0.4-develop\r\n**Commit:** 53cd4c7935f02e18819b9e3b11c956ac08062cd9\r\n\r\nThe 'Fullscreen mode' setting conflicts with the native fullscreen mode setting\r\n\r\n| start state |          | switch to                     | issues\r\n| --------------|--------|------------------------------|----------\r\n| Window    | RCT | Fullscreen                  | - Other apps lose access to input\r\n| Window    | RCT | Fullscreen (Desktop) | - When moving the mouse to the top of the screen, OS controls don't appear.\r\n| Window    | OS X | Fullscreen                | - Settings show as being in 'Windowed' mode. Otherwise works perfectly.\r\n| | | | From then on, when changing settings, things start going wrong. (crashes/hanging)\r\n\r\n- [ ] ~~Reproducable in RCT2 (vanilla)?~~\r\n- [ ] Multiplayer?\r\n\r\n**Steps to reproduce:**\r\n1. Start game in windowed mode\r\n2. Use full-screen control in title bar to go full screen\r\n3. Start messing with Full screen setting\r\n\r\n~~**Screenshots / Video:**~~\r\n\r\n~~**Save game:**~~\r\n\r\n\r\n**Proposed solution:**\r\nRemove/disable full-screen settings (Full screen mode, display resolution, minimise on focus loss) from game in OS X release.\r\n"},"comment":{"url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/issues/comments/196056750","html_url":"https://github.com/OpenRCT2/OpenRCT2/issues/3124#issuecomment-196056750","issue_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/issues/3124","id":196056750,"user":{"login":"LRFLEW","id":607715,"avatar_url":"https://avatars.githubusercontent.com/u/607715?v=3","gravatar_id":"","url":"https://api.github.com/users/LRFLEW","html_url":"https://github.com/LRFLEW","followers_url":"https://api.github.com/users/LRFLEW/followers","following_url":"https://api.github.com/users/LRFLEW/following{/other_user}","gists_url":"https://api.github.com/users/LRFLEW/gists{/gist_id}","starred_url":"https://api.github.com/users/LRFLEW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LRFLEW/subscriptions","organizations_url":"https://api.github.com/users/LRFLEW/orgs","repos_url":"https://api.github.com/users/LRFLEW/repos","events_url":"https://api.github.com/users/LRFLEW/events{/privacy}","received_events_url":"https://api.github.com/users/LRFLEW/received_events","type":"User","site_admin":false},"created_at":"2016-03-13T21:34:49Z","updated_at":"2016-03-13T21:34:49Z","body":"I PM'd @marijnvdwerf a little bit about this, so I'm going to put it here. This issue can be broken up into two sections: SDL2 and Invalid Window States. We can try to change how SDL2 is working (as I did with the branch I linked), but it's really counter-productive. I've looked into the illegal state thing, and I'm thinking it might be a good idea to change the code so that when it changes states it destroys the current window and recreates it. This avoids issues of invalid window states, and might fix the core of the issue, while still allowing \"window-as-space\" (what I'm calling maximized) and both Fullscreen modes to co-exist."}}