jupyterlab-desktop
jupyterlab-desktop copied to clipboard
Broken "View"->"Reload" menu item and accompanying shortcut (⌘R on macOS)
Description
If I type ⌘R in a notebook, then I get an error:
404 : Not Found You are requesting a page that does not exist!
and the app is completely broken (need to quit and relaunch to recover)
Here is the console output from the developer tools:
Reproduce
- Open a notebook
- Choose "View"->"Reload" from the top-level app menu bar or type ⌘R
- See error "404 : Not Found"
Expected behavior
I would expect ⌘R to behave as in the jupyterlab web app in a browser, which is to reload all notebooks from disk. There is an item "File"->"Reload Notebook from Disk" in the internal menu bar that does this for a single notebook. This works fine, but it has no default key binding.
Context
- Operating System and version: macOS Big Sur 11.5.2 - MacBook Pro (16-inch, 2019)
- Browser and version: Desktop app
- JupyterLab version: Version 3.1.13-1 (3.1.13-1)
I don't see View → Reload:
Is this something specific to the Mac version? I also saw someone mentioning "About jupyterlab_app" which I don't see on Ubuntu either.
Apologies if I was not clear. I mean the top-level app menus - not the menus inside the web view. I do not know if this is mac-specific or not
@will-henney View
-> Reload
menu functionality is not implemented and will most likely be removed in future versions. Unfortunately the default implementation is causing the error message you are seeing. What is your use case of reloading the application window? was there a state issue you tried to fix with reloading?
See issues #379 and my comments in #269
I needed this kind of refresh in order to get the pre-built extension jupyterlab-vim to work.
Since the last version I noticed that refresh was very quick, i.e. it did not happen. And so I cannot do vim in notebook cells.
So my hope is that either refresh gets re-instated, or another way to get vim in notebook cells is found.
@dirkroorda could you test with the latest? 3.6.1-1. are you still having issues with jupyterlab-vim?
closing since no response for a long time