diff --git a/main.js b/main.js index c80b378752..267d1a05a5 100644 --- a/main.js +++ b/main.js @@ -1192,6 +1192,13 @@ ipc.on('set-menu-bar-visibility', (event, visibility) => { ipc.on('close-about', () => { if (aboutWindow) { + // Exiting child window when on full screen mode (MacOs only) hides the main window + // Fix to issue #4540 + if (mainWindow.isFullScreen() && process.platform === 'darwin') { + mainWindow.setFullScreen(false); + mainWindow.show(); + mainWindow.setFullScreen(true); + } aboutWindow.close(); } });