Closed
Description
Description
When I select "Close and Shut Down Notebook" from the "File" menu and then either click its "Cancel" button or hit the Escape key, the browser tab closes. The kernel remains running.
Reproduce
- Within the main Jupyter window, create a new notebook.
- Save the notebook.
- From the "File" menu, select "Close and Shut Down Notebook".
- Within the "Shut down the notebook?" dialog, either click the "Cancel" button or type the Escape key. The browser's tab unexpectedly closes.
Expected behavior
I expected the notebook tab to remain open.
Context
- Operating System and version: Windows 10
- Browser and version: Firefox 125.0.3, Chrome 124.0.6367.119
- Jupyter Notebook version: 7.1.3
I'm happy to provide troubleshooting output as needed.