<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>10.1.2</li>
</ul>
</li>
<li><strong>Operating System:</strong>
<ul dir="auto">
<li>Windows 10 Enterprise (1909)</li>
</ul>
</li>
<li><strong>Last Known Working Electron version:</strong>
<ul dir="auto">
<li>none</li>
</ul>
</li>
</ul>
<h3 dir="auto">Expected Behavior</h3>
<p dir="auto">I should be able to see the first line of the uploaded file in the browser's console every time I upload the file.</p>
<h3 dir="auto">Actual Behavior</h3>
<p dir="auto">Once I reload the app, I do not see the first line of the uploaded file in the browser's console in the subsequent uploads.</p>
<h3 dir="auto">To Reproduce</h3>
<ol dir="auto">
<li>Download the app folder from the following ftp link:<br>
ftp://ftp.lrz.de/transfer/bug/test_Electron/</li>
<li>Install the dependencies as:<br>
<code class="notranslate">npm install</code></li>
<li>launch the app using the following command:<br>
<code class="notranslate">npm start</code></li>
<li>click <strong>Upload File</strong> button and upload the file <strong>sample.txt</strong> from <strong>test_Electron/assets</strong> folder.</li>
<li>In the browser's console you should see the following output:<br>
<code class="notranslate">First line of the file: abc</code> (highlighted using red rectangle in the first screenshot)</li>
<li>Now reload the app by pressing <code class="notranslate">CTRL + SHIFT + R</code></li>
<li>click <strong>Upload File</strong> button and upload the file <strong>sample.txt</strong> from <strong>test_Electron/assets</strong> folder.</li>
<li>you will <strong>NOT</strong> see  <code class="notranslate">First line of the file: abc</code> in the browser's console (see the second screenshot)</li>
</ol>



<h3 dir="auto">Screenshots</h3>
<ul dir="auto">
<li>
<p dir="auto"><strong>Expected Behavior</strong><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/29901809/94623819-5e569200-02b5-11eb-89ad-f777f1969811.PNG"><img src="https://user-images.githubusercontent.com/29901809/94623819-5e569200-02b5-11eb-89ad-f777f1969811.PNG" alt="electron_win_file_upload_expected" style="max-width: 100%;"></a></p>
</li>
<li>
<p dir="auto"><strong>Behavior After Reload</strong><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/29901809/94623917-95c53e80-02b5-11eb-8f4d-13e4bb6e0e35.PNG"><img src="https://user-images.githubusercontent.com/29901809/94623917-95c53e80-02b5-11eb-8f4d-13e4bb6e0e35.PNG" alt="electron_win_file_upload_bad" style="max-width: 100%;"></a></p>
</li>
</ul>

<h3 dir="auto">Additional Information</h3>
<p dir="auto">The same app (with exactly the same electron version) works perfectly when I run it on 64-bit Ubuntu 18.04 and 20.04</p>
<h3 dir="auto">Problem Description</h3>
<p dir="auto">No way to implement the frameless window in Windows OS with only the controls</p>
<h3 dir="auto">Proposed Solution</h3>
<p dir="auto">I would really appreciate a feature in electron that can only implement the frameless window without the electron name and icon to the side in windows OS like the (titleBarStyle: ‘hidden’.) feature in Mac OS</p>
<h3 dir="auto">Alternatives Considered</h3>
<p dir="auto">I have tried implementing custom NPM solutions but they really interfere with my project and make it slow in run-time</p>
<h3 dir="auto">Additional Information</h3>
<p dir="auto">I have tried using the feature "Frame:  false"  but it does not provide the controls and also the window is not draggable.</p>