custom-electron-titlebar
custom-electron-titlebar copied to clipboard
Won't exit when Dev Tools is opened
Describe the bug When BrowserWindow Dev Tools is opened, the BrowserWindow won't exit when click on close
To Reproduce Steps to reproduce the behavior:
- Start the window with Dev Tools opened
- Click on exit button
Expected behavior Window normally closes
Desktop (please complete the following information):
- OS: Windows 10 1909
- Electron version 10.1.0
- Node Version 12.16.3
+1 also noticed this
Maybe that's not from the module, but from electron, I haven't tested with an HTML input that call close()
I've reported that issue for electron back in august and they consider it as an electron bug that is not yet resolved.
https://github.com/electron/electron/issues/25012
@GreepTheSheep , @DanielMcAssey - could you check over there if it fails for the same reasons on you side or if you have different conditions?
I will try it now, however mine isnt detached. I have mine docked to the right of the window and I still cant close it.
The devtools mode was not the problem - it was more related to frameless windows (frame: false
).