{"action":"closed","issue":{"url":"https://api.github.com/repos/atom/electron/issues/4254","labels_url":"https://api.github.com/repos/atom/electron/issues/4254/labels{/name}","comments_url":"https://api.github.com/repos/atom/electron/issues/4254/comments","events_url":"https://api.github.com/repos/atom/electron/issues/4254/events","html_url":"https://github.com/atom/electron/issues/4254","id":129253422,"number":4254,"title":" Popup does not come up or gain focus on linux ","user":{"login":"MarcoPolo","id":594035,"avatar_url":"https://avatars.githubusercontent.com/u/594035?v=3","gravatar_id":"","url":"https://api.github.com/users/MarcoPolo","html_url":"https://github.com/MarcoPolo","followers_url":"https://api.github.com/users/MarcoPolo/followers","following_url":"https://api.github.com/users/MarcoPolo/following{/other_user}","gists_url":"https://api.github.com/users/MarcoPolo/gists{/gist_id}","starred_url":"https://api.github.com/users/MarcoPolo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarcoPolo/subscriptions","organizations_url":"https://api.github.com/users/MarcoPolo/orgs","repos_url":"https://api.github.com/users/MarcoPolo/repos","events_url":"https://api.github.com/users/MarcoPolo/events{/privacy}","received_events_url":"https://api.github.com/users/MarcoPolo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/atom/electron/labels/wontfix","name":"wontfix","color":"ffffff"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-27T20:05:35Z","updated_at":"2016-01-28T05:04:59Z","closed_at":"2016-01-28T05:04:59Z","body":"To Repro off this [fork of electron-quick-start](https://github.com/MarcoPolo/electron-quick-start/tree/popup-not-focused-linux) and [relevant code](https://github.com/MarcoPolo/electron-quick-start/compare/master...MarcoPolo:popup-not-focused-linux?expand=1)\r\n\r\n1. inside terminal: `npm start`\r\n2. press the `Popup new window in 5s` button\r\n3. switch back to terminal.\r\n4. fail to see popup take focus\r\n\r\nWhat should happen:\r\nStep 4 should have the popup take focus and accept input. (Does this on osx correctly)\r\n\r\n(Tested with ubuntu 14.04 on unity and Gnome Shell)\r\n\r\nQuick screen gif:\r\n\r\n![popup-linux](https://cloud.githubusercontent.com/assets/594035/12626534/f899a344-c4ed-11e5-97f7-18d6d4998899.gif)\r\n\r\nAnother interesting thing is that it pops up correctly if only the desktop has focus (not the terminal like above)\r\n\r\n![popup-linux-focused](https://cloud.githubusercontent.com/assets/594035/12626545/0e8b369a-c4ee-11e5-871c-9bd8e529bd20.gif)"}}