{"action":"opened","issue":{"url":"https://api.github.com/repos/electron/electron/issues/8044","repository_url":"https://api.github.com/repos/electron/electron","labels_url":"https://api.github.com/repos/electron/electron/issues/8044/labels{/name}","comments_url":"https://api.github.com/repos/electron/electron/issues/8044/comments","events_url":"https://api.github.com/repos/electron/electron/issues/8044/events","html_url":"https://github.com/electron/electron/issues/8044","id":190876310,"number":8044,"title":"browserWindow.show and focus is unable to bring app window into focus (Windows?)","user":{"login":"MrBlenny","id":9685048,"avatar_url":"https://avatars.githubusercontent.com/u/9685048?v=3","gravatar_id":"","url":"https://api.github.com/users/MrBlenny","html_url":"https://github.com/MrBlenny","followers_url":"https://api.github.com/users/MrBlenny/followers","following_url":"https://api.github.com/users/MrBlenny/following{/other_user}","gists_url":"https://api.github.com/users/MrBlenny/gists{/gist_id}","starred_url":"https://api.github.com/users/MrBlenny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrBlenny/subscriptions","organizations_url":"https://api.github.com/users/MrBlenny/orgs","repos_url":"https://api.github.com/users/MrBlenny/repos","events_url":"https://api.github.com/users/MrBlenny/events{/privacy}","received_events_url":"https://api.github.com/users/MrBlenny/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-22T00:34:33Z","updated_at":"2016-11-22T00:34:33Z","closed_at":null,"body":"* Electron version: 1.4.4\r\n* Operating system: Windows 10\r\n\r\n### Description\r\nbrowserWindow.show() & focus() are unable to bring a browerwindow to the fore.\r\nInstead, the application icon just flashes in the taskbar.\r\n![Demo](https://i.imgur.com/fvhlS5Q.png)\r\n\r\nIn this example - I open chrome and I want to be able to bring the electron application back into focus pro grammatically. I'm not sure whether this is an electron problem or a limitation of windows?\r\n\r\n### How to reproduce\r\nSet a an interval that includes browerWindow.show and focus:\r\n``` javascript\r\nsetInterval(()=>{\r\n  browserWindow.show();\r\n  browserWindow.focus();\r\n},1000)\r\n```\r\nOpen another application and you should see that the electron app will not come it focus, instead the icon will flash."}}
{"actor":{"display_login":"MrBlenny"}}