<p dir="auto">The file dialog opens from a renderer process, but most of the icons are missing for the files and the folders.</p>
<p dir="auto"><a href="http://imgur.com/BZWIYaI" rel="nofollow">screenshot</a></p>
<ul dir="auto">
<li>Electron version: 0.37.2</li>
<li>Operating system: OSX 10.11.4</li>
</ul>
<p dir="auto">I want to handle saving of a file to set the download path:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="  mainWindow.webContents.session.on('will-download', function(event, item) {
    var filename = item.getFilename();
    var savePath = require('dialog').showSaveDialog({
      title: filename,
      defaultPath: require('os').homedir() + '/' + filename
    });
    if (savePath) {
      item.setSavePath(savePath);
    } else {
      item.cancel();
    }
  });"><pre class="notranslate">  <span class="pl-s1">mainWindow</span><span class="pl-kos">.</span><span class="pl-c1">webContents</span><span class="pl-kos">.</span><span class="pl-c1">session</span><span class="pl-kos">.</span><span class="pl-en">on</span><span class="pl-kos">(</span><span class="pl-s">'will-download'</span><span class="pl-kos">,</span> <span class="pl-k">function</span><span class="pl-kos">(</span><span class="pl-s1">event</span><span class="pl-kos">,</span> <span class="pl-s1">item</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
    <span class="pl-k">var</span> <span class="pl-s1">filename</span> <span class="pl-c1">=</span> <span class="pl-s1">item</span><span class="pl-kos">.</span><span class="pl-en">getFilename</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
    <span class="pl-k">var</span> <span class="pl-s1">savePath</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'dialog'</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">showSaveDialog</span><span class="pl-kos">(</span><span class="pl-kos">{</span>
      <span class="pl-c1">title</span>: <span class="pl-s1">filename</span><span class="pl-kos">,</span>
      <span class="pl-c1">defaultPath</span>: <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'os'</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">homedir</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">+</span> <span class="pl-s">'/'</span> <span class="pl-c1">+</span> <span class="pl-s1">filename</span>
    <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
    <span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-s1">savePath</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
      <span class="pl-s1">item</span><span class="pl-kos">.</span><span class="pl-en">setSavePath</span><span class="pl-kos">(</span><span class="pl-s1">savePath</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
    <span class="pl-kos">}</span> <span class="pl-k">else</span> <span class="pl-kos">{</span>
      <span class="pl-s1">item</span><span class="pl-kos">.</span><span class="pl-en">cancel</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
    <span class="pl-kos">}</span>
  <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">It's all good, except that the dialog comes out without icons for <del>files and</del> folders (file type icons are fine, only folder icons), and is missing the usual items in the left sidebar:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/351592/12583848/9d643414-c43c-11e5-88ca-101249f60846.png"><img src="https://cloud.githubusercontent.com/assets/351592/12583848/9d643414-c43c-11e5-88ca-101249f60846.png" alt="screen shot 2016-01-26 at 14 48 17" style="max-width: 100%;"></a><br>
My electron version is <code class="notranslate">0.36.4</code>, running OSX <code class="notranslate">10.11.2</code>.</p>
<p dir="auto">Is it possible to have the icons back and make the dialog look more native? Thanks!</p>