<p dir="auto">In the latest releases of atom-shell when I add code for a BrowserWindow. It loads the window my code has requested but then also loads an additional blank one.</p>
<p dir="auto">So for example I have this code:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="mainWindow = new BrowserWindow({
       &quot;width&quot;: 800,
       &quot;height&quot;: 600,
       &quot;fullscreen&quot;:false,
       &quot;kiosk&quot;: false,
       &quot;resizable&quot;:false,
       &quot;frame&quot;:true,
       &quot;web-preferences&quot;:{
          &quot;web-security&quot;:false
       },
       &quot;show&quot;:true
    });"><pre class="notranslate"><code class="notranslate">mainWindow = new BrowserWindow({
       "width": 800,
       "height": 600,
       "fullscreen":false,
       "kiosk": false,
       "resizable":false,
       "frame":true,
       "web-preferences":{
          "web-security":false
       },
       "show":true
    });
</code></pre></div>
<p dir="auto">But I get an empty white window (that is resizeable, and note that my code has this set to false) in addition to my own window that I have requested.</p>
<p dir="auto">What's really interesting is that if I set frame to false, this doesn't happen! And if I delete the code above then it doesn't happen either. So it's like calling a browserwindow with a frame in the latest versions causes a duplicate window to be created.</p>
<p dir="auto">I can confirm this bug happens in 0.19.5 and 0.20.3 but DOES NOT in 0.18.1, so it seems a recent fix in the later versions causes this issue. I'm testing on Windows 7.</p>
<ul dir="auto">
<li>Have one window opened by electron that opens a child window using window.open</li>
<li>the parent does a postMessage to the child</li>
<li>window.opener does not equal evt.source since evt.source is a BrowserWindow, but window.opener is not</li>
</ul>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/309321/11744118/739bb3ba-a005-11e5-95ce-00e4544db436.png"><img src="https://cloud.githubusercontent.com/assets/309321/11744118/739bb3ba-a005-11e5-95ce-00e4544db436.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">Electron 0.36.0, windows x64</p>