{"action":"created","issue":{"url":"https://api.github.com/repos/Hammerspoon/hammerspoon/issues/1744","repository_url":"https://api.github.com/repos/Hammerspoon/hammerspoon","labels_url":"https://api.github.com/repos/Hammerspoon/hammerspoon/issues/1744/labels{/name}","comments_url":"https://api.github.com/repos/Hammerspoon/hammerspoon/issues/1744/comments","events_url":"https://api.github.com/repos/Hammerspoon/hammerspoon/issues/1744/events","html_url":"https://github.com/Hammerspoon/hammerspoon/issues/1744","id":313537422,"number":1744,"title":"Make chooser to refocus previous window when disappeared","user":{"login":"casouri","id":13118647,"avatar_url":"https://avatars2.githubusercontent.com/u/13118647?v=4","gravatar_id":"","url":"https://api.github.com/users/casouri","html_url":"https://github.com/casouri","followers_url":"https://api.github.com/users/casouri/followers","following_url":"https://api.github.com/users/casouri/following{/other_user}","gists_url":"https://api.github.com/users/casouri/gists{/gist_id}","starred_url":"https://api.github.com/users/casouri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/casouri/subscriptions","organizations_url":"https://api.github.com/users/casouri/orgs","repos_url":"https://api.github.com/users/casouri/repos","events_url":"https://api.github.com/users/casouri/events{/privacy}","received_events_url":"https://api.github.com/users/casouri/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":14,"created_at":"2018-04-12T00:43:29Z","updated_at":"2018-04-17T13:11:27Z","closed_at":null,"author_association":"NONE","body":"Currently, if a chooser hides away, it doesn't return the focus to the previously focused window.\r\n\r\nI consider returning the focus as a pretty much well-accepted behavior for a popup menu. \r\n\r\nWhat do you think?\r\n\r\nEmoji Spoon already implemented the \"refocus\" feature as mentioned in author's blog, I didn't read his code though."},"comment":{"url":"https://api.github.com/repos/Hammerspoon/hammerspoon/issues/comments/381986838","html_url":"https://github.com/Hammerspoon/hammerspoon/issues/1744#issuecomment-381986838","issue_url":"https://api.github.com/repos/Hammerspoon/hammerspoon/issues/1744","id":381986838,"user":{"login":"latenitefilms","id":22286696,"avatar_url":"https://avatars2.githubusercontent.com/u/22286696?v=4","gravatar_id":"","url":"https://api.github.com/users/latenitefilms","html_url":"https://github.com/latenitefilms","followers_url":"https://api.github.com/users/latenitefilms/followers","following_url":"https://api.github.com/users/latenitefilms/following{/other_user}","gists_url":"https://api.github.com/users/latenitefilms/gists{/gist_id}","starred_url":"https://api.github.com/users/latenitefilms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/latenitefilms/subscriptions","organizations_url":"https://api.github.com/users/latenitefilms/orgs","repos_url":"https://api.github.com/users/latenitefilms/repos","events_url":"https://api.github.com/users/latenitefilms/events{/privacy}","received_events_url":"https://api.github.com/users/latenitefilms/received_events","type":"User","site_admin":false},"created_at":"2018-04-17T13:11:27Z","updated_at":"2018-04-17T13:11:27Z","author_association":"CONTRIBUTOR","body":"@cmsj - Whilst you're in `hs.chooser` land - any chance you could give #1624 a bash too? I'm ASSUMING this won't be too hard to implement? I tried to give it a go, but I'd need some more guidance to push me in the right direction of how to get `hs.styledtext` and `hs.chooser` to play nicely together. No stress if you're flat out though - seriously appreciate all the bug-hunting you've been doing!!"}}
{"actor":{"display_login":"latenitefilms"}}