<ul dir="auto">
<li>Electron version: 1.8.1</li>
<li>Operating system: macOS 10.12.5</li>
</ul>
<h3 dir="auto">Expected behavior</h3>
<p dir="auto">Tray &gt; contextMenu &gt; menuItem(role="about")</p>
<p dir="auto">when I click menuItem to show about panel, can handle click event to show app.</p>
<h3 dir="auto">Actual behavior</h3>
<p dir="auto">no place can write click handle can make app to activate</p>
<h3 dir="auto">How to reproduce</h3>
<p dir="auto">Create a menuItem with "about" role in the tray's contextMenu. Run another application, with the window at the top, covering the electron's app. Click about menuItem in tray contextmenu. Can not be shown covered under the about the panel</p>
<ul dir="auto">
<li>Electron version: Electron built at <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/electron/electron/commit/aea06ed95f0ae88b33a5853caa76cf921b11a7af/hovercard" href="https://github.com/electron/electron/commit/aea06ed95f0ae88b33a5853caa76cf921b11a7af"><tt>aea06ed</tt></a></li>
<li>Operating system: macOS 10.13.2</li>
</ul>
<h3 dir="auto">Expected behavior</h3>
<p dir="auto"><code class="notranslate">MenuItem</code> click handlers should get called in the popped up context menu.</p>
<h3 dir="auto">Actual behavior</h3>
<p dir="auto">Click handlers never getting called back.</p>
<h3 dir="auto">How to reproduce</h3>
<p dir="auto">Open a popup in the main window:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="window.webContents.on('context-menu', (event) =&gt; {
    const menu = new Menu()
    menu.append(new MenuItem({label: 'MenuItem1', click() { console.log('item 1 clicked') }}))
    menu.append(new MenuItem({type: 'separator'}))
    menu.append(new MenuItem({label: 'MenuItem2', type: 'checkbox', checked: true}))
    menu.popup(mainWindow)
  })"><pre class="notranslate"><code class="notranslate">window.webContents.on('context-menu', (event) =&gt; {
    const menu = new Menu()
    menu.append(new MenuItem({label: 'MenuItem1', click() { console.log('item 1 clicked') }}))
    menu.append(new MenuItem({type: 'separator'}))
    menu.append(new MenuItem({label: 'MenuItem2', type: 'checkbox', checked: true}))
    menu.popup(mainWindow)
  })
</code></pre></div>
<p dir="auto">Right click on the running window and select <code class="notranslate">MenuItem1</code>, the log <code class="notranslate">item 1 clicked</code> should print but doesn't.</p>