vatlab/jupyterlab-sos

Kernel dropdown list broken in cells

Closed this issue · 7 comments

When creating a new file in Jupyter Lab, I can select a kernel for the file (SoS), but selecting a kernel for a cell in the file does not work. That is, the drop down flashes quickly when clicked and disappears before I can select a kernel.

Are you using the latest JupyterLab and JupyterLab-sos? On which os?

Just tested on mac, with latest version of jupyterlab (0.34.11) and jupyterlab-sos (0.2.4) and everything seems to be ok.

image

image

OK, I just tried in a different browser, and it is working fine. There seems to be an issue with Firefox, but Chrome works well. Also using jl 0.34.11 and jl-sos 0.2.4 on macOS.

OK, I just downloaded firefox and can confirm the problem you had. Checking what is happening now.

Looks like this problem but the thread is five years old... the same problem is one year old.

ok. This is related to the jupyterlab's jp-mode-focused handling, seems that we should override JLab's onfocus event for the selector.

Please confirm if jupyterlab-sos 0.2.5 has fixed this issue.

Great! Works like a charm now.