Skip to content

Cancelling "Close and Shut Down Notebook" closes tab anyway #7359

Closed
@stanwest

Description

@stanwest

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

  1. Within the main Jupyter window, create a new notebook.
  2. Save the notebook.
  3. From the "File" menu, select "Close and Shut Down Notebook".
  4. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions