<ul dir="auto">
<li>Electron version: 1.4.1</li>
<li>Operating system: Windows 10</li>
</ul>
<p dir="auto">I open a window with ({fullscreen: true}) property and it load the URL just fine<br>
but when i press F11 to leave Fullscreen mode the window not responding and when i click on the window to get focus, it (the window) disappear and the npm session in the console keep to run</p>
<ul dir="auto">
<li>Electron version: 1.2.0, 1.2.1, 1.2.2</li>
<li>Operating system: Windows</li>
</ul>
<p dir="auto">If you start an browser window in fullscreen and then attempt to toggle to windowed mode, the window will just black out and become unresponsive. Attempting to toggle back again still results in a black screen.</p>
<p dir="auto">However, if you start the window in windowed mode and then toggle to fullscreen, it works as expected.</p>
<p dir="auto">This maybe related to the fixes made to the fullscreen API in 1.2.x. It only occurs on Windows. It does not happen on 1.1.3.</p>
<p dir="auto">You can reproduce easily with the <code class="notranslate">electron-api-demos</code> application and 1.2.2.<br>
<a href="https://github.com/electron/electron-api-demos">https://github.com/electron/electron-api-demos</a></p>
<p dir="auto">Update <code class="notranslate">window-options</code> to set <code class="notranslate">fullscreen: true</code><br>
<a href="https://github.com/electron/electron-api-demos/blob/master/main.js#L22">https://github.com/electron/electron-api-demos/blob/master/main.js#L22</a></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="var windowOptions = {
      width: 1080,
      minWidth: 680,
      height: 840,
      title: app.getName(),
      fullscreen: true
    }"><pre class="notranslate"><code class="notranslate">var windowOptions = {
      width: 1080,
      minWidth: 680,
      height: 840,
      title: app.getName(),
      fullscreen: true
    }
</code></pre></div>
<p dir="auto">Start the application and hit F11 to switch to windowed mode and you'll get a black screen.</p>