{"action":"opened","issue":{"url":"https://api.github.com/repos/atom/electron/issues/2580","labels_url":"https://api.github.com/repos/atom/electron/issues/2580/labels{/name}","comments_url":"https://api.github.com/repos/atom/electron/issues/2580/comments","events_url":"https://api.github.com/repos/atom/electron/issues/2580/events","html_url":"https://github.com/atom/electron/issues/2580","id":102968944,"number":2580,"title":"OS X: Clicking tray icon quickly several times causes context menu to stop opening","user":{"login":"jorangreef","id":413206,"avatar_url":"https://avatars.githubusercontent.com/u/413206?v=3","gravatar_id":"","url":"https://api.github.com/users/jorangreef","html_url":"https://github.com/jorangreef","followers_url":"https://api.github.com/users/jorangreef/followers","following_url":"https://api.github.com/users/jorangreef/following{/other_user}","gists_url":"https://api.github.com/users/jorangreef/gists{/gist_id}","starred_url":"https://api.github.com/users/jorangreef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jorangreef/subscriptions","organizations_url":"https://api.github.com/users/jorangreef/orgs","repos_url":"https://api.github.com/users/jorangreef/repos","events_url":"https://api.github.com/users/jorangreef/events{/privacy}","received_events_url":"https://api.github.com/users/jorangreef/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-25T07:43:04Z","updated_at":"2015-08-25T07:43:04Z","closed_at":null,"body":"I noticed that on OS X, clicking the tray icon quickly several times sometimes does not open the context menu. One can then continue clicking the icon, and the highlight and pressed image will toggle, but no tray menu will show at all, except the pressed image is shown when there is no highlight (and vice versa).\r\n\r\nI did not attach any click listeners.\r\n\r\nHere is a screenshot taken of the tray icon after clicking several times, the icon is highlighted but no context menu is shown, and the pressed image is not used as it should be. It remains in this state even after clicking elsewhere and focusing another application in the OS.\r\n\r\n![image](https://cloud.githubusercontent.com/assets/413206/9461223/262ecbfa-4b0d-11e5-9ff0-56b8987842f3.png)"}}