{"action":"created","issue":{"url":"https://api.github.com/repos/Keypirinha/Keypirinha/issues/339","repository_url":"https://api.github.com/repos/Keypirinha/Keypirinha","labels_url":"https://api.github.com/repos/Keypirinha/Keypirinha/issues/339/labels{/name}","comments_url":"https://api.github.com/repos/Keypirinha/Keypirinha/issues/339/comments","events_url":"https://api.github.com/repos/Keypirinha/Keypirinha/issues/339/events","html_url":"https://github.com/Keypirinha/Keypirinha/issues/339","id":378920678,"node_id":"MDU6SXNzdWUzNzg5MjA2Nzg=","number":339,"title":"geometry setting active_monitor, mouse_pos not reliable","user":{"login":"poisonborz","id":1070611,"node_id":"MDQ6VXNlcjEwNzA2MTE=","avatar_url":"https://avatars1.githubusercontent.com/u/1070611?v=4","gravatar_id":"","url":"https://api.github.com/users/poisonborz","html_url":"https://github.com/poisonborz","followers_url":"https://api.github.com/users/poisonborz/followers","following_url":"https://api.github.com/users/poisonborz/following{/other_user}","gists_url":"https://api.github.com/users/poisonborz/gists{/gist_id}","starred_url":"https://api.github.com/users/poisonborz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poisonborz/subscriptions","organizations_url":"https://api.github.com/users/poisonborz/orgs","repos_url":"https://api.github.com/users/poisonborz/repos","events_url":"https://api.github.com/users/poisonborz/events{/privacy}","received_events_url":"https://api.github.com/users/poisonborz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-11-08T21:17:50Z","updated_at":"2018-11-14T19:12:21Z","closed_at":null,"author_association":"NONE","body":"When I set ```geometry``` to ```active_monitor``` or ```mouse_pos``` the LaunchBox will react haphazardly to changes (active window on another display or cursor pos change). Eg. selecting another window on another display  -> sometimes it takes 5-8 reopening of the LaunchBox until the change is detected, sometimes it's never detected (couldn't find a pattern).\r\n\r\nI'm using Win10 with latest version, no console errors."},"comment":{"url":"https://api.github.com/repos/Keypirinha/Keypirinha/issues/comments/438782740","html_url":"https://github.com/Keypirinha/Keypirinha/issues/339#issuecomment-438782740","issue_url":"https://api.github.com/repos/Keypirinha/Keypirinha/issues/339","id":438782740,"node_id":"MDEyOklzc3VlQ29tbWVudDQzODc4Mjc0MA==","user":{"login":"polyvertex","id":2626029,"node_id":"MDQ6VXNlcjI2MjYwMjk=","avatar_url":"https://avatars2.githubusercontent.com/u/2626029?v=4","gravatar_id":"","url":"https://api.github.com/users/polyvertex","html_url":"https://github.com/polyvertex","followers_url":"https://api.github.com/users/polyvertex/followers","following_url":"https://api.github.com/users/polyvertex/following{/other_user}","gists_url":"https://api.github.com/users/polyvertex/gists{/gist_id}","starred_url":"https://api.github.com/users/polyvertex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/polyvertex/subscriptions","organizations_url":"https://api.github.com/users/polyvertex/orgs","repos_url":"https://api.github.com/users/polyvertex/repos","events_url":"https://api.github.com/users/polyvertex/events{/privacy}","received_events_url":"https://api.github.com/users/polyvertex/received_events","type":"User","site_admin":false},"created_at":"2018-11-14T19:12:21Z","updated_at":"2018-11-14T19:12:21Z","author_association":"MEMBER","body":"Regarding the `active_monitor` option, Keypirinha falls back to primary monitor when there is no foreground window activated. As weird as it sounds, it can happen according to Microsoft's documentation. For now KP does not do anything fancy except just querying the OS about the \"foreground window\" so I'll try to dig further and see if there's a way to get something more reliable.\r\n\r\nI'm more skeptical about the issue regarding `mouse_pos` option since the Windows API used to get mouse coordinates basically never fails."}}
{"actor":{"display_login":"polyvertex"}}