{"action":"created","issue":{"url":"https://api.github.com/repos/electron/electron/issues/7051","repository_url":"https://api.github.com/repos/electron/electron","labels_url":"https://api.github.com/repos/electron/electron/issues/7051/labels{/name}","comments_url":"https://api.github.com/repos/electron/electron/issues/7051/comments","events_url":"https://api.github.com/repos/electron/electron/issues/7051/events","html_url":"https://github.com/electron/electron/issues/7051","id":174336712,"number":7051,"title":"Accelerators not working in current electron (prebuilt) 1.3.4","user":{"login":"kferrio","id":1403507,"avatar_url":"https://avatars.githubusercontent.com/u/1403507?v=3","gravatar_id":"","url":"https://api.github.com/users/kferrio","html_url":"https://github.com/kferrio","followers_url":"https://api.github.com/users/kferrio/followers","following_url":"https://api.github.com/users/kferrio/following{/other_user}","gists_url":"https://api.github.com/users/kferrio/gists{/gist_id}","starred_url":"https://api.github.com/users/kferrio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kferrio/subscriptions","organizations_url":"https://api.github.com/users/kferrio/orgs","repos_url":"https://api.github.com/users/kferrio/repos","events_url":"https://api.github.com/users/kferrio/events{/privacy}","received_events_url":"https://api.github.com/users/kferrio/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-08-31T17:52:36Z","updated_at":"2016-09-01T04:35:29Z","closed_at":null,"body":"* Electron version: 1.3.4\r\n* Operating system: Windows 10\r\n\r\nMenu item works as expected when clicked but does nothing in response to Ctrl-Q.  Used info at [https://github.com/electron/electron/blob/master/docs/api/accelerator.md]\r\n\r\n```\r\nconst electron = require('electron')\r\nconst {app, BrowserWindow, Menu} = electron\r\n\r\nlet menuTemplate = [\r\n  {\r\n    label: 'Menu',\r\n    submenu: [\r\n      {\r\n        label: 'Quit',\r\n        accelerator: 'CmdOrCtrl+Q',\r\n        click: function () { app.quit() }\r\n      }]\r\n  }\r\n]\r\n\r\napp.on('ready', function () {\r\n  new BrowserWindow()\r\n  const menu = Menu.buildFromTemplate(menuTemplate)\r\n  Menu.setApplicationMenu(menu)\r\n})\r\n```"},"comment":{"url":"https://api.github.com/repos/electron/electron/issues/comments/243973753","html_url":"https://github.com/electron/electron/issues/7051#issuecomment-243973753","issue_url":"https://api.github.com/repos/electron/electron/issues/7051","id":243973753,"user":{"login":"zcbenz","id":639601,"avatar_url":"https://avatars.githubusercontent.com/u/639601?v=3","gravatar_id":"","url":"https://api.github.com/users/zcbenz","html_url":"https://github.com/zcbenz","followers_url":"https://api.github.com/users/zcbenz/followers","following_url":"https://api.github.com/users/zcbenz/following{/other_user}","gists_url":"https://api.github.com/users/zcbenz/gists{/gist_id}","starred_url":"https://api.github.com/users/zcbenz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zcbenz/subscriptions","organizations_url":"https://api.github.com/users/zcbenz/orgs","repos_url":"https://api.github.com/users/zcbenz/repos","events_url":"https://api.github.com/users/zcbenz/events{/privacy}","received_events_url":"https://api.github.com/users/zcbenz/received_events","type":"User","site_admin":true},"created_at":"2016-09-01T04:35:29Z","updated_at":"2016-09-01T04:35:29Z","body":"Can you provide a minimal app that can reproduce this problem?"}}
{"actor":{"display_login":"zcbenz"}}