{"action":"created","issue":{"url":"https://api.github.com/repos/cs340tabyu/CatanBugTracker/issues/500","labels_url":"https://api.github.com/repos/cs340tabyu/CatanBugTracker/issues/500/labels{/name}","comments_url":"https://api.github.com/repos/cs340tabyu/CatanBugTracker/issues/500/comments","events_url":"https://api.github.com/repos/cs340tabyu/CatanBugTracker/issues/500/events","html_url":"https://github.com/cs340tabyu/CatanBugTracker/issues/500","id":118142994,"number":500,"title":"Team 9 - Phase 3 Everything freezes when it's not the players turn","user":{"login":"SteMDawson","id":11724911,"avatar_url":"https://avatars.githubusercontent.com/u/11724911?v=3","gravatar_id":"","url":"https://api.github.com/users/SteMDawson","html_url":"https://github.com/SteMDawson","followers_url":"https://api.github.com/users/SteMDawson/followers","following_url":"https://api.github.com/users/SteMDawson/following{/other_user}","gists_url":"https://api.github.com/users/SteMDawson/gists{/gist_id}","starred_url":"https://api.github.com/users/SteMDawson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SteMDawson/subscriptions","organizations_url":"https://api.github.com/users/SteMDawson/orgs","repos_url":"https://api.github.com/users/SteMDawson/repos","events_url":"https://api.github.com/users/SteMDawson/events{/privacy}","received_events_url":"https://api.github.com/users/SteMDawson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-20T22:45:45Z","updated_at":"2015-11-21T23:55:50Z","closed_at":null,"body":"Everything freezes when it's not the players turn\r\n\r\n*** Note *** We had a similiar bug and it was very perplexing, we discovered that --- for us --- this bug occurred when we were opening more modals than we were closing. i.e. opening the RollView twice, letting the player roll, then pulling hair out when the whole game freezes.\r\n\r\nThis happened --- for us -- because the .showModal() method turns off keyboard and mouse inputs and makes all open modal invisible except for the most recently opened modal. closeModal() method doesn't just make a modal invisible, it pops the most recent modal of the stack and turns on the one underneath it. When modals are being added that shouldn't be, the method can have one of two behaviors, either it will reveal a window you thought was closed and no longer needed (like the join view, or color selection view) or it will freeze your game.\r\n\r\nbecause I noticed that your player Waiting view is being opened and closed in sync with your poller, my first bet is that the deque of overlay's that keeps track of your modals is becoming overpopulated by playerwaiting views. Thats my first guess, after that i'd check the join view, the color selection view, and the roll view, in that order.\r\n\r\nif none of those appear on the overlayStack more than once, then i'm sorry, your glitch is something different than ours and I don't know how to help you.\r\n\r\nhope this helps!"},"comment":{"url":"https://api.github.com/repos/cs340tabyu/CatanBugTracker/issues/comments/158691587","html_url":"https://github.com/cs340tabyu/CatanBugTracker/issues/500#issuecomment-158691587","issue_url":"https://api.github.com/repos/cs340tabyu/CatanBugTracker/issues/500","id":158691587,"user":{"login":"darin-costello","id":15371350,"avatar_url":"https://avatars.githubusercontent.com/u/15371350?v=3","gravatar_id":"","url":"https://api.github.com/users/darin-costello","html_url":"https://github.com/darin-costello","followers_url":"https://api.github.com/users/darin-costello/followers","following_url":"https://api.github.com/users/darin-costello/following{/other_user}","gists_url":"https://api.github.com/users/darin-costello/gists{/gist_id}","starred_url":"https://api.github.com/users/darin-costello/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darin-costello/subscriptions","organizations_url":"https://api.github.com/users/darin-costello/orgs","repos_url":"https://api.github.com/users/darin-costello/repos","events_url":"https://api.github.com/users/darin-costello/events{/privacy}","received_events_url":"https://api.github.com/users/darin-costello/received_events","type":"User","site_admin":false},"created_at":"2015-11-21T23:55:50Z","updated_at":"2015-11-21T23:55:50Z","body":"Fixed"}}