{"action":"created","issue":{"url":"https://api.github.com/repos/supercollider/supercollider/issues/2000","repository_url":"https://api.github.com/repos/supercollider/supercollider","labels_url":"https://api.github.com/repos/supercollider/supercollider/issues/2000/labels{/name}","comments_url":"https://api.github.com/repos/supercollider/supercollider/issues/2000/comments","events_url":"https://api.github.com/repos/supercollider/supercollider/issues/2000/events","html_url":"https://github.com/supercollider/supercollider/issues/2000","id":150814670,"number":2000,"title":"Expected a boolean from `getProperty` in Views but got `nil` instead.","user":{"login":"telephon","id":1810559,"avatar_url":"https://avatars.githubusercontent.com/u/1810559?v=3","gravatar_id":"","url":"https://api.github.com/users/telephon","html_url":"https://github.com/telephon","followers_url":"https://api.github.com/users/telephon/followers","following_url":"https://api.github.com/users/telephon/following{/other_user}","gists_url":"https://api.github.com/users/telephon/gists{/gist_id}","starred_url":"https://api.github.com/users/telephon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/telephon/subscriptions","organizations_url":"https://api.github.com/users/telephon/orgs","repos_url":"https://api.github.com/users/telephon/repos","events_url":"https://api.github.com/users/telephon/events{/privacy}","received_events_url":"https://api.github.com/users/telephon/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/supercollider/supercollider/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/supercollider/supercollider/labels/comp:%20Qt%20GUI","name":"comp: Qt GUI","color":"CFFF7D"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-25T10:23:14Z","updated_at":"2016-04-25T17:39:31Z","closed_at":null,"body":"```\r\na = View.new; a.close; \r\na.getProperty( \\fullScreen ) // returns nil instead of false\r\n```\r\n\r\nbut many methods assume a Boolean, so we get errors, like when closing a Stethoscope window:\r\n\r\n```\r\nERROR: Non Boolean in test.\r\nRECEIVER:\r\n   nil\r\nCALL STACK:\r\n\tMethodError:reportError   0x11403e8e8\r\n\t\targ this = <instance of MustBeBooleanError>\r\n\tNil:handleError   0x11442dad8\r\n\t\targ this = nil\r\n\t\targ error = <instance of MustBeBooleanError>\r\n\tThread:handleError   0x113a81468\r\n\t\targ this = <instance of Thread>\r\n\t\targ error = <instance of MustBeBooleanError>\r\n\tObject:throw   0x1139edaf8\r\n\t\targ this = <instance of MustBeBooleanError>\r\n\tObject:mustBeBoolean   0x114082818\r\n\t\targ this = nil\r\n\tView:close   0x11396f768\r\n\t\targ this = <instance of TopView>\r\n\tWindow:close   0x113967208\r\n\t\targ this = <instance of Window>\r\n\tFunction:defer   0x113d35c48\r\n\t\targ this = <instance of Function>\r\n\t\targ delta = nil\r\n\tStethoscope:quit   0x1141e1138\r\n\t\targ this = <instance of Stethoscope>\r\n\t\tvar win = <instance of Window>\r\n\t< FunctionDef in Method Collection:collectInPlace >   0x1136ac908\r\n\t\targ item = <instance of Function>\r\n\t\targ i = 0\r\n\tArrayedCollection:do   0x1139a97c8\r\n\t\targ this = [*2]\r\n\t\targ function = <instance of Function>\r\n\t\tvar i = 0\r\n\tCollection:collectInPlace   0x165a97ce8\r\n\t\targ this = [*2]\r\n\t\targ function = <instance of Function>\r\n\tFunctionList:value   0x113774158\r\n\t\targ this = <instance of FunctionList>\r\n\t\targ args = [*1]\r\n\t\tvar res = nil\r\n\tQObject:doFunction   0x11376c0c8\r\n\t\targ this = <instance of TopView>\r\n\t\targ f = <instance of FunctionList>\r\n\t\targ args = [*0]\r\n^^ The preceding error dump is for ERROR: Non Boolean in test.\r\nRECEIVER: nil\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/supercollider/supercollider/issues/comments/214454003","html_url":"https://github.com/supercollider/supercollider/issues/2000#issuecomment-214454003","issue_url":"https://api.github.com/repos/supercollider/supercollider/issues/2000","id":214454003,"user":{"login":"telephon","id":1810559,"avatar_url":"https://avatars.githubusercontent.com/u/1810559?v=3","gravatar_id":"","url":"https://api.github.com/users/telephon","html_url":"https://github.com/telephon","followers_url":"https://api.github.com/users/telephon/followers","following_url":"https://api.github.com/users/telephon/following{/other_user}","gists_url":"https://api.github.com/users/telephon/gists{/gist_id}","starred_url":"https://api.github.com/users/telephon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/telephon/subscriptions","organizations_url":"https://api.github.com/users/telephon/orgs","repos_url":"https://api.github.com/users/telephon/repos","events_url":"https://api.github.com/users/telephon/events{/privacy}","received_events_url":"https://api.github.com/users/telephon/received_events","type":"User","site_admin":false},"created_at":"2016-04-25T17:39:31Z","updated_at":"2016-04-25T17:39:31Z","body":"Ah I see, this was #1903. But the real source of the problem is #2000, I think."}}