ipywidgets icon indicating copy to clipboard operation
ipywidgets copied to clipboard

Cannot type `L` in Text and TextArea: captured by Jupyterlab

Open nthiery opened this issue 2 years ago • 6 comments

Description

The character L is captured by the JupyterLab interface when typing in an ipywidget Text, Textarea, Password.

Detected because Travo uses Password to enter credentials, and some of our 250 students had trouble authenticating because they had a L in their password which silently did not get inserted. That was tricky to analyse :-)

Reproduce

Launch a freshly installed jupyter lab with ipywidgets

mamba create -n test jupyterlab ipywidgets
conda activate test
jupyter lab

Open a notebook, and a Text or Textarea() in it:

import ipywidgets
ipywidgets.Text()

Input L in the text zone.

Expected: A L is inserted

Got: nothing is inserted; instead, cell line numbering is toggled for all cells

Context

  • ipywidgets version
  • Operating System and version:
  • Browser and version:
Troubleshoot Output
$PATH:
	/opt/mambaforge/envs/test/bin
	/opt/mambaforge/condabin
	.
	/home/nthiery/bin
	/usr/games
	/usr/local/sbin
	/usr/local/bin
	/usr/sbin
	/usr/bin
	/sbin
	/bin
	/usr/local/games
	/snap/bin
	/usr/bin/X11

sys.path: /opt/mambaforge/envs/test/bin /opt/mambaforge/envs/test/lib/python311.zip /opt/mambaforge/envs/test/lib/python3.11 /opt/mambaforge/envs/test/lib/python3.11/lib-dynload /opt/mambaforge/envs/test/lib/python3.11/site-packages

sys.executable: /opt/mambaforge/envs/test/bin/python

sys.version: 3.11.5 | packaged by conda-forge | (main, Aug 27 2023, 03:34:09) [GCC 12.3.0]

platform.platform(): Linux-5.15.0-83-generic-x86_64-with-glibc2.35

which -a jupyter: /opt/mambaforge/envs/test/bin/jupyter /usr/local/bin/jupyter

pip list: Package Version ----------------------------- ------------ anyio 4.0.0 argon2-cffi 23.1.0 argon2-cffi-bindings 21.2.0 arrow 1.2.3 asttokens 2.4.0 async-lru 2.0.4 attrs 23.1.0 Babel 2.12.1 backcall 0.2.0 backports.functools-lru-cache 1.6.5 beautifulsoup4 4.12.2 bleach 6.0.0 Brotli 1.1.0 cached-property 1.5.2 certifi 2023.7.22 cffi 1.15.1 charset-normalizer 3.2.0 comm 0.1.4 debugpy 1.8.0 decorator 5.1.1 defusedxml 0.7.1 entrypoints 0.4 exceptiongroup 1.1.3 executing 1.2.0 fastjsonschema 2.18.0 fqdn 1.5.1 idna 3.4 importlib-metadata 6.8.0 importlib-resources 6.0.1 ipykernel 6.25.2 ipython 8.15.0 ipywidgets 8.1.1 isoduration 20.11.0 jedi 0.19.0 Jinja2 3.1.2 json5 0.9.14 jsonpointer 2.4 jsonschema 4.19.1 jsonschema-specifications 2023.7.1 jupyter_client 8.3.1 jupyter_core 5.3.1 jupyter-events 0.7.0 jupyter-lsp 2.2.0 jupyter_server 2.7.3 jupyter_server_terminals 0.4.4 jupyterlab 4.0.6 jupyterlab-pygments 0.2.2 jupyterlab_server 2.25.0 jupyterlab-widgets 3.0.9 MarkupSafe 2.1.3 matplotlib-inline 0.1.6 mistune 3.0.1 nbclient 0.8.0 nbconvert 7.8.0 nbformat 5.9.2 nest-asyncio 1.5.6 notebook_shim 0.2.3 overrides 7.4.0 packaging 23.1 pandocfilters 1.5.0 parso 0.8.3 pexpect 4.8.0 pickleshare 0.7.5 pip 23.2.1 pkgutil_resolve_name 1.3.10 platformdirs 3.10.0 prometheus-client 0.17.1 prompt-toolkit 3.0.39 psutil 5.9.5 ptyprocess 0.7.0 pure-eval 0.2.2 pycparser 2.21 Pygments 2.16.1 PySocks 1.7.1 python-dateutil 2.8.2 python-json-logger 2.0.7 pytz 2023.3.post1 PyYAML 6.0.1 pyzmq 25.1.1 referencing 0.30.2 requests 2.31.0 rfc3339-validator 0.1.4 rfc3986-validator 0.1.1 rpds-py 0.10.3 Send2Trash 1.8.2 setuptools 68.2.2 six 1.16.0 sniffio 1.3.0 soupsieve 2.5 stack-data 0.6.2 terminado 0.17.1 tinycss2 1.2.1 tomli 2.0.1 tornado 6.3.3 traitlets 5.10.0 typing_extensions 4.8.0 typing-utils 0.1.0 uri-template 1.3.0 urllib3 2.0.5 wcwidth 0.2.6 webcolors 1.13 webencodings 0.5.1 websocket-client 1.6.3 wheel 0.41.2 widgetsnbextension 4.0.9 zipp 3.17.0

conda list: # packages in environment at /opt/mambaforge/envs/test: # # Name Version Build Channel _libgcc_mutex 0.1 conda_forge conda-forge _openmp_mutex 4.5 2_gnu conda-forge anyio 4.0.0 pyhd8ed1ab_0 conda-forge argon2-cffi 23.1.0 pyhd8ed1ab_0 conda-forge argon2-cffi-bindings 21.2.0 py311hd4cff14_3 conda-forge arrow 1.2.3 pyhd8ed1ab_0 conda-forge asttokens 2.4.0 pyhd8ed1ab_0 conda-forge async-lru 2.0.4 pyhd8ed1ab_0 conda-forge attrs 23.1.0 pyh71513ae_1 conda-forge babel 2.12.1 pyhd8ed1ab_1 conda-forge backcall 0.2.0 pyh9f0ad1d_0 conda-forge backports 1.0 pyhd8ed1ab_3 conda-forge backports.functools_lru_cache 1.6.5 pyhd8ed1ab_0 conda-forge beautifulsoup4 4.12.2 pyha770c72_0 conda-forge bleach 6.0.0 pyhd8ed1ab_0 conda-forge brotli-python 1.1.0 py311hb755f60_0 conda-forge bzip2 1.0.8 h7f98852_4 conda-forge ca-certificates 2023.7.22 hbcca054_0 conda-forge cached-property 1.5.2 hd8ed1ab_1 conda-forge cached_property 1.5.2 pyha770c72_1 conda-forge certifi 2023.7.22 pyhd8ed1ab_0 conda-forge cffi 1.15.1 py311h409f033_3 conda-forge charset-normalizer 3.2.0 pyhd8ed1ab_0 conda-forge comm 0.1.4 pyhd8ed1ab_0 conda-forge debugpy 1.8.0 py311hb755f60_0 conda-forge decorator 5.1.1 pyhd8ed1ab_0 conda-forge defusedxml 0.7.1 pyhd8ed1ab_0 conda-forge entrypoints 0.4 pyhd8ed1ab_0 conda-forge exceptiongroup 1.1.3 pyhd8ed1ab_0 conda-forge executing 1.2.0 pyhd8ed1ab_0 conda-forge fqdn 1.5.1 pyhd8ed1ab_0 conda-forge idna 3.4 pyhd8ed1ab_0 conda-forge importlib-metadata 6.8.0 pyha770c72_0 conda-forge importlib_metadata 6.8.0 hd8ed1ab_0 conda-forge importlib_resources 6.0.1 pyhd8ed1ab_0 conda-forge ipykernel 6.25.2 pyh2140261_0 conda-forge ipython 8.15.0 pyh0d859eb_0 conda-forge ipywidgets 8.1.1 pyhd8ed1ab_0 conda-forge isoduration 20.11.0 pyhd8ed1ab_0 conda-forge jedi 0.19.0 pyhd8ed1ab_0 conda-forge jinja2 3.1.2 pyhd8ed1ab_1 conda-forge json5 0.9.14 pyhd8ed1ab_0 conda-forge jsonpointer 2.4 py311h38be061_2 conda-forge jsonschema 4.19.1 pyhd8ed1ab_0 conda-forge jsonschema-specifications 2023.7.1 pyhd8ed1ab_0 conda-forge jsonschema-with-format-nongpl 4.19.1 pyhd8ed1ab_0 conda-forge jupyter-lsp 2.2.0 pyhd8ed1ab_0 conda-forge jupyter_client 8.3.1 pyhd8ed1ab_0 conda-forge jupyter_core 5.3.1 py311h38be061_0 conda-forge jupyter_events 0.7.0 pyhd8ed1ab_2 conda-forge jupyter_server 2.7.3 pyhd8ed1ab_0 conda-forge jupyter_server_terminals 0.4.4 pyhd8ed1ab_1 conda-forge jupyterlab 4.0.6 pyhd8ed1ab_0 conda-forge jupyterlab_pygments 0.2.2 pyhd8ed1ab_0 conda-forge jupyterlab_server 2.25.0 pyhd8ed1ab_0 conda-forge jupyterlab_widgets 3.0.9 pyhd8ed1ab_0 conda-forge ld_impl_linux-64 2.40 h41732ed_0 conda-forge libexpat 2.5.0 hcb278e6_1 conda-forge libffi 3.4.2 h7f98852_5 conda-forge libgcc-ng 13.2.0 h807b86a_2 conda-forge libgomp 13.2.0 h807b86a_2 conda-forge libnsl 2.0.0 h7f98852_0 conda-forge libsodium 1.0.18 h36c2ea0_1 conda-forge libsqlite 3.43.0 h2797004_0 conda-forge libstdcxx-ng 13.2.0 h7e041cc_2 conda-forge libuuid 2.38.1 h0b41bf4_0 conda-forge libzlib 1.2.13 hd590300_5 conda-forge markupsafe 2.1.3 py311h459d7ec_0 conda-forge matplotlib-inline 0.1.6 pyhd8ed1ab_0 conda-forge mistune 3.0.1 pyhd8ed1ab_0 conda-forge nbclient 0.8.0 pyhd8ed1ab_0 conda-forge nbconvert-core 7.8.0 pyhd8ed1ab_0 conda-forge nbformat 5.9.2 pyhd8ed1ab_0 conda-forge ncurses 6.4 hcb278e6_0 conda-forge nest-asyncio 1.5.6 pyhd8ed1ab_0 conda-forge notebook-shim 0.2.3 pyhd8ed1ab_0 conda-forge openssl 3.1.3 hd590300_0 conda-forge overrides 7.4.0 pyhd8ed1ab_0 conda-forge packaging 23.1 pyhd8ed1ab_0 conda-forge pandocfilters 1.5.0 pyhd8ed1ab_0 conda-forge parso 0.8.3 pyhd8ed1ab_0 conda-forge pexpect 4.8.0 pyh1a96a4e_2 conda-forge pickleshare 0.7.5 py_1003 conda-forge pip 23.2.1 pyhd8ed1ab_0 conda-forge pkgutil-resolve-name 1.3.10 pyhd8ed1ab_1 conda-forge platformdirs 3.10.0 pyhd8ed1ab_0 conda-forge prometheus_client 0.17.1 pyhd8ed1ab_0 conda-forge prompt-toolkit 3.0.39 pyha770c72_0 conda-forge prompt_toolkit 3.0.39 hd8ed1ab_0 conda-forge psutil 5.9.5 py311h2582759_0 conda-forge ptyprocess 0.7.0 pyhd3deb0d_0 conda-forge pure_eval 0.2.2 pyhd8ed1ab_0 conda-forge pycparser 2.21 pyhd8ed1ab_0 conda-forge pygments 2.16.1 pyhd8ed1ab_0 conda-forge pysocks 1.7.1 pyha2e5f31_6 conda-forge python 3.11.5 hab00c5b_0_cpython conda-forge python-dateutil 2.8.2 pyhd8ed1ab_0 conda-forge python-fastjsonschema 2.18.0 pyhd8ed1ab_0 conda-forge python-json-logger 2.0.7 pyhd8ed1ab_0 conda-forge python_abi 3.11 4_cp311 conda-forge pytz 2023.3.post1 pyhd8ed1ab_0 conda-forge pyyaml 6.0.1 py311h459d7ec_0 conda-forge pyzmq 25.1.1 py311h75c88c4_0 conda-forge readline 8.2 h8228510_1 conda-forge referencing 0.30.2 pyhd8ed1ab_0 conda-forge requests 2.31.0 pyhd8ed1ab_0 conda-forge rfc3339-validator 0.1.4 pyhd8ed1ab_0 conda-forge rfc3986-validator 0.1.1 pyh9f0ad1d_0 conda-forge rpds-py 0.10.3 py311h46250e7_0 conda-forge send2trash 1.8.2 pyh41d4057_0 conda-forge setuptools 68.2.2 pyhd8ed1ab_0 conda-forge six 1.16.0 pyh6c4a22f_0 conda-forge sniffio 1.3.0 pyhd8ed1ab_0 conda-forge soupsieve 2.5 pyhd8ed1ab_1 conda-forge stack_data 0.6.2 pyhd8ed1ab_0 conda-forge terminado 0.17.1 pyh41d4057_0 conda-forge tinycss2 1.2.1 pyhd8ed1ab_0 conda-forge tk 8.6.12 h27826a3_0 conda-forge tomli 2.0.1 pyhd8ed1ab_0 conda-forge tornado 6.3.3 py311h459d7ec_0 conda-forge traitlets 5.10.0 pyhd8ed1ab_0 conda-forge typing-extensions 4.8.0 hd8ed1ab_0 conda-forge typing_extensions 4.8.0 pyha770c72_0 conda-forge typing_utils 0.1.0 pyhd8ed1ab_0 conda-forge tzdata 2023c h71feb2d_0 conda-forge uri-template 1.3.0 pyhd8ed1ab_0 conda-forge urllib3 2.0.5 pyhd8ed1ab_0 conda-forge wcwidth 0.2.6 pyhd8ed1ab_0 conda-forge webcolors 1.13 pyhd8ed1ab_0 conda-forge webencodings 0.5.1 pyhd8ed1ab_2 conda-forge websocket-client 1.6.3 pyhd8ed1ab_0 conda-forge wheel 0.41.2 pyhd8ed1ab_0 conda-forge widgetsnbextension 4.0.9 pyhd8ed1ab_0 conda-forge xz 5.2.6 h166bdaf_0 conda-forge yaml 0.2.5 h7f98852_2 conda-forge zeromq 4.3.4 h9c3ff4c_1 conda-forge zipp 3.17.0 pyhd8ed1ab_0 conda-forge

conda env: name: test channels: - conda-forge - defaults dependencies: - _libgcc_mutex=0.1=conda_forge - _openmp_mutex=4.5=2_gnu - anyio=4.0.0=pyhd8ed1ab_0 - argon2-cffi=23.1.0=pyhd8ed1ab_0 - argon2-cffi-bindings=21.2.0=py311hd4cff14_3 - arrow=1.2.3=pyhd8ed1ab_0 - asttokens=2.4.0=pyhd8ed1ab_0 - async-lru=2.0.4=pyhd8ed1ab_0 - attrs=23.1.0=pyh71513ae_1 - babel=2.12.1=pyhd8ed1ab_1 - backcall=0.2.0=pyh9f0ad1d_0 - backports=1.0=pyhd8ed1ab_3 - backports.functools_lru_cache=1.6.5=pyhd8ed1ab_0 - beautifulsoup4=4.12.2=pyha770c72_0 - bleach=6.0.0=pyhd8ed1ab_0 - brotli-python=1.1.0=py311hb755f60_0 - bzip2=1.0.8=h7f98852_4 - ca-certificates=2023.7.22=hbcca054_0 - cached-property=1.5.2=hd8ed1ab_1 - cached_property=1.5.2=pyha770c72_1 - certifi=2023.7.22=pyhd8ed1ab_0 - cffi=1.15.1=py311h409f033_3 - charset-normalizer=3.2.0=pyhd8ed1ab_0 - comm=0.1.4=pyhd8ed1ab_0 - debugpy=1.8.0=py311hb755f60_0 - decorator=5.1.1=pyhd8ed1ab_0 - defusedxml=0.7.1=pyhd8ed1ab_0 - entrypoints=0.4=pyhd8ed1ab_0 - exceptiongroup=1.1.3=pyhd8ed1ab_0 - executing=1.2.0=pyhd8ed1ab_0 - fqdn=1.5.1=pyhd8ed1ab_0 - idna=3.4=pyhd8ed1ab_0 - importlib-metadata=6.8.0=pyha770c72_0 - importlib_metadata=6.8.0=hd8ed1ab_0 - importlib_resources=6.0.1=pyhd8ed1ab_0 - ipykernel=6.25.2=pyh2140261_0 - ipython=8.15.0=pyh0d859eb_0 - ipywidgets=8.1.1=pyhd8ed1ab_0 - isoduration=20.11.0=pyhd8ed1ab_0 - jedi=0.19.0=pyhd8ed1ab_0 - jinja2=3.1.2=pyhd8ed1ab_1 - json5=0.9.14=pyhd8ed1ab_0 - jsonpointer=2.4=py311h38be061_2 - jsonschema=4.19.1=pyhd8ed1ab_0 - jsonschema-specifications=2023.7.1=pyhd8ed1ab_0 - jsonschema-with-format-nongpl=4.19.1=pyhd8ed1ab_0 - jupyter-lsp=2.2.0=pyhd8ed1ab_0 - jupyter_client=8.3.1=pyhd8ed1ab_0 - jupyter_core=5.3.1=py311h38be061_0 - jupyter_events=0.7.0=pyhd8ed1ab_2 - jupyter_server=2.7.3=pyhd8ed1ab_0 - jupyter_server_terminals=0.4.4=pyhd8ed1ab_1 - jupyterlab=4.0.6=pyhd8ed1ab_0 - jupyterlab_pygments=0.2.2=pyhd8ed1ab_0 - jupyterlab_server=2.25.0=pyhd8ed1ab_0 - jupyterlab_widgets=3.0.9=pyhd8ed1ab_0 - ld_impl_linux-64=2.40=h41732ed_0 - libexpat=2.5.0=hcb278e6_1 - libffi=3.4.2=h7f98852_5 - libgcc-ng=13.2.0=h807b86a_2 - libgomp=13.2.0=h807b86a_2 - libnsl=2.0.0=h7f98852_0 - libsodium=1.0.18=h36c2ea0_1 - libsqlite=3.43.0=h2797004_0 - libstdcxx-ng=13.2.0=h7e041cc_2 - libuuid=2.38.1=h0b41bf4_0 - libzlib=1.2.13=hd590300_5 - markupsafe=2.1.3=py311h459d7ec_0 - matplotlib-inline=0.1.6=pyhd8ed1ab_0 - mistune=3.0.1=pyhd8ed1ab_0 - nbclient=0.8.0=pyhd8ed1ab_0 - nbconvert-core=7.8.0=pyhd8ed1ab_0 - nbformat=5.9.2=pyhd8ed1ab_0 - ncurses=6.4=hcb278e6_0 - nest-asyncio=1.5.6=pyhd8ed1ab_0 - notebook-shim=0.2.3=pyhd8ed1ab_0 - openssl=3.1.3=hd590300_0 - overrides=7.4.0=pyhd8ed1ab_0 - packaging=23.1=pyhd8ed1ab_0 - pandocfilters=1.5.0=pyhd8ed1ab_0 - parso=0.8.3=pyhd8ed1ab_0 - pexpect=4.8.0=pyh1a96a4e_2 - pickleshare=0.7.5=py_1003 - pip=23.2.1=pyhd8ed1ab_0 - pkgutil-resolve-name=1.3.10=pyhd8ed1ab_1 - platformdirs=3.10.0=pyhd8ed1ab_0 - prometheus_client=0.17.1=pyhd8ed1ab_0 - prompt-toolkit=3.0.39=pyha770c72_0 - prompt_toolkit=3.0.39=hd8ed1ab_0 - psutil=5.9.5=py311h2582759_0 - ptyprocess=0.7.0=pyhd3deb0d_0 - pure_eval=0.2.2=pyhd8ed1ab_0 - pycparser=2.21=pyhd8ed1ab_0 - pygments=2.16.1=pyhd8ed1ab_0 - pysocks=1.7.1=pyha2e5f31_6 - python=3.11.5=hab00c5b_0_cpython - python-dateutil=2.8.2=pyhd8ed1ab_0 - python-fastjsonschema=2.18.0=pyhd8ed1ab_0 - python-json-logger=2.0.7=pyhd8ed1ab_0 - python_abi=3.11=4_cp311 - pytz=2023.3.post1=pyhd8ed1ab_0 - pyyaml=6.0.1=py311h459d7ec_0 - pyzmq=25.1.1=py311h75c88c4_0 - readline=8.2=h8228510_1 - referencing=0.30.2=pyhd8ed1ab_0 - requests=2.31.0=pyhd8ed1ab_0 - rfc3339-validator=0.1.4=pyhd8ed1ab_0 - rfc3986-validator=0.1.1=pyh9f0ad1d_0 - rpds-py=0.10.3=py311h46250e7_0 - send2trash=1.8.2=pyh41d4057_0 - setuptools=68.2.2=pyhd8ed1ab_0 - six=1.16.0=pyh6c4a22f_0 - sniffio=1.3.0=pyhd8ed1ab_0 - soupsieve=2.5=pyhd8ed1ab_1 - stack_data=0.6.2=pyhd8ed1ab_0 - terminado=0.17.1=pyh41d4057_0 - tinycss2=1.2.1=pyhd8ed1ab_0 - tk=8.6.12=h27826a3_0 - tomli=2.0.1=pyhd8ed1ab_0 - tornado=6.3.3=py311h459d7ec_0 - traitlets=5.10.0=pyhd8ed1ab_0 - typing-extensions=4.8.0=hd8ed1ab_0 - typing_extensions=4.8.0=pyha770c72_0 - typing_utils=0.1.0=pyhd8ed1ab_0 - tzdata=2023c=h71feb2d_0 - uri-template=1.3.0=pyhd8ed1ab_0 - urllib3=2.0.5=pyhd8ed1ab_0 - wcwidth=0.2.6=pyhd8ed1ab_0 - webcolors=1.13=pyhd8ed1ab_0 - webencodings=0.5.1=pyhd8ed1ab_2 - websocket-client=1.6.3=pyhd8ed1ab_0 - wheel=0.41.2=pyhd8ed1ab_0 - widgetsnbextension=4.0.9=pyhd8ed1ab_0 - xz=5.2.6=h166bdaf_0 - yaml=0.2.5=h7f98852_2 - zeromq=4.3.4=h9c3ff4c_1 - zipp=3.17.0=pyhd8ed1ab_0 prefix: /opt/mambaforge/envs/test

Command Line Output
Paste the output from your command line running `jupyter lab` (or `jupyter notebook` if you use notebook) here, use `--debug` if possible.
Browser Output
Language pack 'fr_FR' not installed! [jlab_core.be6103fe6f6cc2c18378.js:1:1446012](http://localhost:8889/static/lab/jlab_core.be6103fe6f6cc2c18378.js?v=be6103fe6f6cc2c18378)
Starting application in workspace: "default" [jlab_core.be6103fe6f6cc2c18378.js:1:7693](http://localhost:8889/static/lab/jlab_core.be6103fe6f6cc2c18378.js?v=be6103fe6f6cc2c18378)
Starting WebSocket: ws://localhost:8889/api/kernels/fafcdb6d-37fc-4327-abce-43911edb7f9f 3 [jlab_core.be6103fe6f6cc2c18378.js:1:1225822](http://localhost:8889/static/lab/jlab_core.be6103fe6f6cc2c18378.js?v=be6103fe6f6cc2c18378)
Failed to fetch ipywidgets through the "jupyter.widget.control" comm channel, fallback to fetching individual model state. Reason: Control comm was closed too early [336.ebc7a55ea1768712771f.js:1:5783](http://localhost:8889/lab/extensions/@jupyter-widgets/jupyterlab-manager/static/336.ebc7a55ea1768712771f.js?v=ebc7a55ea1768712771f)
XHRGET
http://localhost:8889/api/terminals?1695273162298

XHRGET http://localhost:8889/api/contents?content=1&1695273164293 [HTTP/1.1 200 OK 34ms]

Error in parsing value for ‘color’. Declaration dropped. lab:78:14 Unknown property ‘-moz-outline-radius’. Declaration dropped. lab:55:23 Unknown property ‘-moz-osx-font-smoothing’. Declaration dropped. lab:5:54 Unknown pseudo-class or pseudo-element ‘-ms-input-placeholder’. Ruleset ignored due to bad selector. lab:124:26 Unknown property ‘-moz-outline-radius’. Declaration dropped. lab:57:23 Unknown property ‘-moz-outline-radius’. Declaration dropped. lab:68:23 Unknown property ‘-moz-outline-radius’. Declaration dropped. lab:56:23 Ruleset ignored due to bad selector. lab:43:45 Ruleset ignored due to bad selector. lab:48:45 Unknown property ‘-moz-outline-radius’. Declaration dropped. lab:200:23 Unknown pseudo-class or pseudo-element ‘has’. Ruleset ignored due to bad selector. lab:50:42 Unknown property ‘-moz-osx-font-smoothing’. Declaration dropped. lab:11:27 Unknown property ‘-moz-box-shadow’. Declaration dropped. lab:504:19 XHRGET http://localhost:8889/api/sessions?1695273170303 [HTTP/1.1 200 OK 2ms]

If using JupyterLab

  • JupyterLab version:
Installed Labextensions
JupyterLab v4.0.6
/opt/mambaforge/envs/test/share/jupyter/labextensions
        jupyterlab_pygments v0.2.2 enabled  X (python, jupyterlab_pygments)
        @jupyter-widgets/jupyterlab-manager v5.0.9 enabled OK (python, jupyterlab_widgets)

The following extensions are outdated: jupyterlab_pygments

Consider checking if an update is available for these packages.

nthiery avatar Sep 21 '23 05:09 nthiery

/cc @SylvainCorlay : if someone on the QuantStack team would be available for resolving this issue, it would be a high priority item to insert in the contract.

nthiery avatar Sep 21 '23 05:09 nthiery

I think this could have been introduced by https://github.com/jupyterlab/jupyterlab/pull/14740 in JupyterLab v4.0.5. A workaround might be downgrading to 4.0.4. Linking https://github.com/jupyterlab/jupyterlab/pull/14115 as we may want to test how this behaves after change to keyboard event bubbling.

krassowski avatar Sep 22 '23 20:09 krassowski

Thanks @krassowski for investigating. I confirm that downgrading 4.0.4 fixes the problem and that it appears at 4.0.5.

nthiery avatar Sep 23 '23 05:09 nthiery

Seems like an upstream bug in JLab. I'll leave this open for tracking purposes, until it's fixed.

ibdafna avatar Oct 10 '23 15:10 ibdafna

Linking jupyterlab/jupyterlab#14115 as we may want to test how this behaves after change to keyboard event bubbling.

@nthiery I think this issue has been fixed with https://github.com/jupyterlab/jupyterlab/pull/14115. Can you try again with jupyterlab 4.0.10 ?

brichet avatar Jan 11 '24 08:01 brichet

Just tried with 4.0.11 and it works smoothly indeed. Thanks to all!

nthiery avatar Jan 30 '24 21:01 nthiery