<ul dir="auto">
<li>Electron version: 1.4.16 1.6.6</li>
<li>Operating system: Mac OS 10.11.6</li>
</ul>
<h3 dir="auto">Expected behavior</h3>
<p dir="auto">When creating a new window, setting property "show" to false should make the window stay hidden unless show() is called. The window should also send 'ready-to-show' event once its done loading.</p>
<h3 dir="auto">Actual behavior</h3>
<p dir="auto">It works properly unless you set a parent window on Mac OS. On Linux and Windows it works as expected.</p>
<h3 dir="auto">How to reproduce</h3>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="git clone https://github.com/ionphractal/electron-quick-start.git -b mac-show-bug
cd electron-quick-start
npm install
npm start || electron ."><pre class="notranslate">git clone https://github.com/ionphractal/electron-quick-start.git -b mac-show-bug
<span class="pl-c1">cd</span> electron-quick-start
npm install
npm start <span class="pl-k">||</span> electron <span class="pl-c1">.</span></pre></div>
<ul dir="auto">
<li>Electron version: 1.6.1</li>
<li>Operating system: macOS Sierra</li>
</ul>
<p dir="auto">When you do this from a renderer process:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="new electron.remote.BrowserWindow(
    parent: parentBrowserWindow,
    show: false,
);"><pre class="notranslate"><code class="notranslate">new electron.remote.BrowserWindow(
    parent: parentBrowserWindow,
    show: false,
);
</code></pre></div>
<p dir="auto">The browser window always shows even though the <code class="notranslate">show</code> option is <code class="notranslate">false</code>. If you do not provide a parent, the browser window respects the <code class="notranslate">show</code> option.</p>