When I scroll the notebook ‘jumps’ back repeatedly until I eventually get to the spot I want to go to. This is by far the worst of the glitches, it just totally derailed my from doing a hard science problem I wanted to progress on today .
The next worst thing is that when I create new cells in a notebook, they get randomly placed in the notebook, just not below the current active, cell. What is even worse is that they then sometimes dissapear/appear when I scroll. Again super disrupting.
Lastly the shift+tab completion is both unreliable and inconsistent. I use this feature a TON (did not realized it until it did not work anymore), but very often nothing will happen when I press this combo. More confusingly in the newer versions of JupyterLab sometimes it opens a different styles of pop over (looks like vs code) and sometimes it opens the style I am used to from older versions.
Sorry for dropping all these at once here, but since they all seemed related to the UI, and I am a complete noob in diagnosing problems there I figured I group them all together and maybe somebody here can provide some advice on how to dig deeper?
I have already tried safari, Chrome, Firefox. Safari is the worst, but the others do not fix these problems. I am using JupyterLab via a 2i2c Hub at LEAP, and am currently on the 2024.06.02 tag.
If there is other info I could provide to help, please let me know.
If you go to Settings → Settings Editor → Notebook → Windowing mode → none, does it stop? Can you share a notebook in which this is happening and the browser name and version?
This sounds very bad. Does it happen on Safari only? We are aware of a Safari-specifc regression ("Add Cell" regression in 4.2.x on Safari · Issue #16373 · jupyterlab/jupyterlab · GitHub) which might explain this and the previous point. Upgrading Safari to patched version (unfortunately not yet released, Technology Preview) or switching windowing mode to none should help.
A screenshot would be helpful. I do not know of any alternative pop over. Do you have any extensions installed?
If you go to Settings → Settings Editor → Notebook → Windowing mode → none, does it stop? Can you share a notebook in which this is happening and the browser name and version?
This already seems to improve the situation A LOT. Many thanks. Is there an issue pertaining to this, that I could reference? Either way I have asked if we can change the default setting for Windowing mode on the pangeo-docker-images, or is there a reason not to do that?
Ill keep investigating the other issues. Again HUGE thanks for this fix!
Nothing major, but I would probably choose defer rather than none (this will still give some performance benefit on inital loading). Mostly this is a trade-off between some notebooks using complex widgets having the issue when scrolling vs the performence improvements from windowing (so that you can smoothly work with much larger notebooks). The exact cause of the problematic behaviour is to be confirmed (see below).
Is there an issue pertaining to this, that I could reference?
Thanks to you both for raising and addressing this issue! I was starting to lose my mind a little bit, constantly refreshing notebooks to find the lost cells. This fix worked perfectly for me. Thanks again!
I’m having the same issue, but I see no ‘Settings Editor’ selection under Settings. I’m using jupyter notebook v 7.2.2 on an iMac (Sequoia 15.1.1) from within Anaconda (2.6.4).
This thread is about JupyterLab. You mention you are using Jupyter Notebook v7+ and your screenshot reflects this.
So the path to the ‘Settings Editor’ is different.
The menus are context dependent in all of Jupyter and Jupyter Notebook is document-centric and so the advanced options you get with JupyterLab aren’t offered in the notebook view context at this time. I have detailed one of the easiest ways to access the settings editor from the notebook view at the end of a StackOverflow answer about a suggestion on how to proceed to adjust the toolbar here.
I’ll quote the pertinent part here for convenience:
‘…in Jupyter Notebook 7+, at this time the easiest way to find the ‘Settings Editor’ when in the Notebook interface is to go to the File menu and select ‘View’ > ‘File Browser’. Then on the ‘Fle Browser’ page you’ll see ‘Settings’ as a choice along the File menu. The ‘Settings’ menu context here is expanded and includes a choice of ‘Settings Editor’’. ’
Sorry about that! I’m self-learning python and just recently started exploring Jupyter Notebook. I wasn’t aware of the distinction between notebook and lab, and the question I ran across was exactly what I was experiencing.
Anyway, thanks for the kind reply (other sites would have chastised me severely and put me in time-out!). I found the setting and I’m now all set.
JupyterLab was originally meant to be the future of running and editing Jupyter .ipynb files; however, the document-centric notebook still suits a lot of niches and users, and so it remains and has been overhalued with version 7+ built on JupyterLab components.
That being said, it bring up two points. JupyterLab has more features inherently accessible and so you may just want to start using it and grow into the features later. If you choose to stick with the Jupyter Notebook v7+, no that there are still some differences like accessing the settings editor but mostly it is very similar to JupyterLab. This is important to know because most posts you’ll find when seeking help are referring to Jupyter Notebook v6 and below and so they can be very inaccurate as a lot the JupyterLab-specific approaches and features are involved now. See here for a recent example that comes to mind. Tip:try to be aware of the version number when seeking help for Jupyter Notebook and look for current solutions.