<h3 dir="auto">Preflight Checklist</h3>

<ul dir="auto">
<li>[x ] I have read the <a href="https://github.com/electron/electron/blob/master/CONTRIBUTING.md">Contributing Guidelines</a> for this project.</li>
<li>[x ] I agree to follow the <a href="https://github.com/electron/electron/blob/master/CODE_OF_CONDUCT.md">Code of Conduct</a> that this project adheres to.</li>
<li>[x ] I have searched the issue tracker for an issue that matches the one I want to file, without success.</li>
</ul>
<h3 dir="auto">Issue Details</h3>
<ul dir="auto">
<li><strong>Electron Version:</strong>
<ul dir="auto">
<li>7.1.2</li>
</ul>
</li>
<li><strong>Operating System:</strong>
<ul dir="auto">
<li>Ubuntu 18.04.3 LTS</li>
</ul>
</li>
<li><strong>Last Known Working Electron version:</strong>
<ul dir="auto">
<li>6.0.6</li>
</ul>
</li>
</ul>
<h3 dir="auto">Expected Behavior</h3>
<p dir="auto"><code class="notranslate">BrowserWindow</code> created in fullscreen mode</p>
<h3 dir="auto">Actual Behavior</h3>
<p dir="auto">Can see toolbar with File, Edit, View etc. menus</p>
<h3 dir="auto">To Reproduce</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ git clone https://github.com/webianproject/shell-kiosk.git
$ cd shell-kiosk
$ npm install
$ npm start"><pre class="notranslate"><code class="notranslate">$ git clone https://github.com/webianproject/shell-kiosk.git
$ cd shell-kiosk
$ npm install
$ npm start
</code></pre></div>
<p dir="auto"><code class="notranslate">BrowserView</code> is instantiated here <a href="https://github.com/webianproject/shell-kiosk/blob/master/chrome.js#L17">https://github.com/webianproject/shell-kiosk/blob/master/chrome.js#L17</a></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="    this.mainWindow = new BrowserWindow({
      fullscreen: true,
      webPreferences: {
        nodeIntegration: true,
        webviewTag: true
      }
    });"><pre class="notranslate"><code class="notranslate">    this.mainWindow = new BrowserWindow({
      fullscreen: true,
      webPreferences: {
        nodeIntegration: true,
        webviewTag: true
      }
    });
</code></pre></div>
<h3 dir="auto">Additional Information</h3>
<p dir="auto">Used to work on Electron 6.0.6. First noticed the problem after upgrading to Electron 7.1.2.<br>
Still works on Mac OS.</p>
<h3 dir="auto">Preflight Checklist</h3>

<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have read the <a href="https://github.com/electron/electron/blob/master/CONTRIBUTING.md">Contributing Guidelines</a> for this project.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I agree to follow the <a href="https://github.com/electron/electron/blob/master/CODE_OF_CONDUCT.md">Code of Conduct</a> that this project adheres to.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the issue tracker for an issue that matches the one I want to file, without success.</li>
</ul>
<h3 dir="auto">Issue Details</h3>
<ul dir="auto">
<li><strong>Electron Version:</strong>
<ul dir="auto">
<li>7.1.2</li>
</ul>
</li>
<li><strong>Operating System:</strong>
<ul dir="auto">
<li>Windows 10 1909</li>
</ul>
</li>
<li><strong>Last Known Working Electron version:</strong>
<ul dir="auto">
<li>7.x.x (in another Windows 10 1909 computer)</li>
</ul>
</li>
</ul>
<h3 dir="auto">Expected Behavior</h3>
<p dir="auto">The menu that appears below the app title (the one with File, Edit, View...) must dissappear.</p>
<h3 dir="auto">Actual Behavior</h3>
<p dir="auto">Nothing. It does nothing. The menu is still there. as if nothing happened.</p>
<h3 dir="auto">To reproduce</h3>
<p dir="auto">This is basically the code I am testing:</p>
<p dir="auto">const { app, BrowserWindow } = require('electron');</p>
<p dir="auto">function createWindow() {<br>
let win = new BrowserWindow({<br>
width: 800,<br>
height: 600,<br>
webPreferences: {<br>
nodeIntegration: true,<br>
}<br>
})<br>
win.setMenuBarVisibility(false);<br>
win.loadFile('./public/index.html')<br>
}</p>
<p dir="auto">app.on('ready', createWindow)</p>
<p dir="auto">Everything works as expected, except the menu, which it still shows.</p>
<h3 dir="auto">Screenshots</h3>
<p dir="auto"><a href="url">https://i.imgur.com/kJJf0JE.png</a></p>