jupyter-server / jupyter_server

The backend—i.e. core services, APIs, and REST endpoints—to Jupyter web applications.
https://jupyter-server.readthedocs.io
BSD 3-Clause "New" or "Revised" License
465 stars 279 forks source link

The Shut Down and Log Out menu items disappeared between 2.12.5 and 2.13.0 #1400

Closed culler closed 3 months ago

culler commented 3 months ago

Description

With version 2.12.5 the jupyter notebook menu contained File -> Log Out and File -> Shut Down. In 2.13.0 those menu items are gone. This means that there is no simple way to shutdown a server which is not started from a shell running in a terminal.

Reproduce

Run jupyter-notebook and open the File menu in the web page.

Expected behavior

I expect these menu items to be available unless they have been disabled in the settings.

Context

Troubleshoot Output
Paste the output from running `jupyter troubleshoot` from the command line here.
You may want to sanitize the paths in the output.
Command Line Output
Paste the output from your command line running `jupyter lab` here, use `--debug` if possible.
Browser Output
Paste the output from your browser Javascript console here, if applicable.

welcome[bot] commented 3 months ago

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively. welcome You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! :wave:
Welcome to the Jupyter community! :tada:

culler commented 3 months ago

I no longer think this is an issue with jupyter-server. It seems to be an issue with notebook. There are contexts where the menu works correctly and other contexts where they don't. I am not sure yet which aspects of the context are relevant. But broken menus seems to coincide with failing to write the runtime files, or writing them in an unexpected place where I cannot find them. But, in any case, the switch from 2.12.5 to 2.13.0 is not the cause. Both versions work correctly in some contexts.