custom-electron-titlebar icon indicating copy to clipboard operation
custom-electron-titlebar copied to clipboard

Won't exit when Dev Tools is opened

Open GreepTheSheep opened this issue 4 years ago • 5 comments

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:

  1. Start the window with Dev Tools opened
  2. 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

GreepTheSheep avatar Oct 06 '20 15:10 GreepTheSheep

+1 also noticed this

DanielMcAssey avatar Oct 06 '20 17:10 DanielMcAssey

Maybe that's not from the module, but from electron, I haven't tested with an HTML input that call close()

GreepTheSheep avatar Oct 06 '20 18:10 GreepTheSheep

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?

Treverix avatar Oct 06 '20 19:10 Treverix

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.

DanielMcAssey avatar Oct 06 '20 19:10 DanielMcAssey

The devtools mode was not the problem - it was more related to frameless windows (frame: false).

Treverix avatar Oct 06 '20 19:10 Treverix