{"action":"opened","issue":{"url":"https://api.github.com/repos/Alloyed/nativefiledialog/issues/5","repository_url":"https://api.github.com/repos/Alloyed/nativefiledialog","labels_url":"https://api.github.com/repos/Alloyed/nativefiledialog/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/Alloyed/nativefiledialog/issues/5/comments","events_url":"https://api.github.com/repos/Alloyed/nativefiledialog/issues/5/events","html_url":"https://github.com/Alloyed/nativefiledialog/issues/5","id":209097640,"number":5,"title":"bug in nfd_cocoa.m (some calls don't restore focus to main window)","user":{"login":"andykt","id":6424896,"avatar_url":"https://avatars.githubusercontent.com/u/6424896?v=3","gravatar_id":"","url":"https://api.github.com/users/andykt","html_url":"https://github.com/andykt","followers_url":"https://api.github.com/users/andykt/followers","following_url":"https://api.github.com/users/andykt/following{/other_user}","gists_url":"https://api.github.com/users/andykt/gists{/gist_id}","starred_url":"https://api.github.com/users/andykt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andykt/subscriptions","organizations_url":"https://api.github.com/users/andykt/orgs","repos_url":"https://api.github.com/users/andykt/repos","events_url":"https://api.github.com/users/andykt/events{/privacy}","received_events_url":"https://api.github.com/users/andykt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-02-21T10:11:12Z","updated_at":"2017-02-21T10:11:12Z","closed_at":null,"body":"Much thanks for your work Alloyed!  Just wanted to report a bug in nfd_cocoa.m.\r\nThe NFD_OpenDialogMultiple and NFD_SaveDialog routines are not resetting the focus to the main window when they finish.   NFD_OpenDialog has no such problem because it uses these two calls:\r\n\r\nNSWindow *keyWindow = [[NSApplication sharedApplication] keyWindow];\r\n...\r\n[keyWindow makeKeyAndOrderFront:nil];\r\n\r\nTo fix the bug just add these calls to the same places in NFD_OpenDialogMultiple and NFD_SaveDialog.\r\n"}}
{"actor":{"display_login":"andykt"}}