In my most recent installation of jupyter lab, I no longer find the contextual menu option “New view for Notebook”. Also, the “New view for Notebook” command is missing from the Command palette. I’m running jupyterlab 4.2.6.
This command appears normally when I run an older installation (jupyterlab 3.2.9).
If I right click on the tab containing the name of the notebook in version 4.3.1, I see ‘New View for Notebook’ as an option. (Same for version 4.2.5 and 4.2.3 and 3.6.3.)
For comparison, you can see it yourself without needing to log in or install anything on your machine by going here and clicking on ‘launch binder’. It doesn’t show it in the Command Palette though, which makes sense I think, as it is context dependent.
It’s weird… In that binder it works, but in whatever environment I have, I don’t see those options (see image below of the contextual menu). I’ll try a minimal environment with your specs for jupyter and notebook, and build back from there. There must be some missing / incompatible package somewhere.
Thanks for adding more details.
However, I’m not quite following all the details: is it failing on the MyBinder launches in Firefox, too? Or is it just your system-installed version? If it is only the latter, it would still argue you have something extra or left something behind that is interfering. Or are you using extensions?
I’m not following it either…
In that Firefox installation, the contextual menus in JupyterLab 3.2.9 work fine. In a different tab, of the same browser, Jupyterlab 4.3 fails. Both on CentOS7.
In Chromium, both work fine.
The Binder works on a different machine (Chrome, Windows 11), but fails in the CentOS Firefox (but works in CentOS Chromium). Seems some interaction of the environment and Firefox.
This is an old Firefox version and new JupyterLab versions do not support outdated Firefox versions. The latest Firefox ESR is 128.5.1 as per Firefox ESR 128.5.1, See All New Features, Updates and Fixes. The latest Firefox in general is 133.0
This was reported and answered on GitHub see #16391 and #16606.
In Firefox ESR you can toggle the layout.css.has-selector.enabled flag in the about:config page - this works since Firefox v103.
Please either:
upgrade Firefox to v121, or
if using Firefox v103-120 enable layout.css.has-selector.enabled flag in the about:config page, or
downgrade JupyterLab to v4.1.x
Now I do not recommend downgrading JupyterLab to 4.1.x anymore as that version is unlikely to receive security updates - we are on 4.3.x now and working on 4.4.x.