<ul dir="auto">
<li>Output of <code class="notranslate">node_modules/.bin/electron --version</code>:  v3.0.0</li>
<li>Operating System (Platform and Version): Windows 10 v1803</li>
<li>Output of <code class="notranslate">node_modules/.bin/electron --version</code> on last known working Electron version (if applicable): v2.0.8</li>
</ul>
<p dir="auto"><strong>Expected Behavior</strong><br>
Get 'screen' sources by calling desktopCapturer.getSources({types: ['screen']}, (error, sources) =&gt; {...}).</p>
<p dir="auto"><strong>Actual behavior</strong><br>
Electron crashes.</p>
<p dir="auto"><strong>To Reproduce</strong><br>
In the dev console of any Electron app using v3.0.0:<br>
require("electron").desktopCapturer.getSources({types: ['screen']}, (error, sources) =&gt; {})</p>
<p dir="auto"><strong>Additional Information</strong><br>
This was working fine before updating from v2.0.8 to v3.0.0.  After updating, trying to get screen sources crashes immediately.  I was able to reproduce this with the quick start app using v3.0.0.</p>
<p dir="auto">I tried unplugging my external monitor to see if that made a difference, but it didn't.</p>
<ul dir="auto">
<li>Electron version: 1.6.1, 1.4.0</li>
<li>Operating system: macOS 10.12.3</li>
</ul>
<p dir="auto">I click a file upload button (input element with type 'file'), and try to quick look a numbers file by clicking the 'Quick Look' item from the context menu, but the close button on the upper left of the quick look window is not clickable. I click it, and nothing happens. Have to press <code class="notranslate">ESC</code>.</p>
<h3 dir="auto">Expected behavior</h3>
<p dir="auto">Click the close button on the upper left and the quick look window will disappear</p>
<h3 dir="auto">Actual behavior</h3>
<p dir="auto">Click the close button on the upper left and nothing happens.<br>
You have to press <code class="notranslate">ESC</code> to close the quick look window.</p>
<h3 dir="auto">How to reproduce</h3>
<p dir="auto"><a href="https://github.com/zoubin/repro-electron-quick-look-window-unclosable">https://github.com/zoubin/repro-electron-quick-look-window-unclosable</a></p>