<ul dir="auto">
<li>Electron Version: v3.0.0-beta.5</li>
<li>Operating System (Platform and Version): Mac 10.12.6 (16G1510)</li>
<li>Last known working Electron version: v2</li>
</ul>
<p dir="auto"><strong>Expected Behavior</strong><br>
Window controls should be visible.</p>
<p dir="auto"><strong>Actual behavior</strong><br>
They are invisible. HOWEVER, they are clickable, if you click in the right spot.</p>
<p dir="auto"><strong>To Reproduce</strong></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="  mainWindow = new BrowserWindow({
    acceptFirstMouse: true,
    backgroundColor: '#333333',

    width: Math.min(width, 2480),
    height: Math.min(height, 1350),

    title: path.basename(filename),

    minWidth: 1024,
    minHeight: 640,
    show: false,
    resizable: true,
    titleBarStyle: 'hiddenInset',
    webPreferences: {
      webgl: true,
      experimentalFeatures: true,
      experimentalCanvasFeatures: true,
      devTools: true,
      plugins: true
    } 
  })
"><pre class="notranslate"><code class="notranslate">  mainWindow = new BrowserWindow({
    acceptFirstMouse: true,
    backgroundColor: '#333333',

    width: Math.min(width, 2480),
    height: Math.min(height, 1350),

    title: path.basename(filename),

    minWidth: 1024,
    minHeight: 640,
    show: false,
    resizable: true,
    titleBarStyle: 'hiddenInset',
    webPreferences: {
      webgl: true,
      experimentalFeatures: true,
      experimentalCanvasFeatures: true,
      devTools: true,
      plugins: true
    } 
  })

</code></pre></div>
<p dir="auto">Electron version: 2.0.0-beta.8<br>
Operating system: MacOS 10.12.6</p>
<hr>
<p dir="auto">Create a window with <code class="notranslate">vibrancy</code> of <code class="notranslate">"light"</code>/<code class="notranslate">"dark"</code> and a <code class="notranslate">titleBarStyle</code> of <code class="notranslate">"hiddenInset"</code> and the app crashes on quit. Other combinations may also cause a crash but I haven't tested them.</p>
<p dir="auto">This is a regression, it works with <code class="notranslate">v1.8.4</code>.</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="new BrowserWindow({
  width: 800,
  height: 600,
  titleBarStyle: &quot;hiddenInset&quot;,
  vibrancy: &quot;light&quot;
})"><pre class="notranslate"><span class="pl-k">new</span> <span class="pl-v">BrowserWindow</span><span class="pl-kos">(</span><span class="pl-kos">{</span>
  <span class="pl-c1">width</span>: <span class="pl-c1">800</span><span class="pl-kos">,</span>
  <span class="pl-c1">height</span>: <span class="pl-c1">600</span><span class="pl-kos">,</span>
  <span class="pl-c1">titleBarStyle</span>: <span class="pl-s">"hiddenInset"</span><span class="pl-kos">,</span>
  <span class="pl-c1">vibrancy</span>: <span class="pl-s">"light"</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span></pre></div>
<p dir="auto">Here is a repro: <a href="https://github.com/davej/electron-quick-start">https://github.com/davej/electron-quick-start</a></p>