{"action":"created","issue":{"url":"https://api.github.com/repos/fontforge/fontforge/issues/2120","labels_url":"https://api.github.com/repos/fontforge/fontforge/issues/2120/labels{/name}","comments_url":"https://api.github.com/repos/fontforge/fontforge/issues/2120/comments","events_url":"https://api.github.com/repos/fontforge/fontforge/issues/2120/events","html_url":"https://github.com/fontforge/fontforge/issues/2120","id":60177299,"number":2120,"title":"Bring back breakpad on osx","user":{"login":"monkeyiq","id":387108,"avatar_url":"https://avatars.githubusercontent.com/u/387108?v=3","gravatar_id":"","url":"https://api.github.com/users/monkeyiq","html_url":"https://github.com/monkeyiq","followers_url":"https://api.github.com/users/monkeyiq/followers","following_url":"https://api.github.com/users/monkeyiq/following{/other_user}","gists_url":"https://api.github.com/users/monkeyiq/gists{/gist_id}","starred_url":"https://api.github.com/users/monkeyiq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monkeyiq/subscriptions","organizations_url":"https://api.github.com/users/monkeyiq/orgs","repos_url":"https://api.github.com/users/monkeyiq/repos","events_url":"https://api.github.com/users/monkeyiq/events{/privacy}","received_events_url":"https://api.github.com/users/monkeyiq/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/fontforge/fontforge/labels/clarifying","name":"clarifying","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-03-07T00:05:49Z","updated_at":"2015-03-07T02:21:59Z","closed_at":null,"body":"The build 201412/14_0426 marked the merge of breakpad for the client side on osx. Unfortunately the breakpad functionality stopped working on 201412/20_0427 and later builds. I notice a commit at around that time https://github.com/fontforge/fontforge/commit/07834e53d33dd5356b468569edb4873cd700e1ec which disables listen_to_apple_events. Disabling apple_events also disables a whole block which implements the main loop on osx, falling back to the general main loop: [startui.c#L1359](https://github.com/fontforge/fontforge/blob/master/fontforgeexe/startui.c#L1359).\r\n\r\nI'm happy to not rely on RunApplicationEventLoop() on osx, but instead, after installing the apple_event handlers and the cocoa application, just use the same event handling main loop as Linux and Win use. Unfortunately, if you disable the cocoa application setup then you also disable the breakpad handling which wants to hook into the objective-c Application object [MacBreakpadStarterGuide](http://code.google.com/p/google-breakpad/wiki/MacBreakpadStarterGuide#Write_Code!).\r\n\r\n@frank-trampe I realize that it's months on now, but do you recall which issues were being solved by https://github.com/fontforge/fontforge/commit/07834e53d33dd5356b468569edb4873cd700e1ec so that I can try to keep an eye out for them when I reenable part of the apple_events code.\r\n"},"comment":{"url":"https://api.github.com/repos/fontforge/fontforge/issues/comments/77668243","html_url":"https://github.com/fontforge/fontforge/issues/2120#issuecomment-77668243","issue_url":"https://api.github.com/repos/fontforge/fontforge/issues/2120","id":77668243,"user":{"login":"monkeyiq","id":387108,"avatar_url":"https://avatars.githubusercontent.com/u/387108?v=3","gravatar_id":"","url":"https://api.github.com/users/monkeyiq","html_url":"https://github.com/monkeyiq","followers_url":"https://api.github.com/users/monkeyiq/followers","following_url":"https://api.github.com/users/monkeyiq/following{/other_user}","gists_url":"https://api.github.com/users/monkeyiq/gists{/gist_id}","starred_url":"https://api.github.com/users/monkeyiq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monkeyiq/subscriptions","organizations_url":"https://api.github.com/users/monkeyiq/orgs","repos_url":"https://api.github.com/users/monkeyiq/repos","events_url":"https://api.github.com/users/monkeyiq/events{/privacy}","received_events_url":"https://api.github.com/users/monkeyiq/received_events","type":"User","site_admin":false},"created_at":"2015-03-07T02:21:59Z","updated_at":"2015-03-07T02:21:59Z","body":"ok, I merged the above PR. If the pausing happens then I'll take a knife to it and trim back some more to be closer to listen_to_apple_events=false;"}}