{"action":"created","issue":{"url":"https://api.github.com/repos/Hammerspoon/hammerspoon/issues/1","labels_url":"https://api.github.com/repos/Hammerspoon/hammerspoon/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/Hammerspoon/hammerspoon/issues/1/comments","events_url":"https://api.github.com/repos/Hammerspoon/hammerspoon/issues/1/events","html_url":"https://github.com/Hammerspoon/hammerspoon/issues/1","id":45292254,"number":1,"title":"Investigate when we should fire off hotkey events","user":{"login":"cmsj","id":353427,"avatar_url":"https://avatars.githubusercontent.com/u/353427?v=3","gravatar_id":"","url":"https://api.github.com/users/cmsj","html_url":"https://github.com/cmsj","followers_url":"https://api.github.com/users/cmsj/followers","following_url":"https://api.github.com/users/cmsj/following{/other_user}","gists_url":"https://api.github.com/users/cmsj/gists{/gist_id}","starred_url":"https://api.github.com/users/cmsj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmsj/subscriptions","organizations_url":"https://api.github.com/users/cmsj/orgs","repos_url":"https://api.github.com/users/cmsj/repos","events_url":"https://api.github.com/users/cmsj/events{/privacy}","received_events_url":"https://api.github.com/users/cmsj/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Hammerspoon/hammerspoon/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-10-08T20:26:46Z","updated_at":"2015-03-13T22:02:19Z","closed_at":"2015-03-13T22:02:19Z","body":"Right now hotkeys take effect when the specified key triggers KEY_UP, but usually the modifiers are still sending KEY_DOWN at that point, which means they are falling through to the focussed window. This can have very surprising side effects.\r\nPerhaps we should look at waiting until the modifiers are released before triggering events, or at least having it as an option."},"comment":{"url":"https://api.github.com/repos/Hammerspoon/hammerspoon/issues/comments/79460407","html_url":"https://github.com/Hammerspoon/hammerspoon/issues/1#issuecomment-79460407","issue_url":"https://api.github.com/repos/Hammerspoon/hammerspoon/issues/1","id":79460407,"user":{"login":"cmsj","id":353427,"avatar_url":"https://avatars.githubusercontent.com/u/353427?v=3","gravatar_id":"","url":"https://api.github.com/users/cmsj","html_url":"https://github.com/cmsj","followers_url":"https://api.github.com/users/cmsj/followers","following_url":"https://api.github.com/users/cmsj/following{/other_user}","gists_url":"https://api.github.com/users/cmsj/gists{/gist_id}","starred_url":"https://api.github.com/users/cmsj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmsj/subscriptions","organizations_url":"https://api.github.com/users/cmsj/orgs","repos_url":"https://api.github.com/users/cmsj/repos","events_url":"https://api.github.com/users/cmsj/events{/privacy}","received_events_url":"https://api.github.com/users/cmsj/received_events","type":"User","site_admin":false},"created_at":"2015-03-13T22:02:19Z","updated_at":"2015-03-13T22:02:19Z","body":"I don't think we should try and get clever and wait for modifiers to be released, there's no guarantee that they ever will be - e.g. if the user is triggering multiple hotkeys in a row. Closing."}}