Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cell output cannot be scrolled horizontally in 4.0.3 #14851

Closed
Frank-Steiner opened this issue Jul 19, 2023 · 3 comments
Closed

cell output cannot be scrolled horizontally in 4.0.3 #14851

Frank-Steiner opened this issue Jul 19, 2023 · 3 comments
Labels
bug status:Duplicate status:Needs Triage Applied to new issues that need triage

Comments

@Frank-Steiner
Copy link

Description

When a cell generates output in jupyterlab 3.6.3 that is too wide for the screen, a scrollbar will appear automatically: https://www.bio.ifi.lmu.de/~steiner/scroll3.jpg
In 4.0.3, there is no such scrollbar and so we cannot view the output that's cut off:
https://www.bio.ifi.lmu.de/~steiner/scroll4.jpg

Note: this has nothing to do with "enable scrolling for output", it's independent from this setting.

Reproduce

We created the wide output in an R kernel with

df = read.table("/some/file.csv", sep="\t", header = TRUE)
head(df)

Expected behavior

A scrollbar should appear.

Context

  • Operating System and version: SuSE Linux Enterprise 15 SP4
  • Browser and version: Firefox 115, Chromium 115
  • JupyterLab version: 4.0.3
Troubleshoot Output
Paste the output from running `jupyter troubleshoot` from the command line here.
You may want to sanitize the paths in the output.

$PATH:
/home/b/biouser/.local/bin
/home/b/biouser/bin
/usr/local/bin
/usr/bin
/bin
/usr/lib/mit/bin
/usr/lib/mit/sbin

sys.path:
/opt/jhub/bin
/opt/jhub/lib/python3.10/site-packages
/opt/jhub/lib64/python3.10/site-packages
/usr/lib64/python310.zip
/usr/lib64/python3.10
/usr/lib64/python3.10/lib-dynload
/usr/lib64/python3.10/site-packages
/usr/lib64/python3.10/_import_failed
/usr/lib/python3.10/site-packages

sys.executable:
/usr/bin/python3.10

sys.version:
3.10.11 (main, May 30 2023, 20:02:07) [GCC]

platform.platform():
Linux-5.14.21-150400.24.69-default-x86_64-with-glibc2.31

which -a jupyter:
/home/b/biouser/.local/bin/jupyter
/usr/bin/jupyter

pip list:
Package Version
------------------------- --------
aiohttp 3.8.4
aiosignal 1.3.1
alembic 1.11.1
ansi2html 1.8.0
anyio 3.7.1
argon2-cffi 21.3.0
argon2-cffi-bindings 21.2.0
arrow 1.2.3
asttokens 2.2.1
async-generator 1.10
async-lru 2.0.3
async-timeout 4.0.2
attrs 23.1.0
Babel 2.12.1
backcall 0.2.0
beautifulsoup4 4.12.2
bleach 6.0.0
certifi 2023.5.7
certipy 0.1.3
cffi 1.15.1
charset-normalizer 3.2.0
click 8.1.5
comm 0.1.3
cryptography 41.0.2
dash 2.11.1
dash-core-components 2.0.0
dash-html-components 2.0.0
dash-table 5.0.0
debugpy 1.6.7
decorator 5.1.1
defusedxml 0.7.1
exceptiongroup 1.1.2
executing 1.2.0
fastjsonschema 2.17.1
Flask 2.2.5
fqdn 1.5.1
frozenlist 1.4.0
greenlet 2.0.2
idna 3.4
ipykernel 6.24.0
ipython 8.14.0
ipython-genutils 0.2.0
ipywidgets 8.0.7
isoduration 20.11.0
itsdangerous 2.1.2
jedi 0.18.2
Jinja2 3.1.2
json5 0.9.14
jsonpointer 2.4
jsonschema 4.18.3
jsonschema-specifications 2023.6.1
jupyter_client 8.3.0
jupyter_core 5.3.1
jupyter-dash 0.4.2
jupyter-events 0.6.3
jupyter-lsp 2.2.0
jupyter_server 2.7.0
jupyter_server_proxy 4.0.0
jupyter_server_terminals 0.4.4
jupyter-telemetry 0.1.0
jupyterhub 4.0.1
jupyterlab 4.0.3
jupyterlab-dash 0.1.0a3
jupyterlab-pygments 0.2.2
jupyterlab_server 2.23.0
jupyterlab-widgets 3.0.8
jupytext 1.14.7
Mako 1.2.4
markdown-it-py 3.0.0
MarkupSafe 2.1.3
matplotlib-inline 0.1.6
mdit-py-plugins 0.4.0
mdurl 0.1.2
mistune 3.0.1
multidict 6.0.4
mysql-connector 2.2.9
nbclassic 1.0.0
nbclient 0.8.0
nbconvert 7.6.0
nbformat 5.9.1
nest-asyncio 1.5.6
notebook 6.5.4
notebook_shim 0.2.3
numpy 1.24.2
oauthlib 3.2.2
overrides 7.3.1
packaging 23.1
pamela 1.1.0
pandocfilters 1.5.0
parso 0.8.3
pexpect 4.8.0
pickleshare 0.7.5
pip 22.3.1
platformdirs 3.8.1
plotly 5.15.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.15.1
pyOpenSSL 23.2.0
python-dateutil 2.8.2
python-json-logger 2.0.7
PyYAML 6.0
pyzmq 25.1.0
referencing 0.29.1
requests 2.31.0
retrying 1.3.4
rfc3339-validator 0.1.4
rfc3986-validator 0.1.1
rpds-py 0.8.10
ruamel.yaml 0.17.32
ruamel.yaml.clib 0.2.7
Send2Trash 1.8.2
setuptools 67.6.1
simpervisor 1.0.0
six 1.16.0
sniffio 1.3.0
soupsieve 2.4.1
SQLAlchemy 2.0.18
stack-data 0.6.2
sudospawner 0.5.2
tenacity 8.2.2
terminado 0.17.1
tinycss2 1.2.1
toml 0.10.2
tomli 2.0.1
tornado 6.3.2
traitlets 5.9.0
typing_extensions 4.7.1
uri-template 1.3.0
urllib3 2.0.3
wcwidth 0.2.6
webcolors 1.13
webencodings 0.5.1
websocket-client 1.6.1
Werkzeug 2.2.3
widgetsnbextension 4.0.8
yarl 1.9.2

Command Line Output
Paste the output from your command line running `jupyter lab` here, use `--debug` if possible.

myhost:~> /opt/jhub/bin/jupyter lab --debug
[D 2023-07-19 13:51:29.047 ServerApp] Searching ['/home/b/biouser/.jupyter', '/home/b/biouser/.local/etc/jupyter', '/usr/etc/jupyter', '/usr/local/etc/jupyter', '/etc/jupyter'] for config files
[D 2023-07-19 13:51:29.048 ServerApp] Looking for jupyter_config in /etc/jupyter
[D 2023-07-19 13:51:29.048 ServerApp] Looking for jupyter_config in /usr/local/etc/jupyter
[D 2023-07-19 13:51:29.048 ServerApp] Looking for jupyter_config in /usr/etc/jupyter
[D 2023-07-19 13:51:29.048 ServerApp] Looking for jupyter_config in /home/b/biouser/.local/etc/jupyter
[D 2023-07-19 13:51:29.048 ServerApp] Looking for jupyter_config in /home/b/biouser/.jupyter
[D 2023-07-19 13:51:29.049 ServerApp] Looking for jupyter_server_config in /etc/jupyter
[D 2023-07-19 13:51:29.049 ServerApp] Looking for jupyter_server_config in /usr/local/etc/jupyter
[D 2023-07-19 13:51:29.049 ServerApp] Looking for jupyter_server_config in /usr/etc/jupyter
[D 2023-07-19 13:51:29.049 ServerApp] Looking for jupyter_server_config in /home/b/biouser/.local/etc/jupyter
[D 2023-07-19 13:51:29.049 ServerApp] Looking for jupyter_server_config in /home/b/biouser/.jupyter
[D 2023-07-19 13:51:29.052 ServerApp] Paths used for configuration of jupyter_server_config:
/etc/jupyter/jupyter_server_config.d/jupyterlab.json
/etc/jupyter/jupyter_server_config.d/jupytext.json
/etc/jupyter/jupyter_server_config.json
[D 2023-07-19 13:51:29.053 ServerApp] Paths used for configuration of jupyter_server_config:
/usr/local/etc/jupyter/jupyter_server_config.json
[D 2023-07-19 13:51:29.053 ServerApp] Paths used for configuration of jupyter_server_config:
/usr/etc/jupyter/jupyter_server_config.json
[D 2023-07-19 13:51:29.054 ServerApp] Paths used for configuration of jupyter_server_config:
/home/b/biouser/.local/etc/jupyter/jupyter_server_config.d/jupyterlab.json
/home/b/biouser/.local/etc/jupyter/jupyter_server_config.d/nbclassic.json
/home/b/biouser/.local/etc/jupyter/jupyter_server_config.json
[D 2023-07-19 13:51:29.057 ServerApp] Paths used for configuration of jupyter_server_config:
/home/b/biouser/.jupyter/jupyter_server_config.json
[I 2023-07-19 13:51:29.061 ServerApp] Package jupyterlab took 0.0000s to import
[I 2023-07-19 13:51:29.126 ServerApp] Package jupytext took 0.0641s to import
[D 2023-07-19 13:51:29.126 ServerApp] A _jupyter_server_extension_points function was not found in jupytext, so Jupyter Server will look for extension points in the extension pacakge's root.
[I 2023-07-19 13:51:29.127 ServerApp] Package nbclassic took 0.0004s to import
[W 2023-07-19 13:51:29.128 ServerApp] A _jupyter_server_extension_points function was not found in nbclassic. Instead, a _jupyter_server_extension_paths function was found and will be used for now. This function name will be deprecated in future releases of Jupyter Server.
[D 2023-07-19 13:51:29.134 LabApp] Config changed: {'NotebookApp': {}, 'ServerApp': {'log_level': 'DEBUG', 'jpserver_extensions': <LazyConfigValue {'update': {'jupytext': True, 'nbclassic': True}}>}, 'ExtensionApp': {'log_level': 'DEBUG'}}
[I 2023-07-19 13:51:29.135 ServerApp] jupyterlab | extension was successfully linked.
[I 2023-07-19 13:51:29.135 ServerApp] jupytext | extension was successfully linked.
[D 2023-07-19 13:51:29.140 NotebookApp] Config changed: {'NotebookApp': {}, 'ServerApp': {'log_level': 'DEBUG', 'jpserver_extensions': <LazyConfigValue value={'jupyterlab': True, 'jupytext': True, 'nbclassic': True}>}, 'ExtensionApp': {'log_level': 'DEBUG'}}
[I 2023-07-19 13:51:29.140 ServerApp] nbclassic | extension was successfully linked.
[D 2023-07-19 13:51:29.141 ServerApp] Config changed: {'ExtensionApp': {'log_level': 'DEBUG'}, 'NotebookApp': {}, 'ServerApp': {'log_level': 'DEBUG', 'jpserver_extensions': <LazyConfigValue value={'jupyterlab': True, 'jupytext': True, 'nbclassic': True}>}}
[D 2023-07-19 13:51:29.141 ServerApp] Default value for min_open_files_limit is ignored (hard=2048, soft=2048)
[I 2023-07-19 13:51:29.207 LabApp] JupyterLab extension loaded from /opt/jhub/lib/python3.10/site-packages/jupyterlab
[I 2023-07-19 13:51:29.207 LabApp] JupyterLab application directory is /opt/jhub/share/jupyter/lab
[I 2023-07-19 13:51:29.207 LabApp] Extension Manager is 'pypi'.
[D 2023-07-19 13:51:29.208 LabApp] Extensions list will be fetched from https://pypi.org/pypi.
[I 2023-07-19 13:51:29.210 ServerApp] jupyterlab | extension was successfully loaded.
[I 2023-07-19 13:51:29.210 ServerApp] [Jupytext Server Extension] Deriving a JupytextContentsManager from LargeFileManager
[I 2023-07-19 13:51:29.211 ServerApp] jupytext | extension was successfully loaded.


| | | |_ __ | | | | ___
| || | ' / / _ | / -)
_/| ./_
,_,|____|
|_|

Read the migration plan to Notebook 7 to learn about the new features and the actions to take if you are using extensions.

https://jupyter-notebook.readthedocs.io/en/latest/migrate_to_notebook7.html

Please note that updating to Notebook 7 might break some of your extensions.

[I 2023-07-19 13:51:29.214 ServerApp] nbclassic | extension was successfully loaded.
[I 2023-07-19 13:51:29.215 ServerApp] Serving notebooks from local directory: /home/b/biouser
[I 2023-07-19 13:51:29.215 ServerApp] Jupyter Server 2.7.0 is running at:
[I 2023-07-19 13:51:29.215 ServerApp] http://localhost:8888/lab?token=1719cb3654ec58d5d3aac68c1a0d4e0aac986d4255c19eaa
[I 2023-07-19 13:51:29.215 ServerApp] http://127.0.0.1:8888/lab?token=1719cb3654ec58d5d3aac68c1a0d4e0aac986d4255c19eaa
[I 2023-07-19 13:51:29.215 ServerApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 2023-07-19 13:51:29.565 ServerApp]

To access the server, open this file in a browser:
    file:///home/b/biouser/.local/share/jupyter/runtime/jpserver-15689-open.html
Or copy and paste one of these URLs:
    http://localhost:8888/lab?token=1719cb3654ec58d5d3aac68c1a0d4e0aac986d4255c19eaa
    http://127.0.0.1:8888/lab?token=1719cb3654ec58d5d3aac68c1a0d4e0aac986d4255c19eaa
Browser Output
Paste the output from your browser Javascript console here, if applicable.
@jupyterlab-probot jupyterlab-probot bot added the status:Needs Triage Applied to new issues that need triage label Jul 19, 2023
@Frank-Steiner Frank-Steiner changed the title cells cannot be scroller horizontally in 4.0.3 cell output cannot be scrolled horizontally in 4.0.3 Jul 19, 2023
@krassowski
Copy link
Member

It appears to be a duplicate of #14625.

@Frank-Steiner
Copy link
Author

Oh yes, sorry, I didn't search well enough. And it's indeed only happening in Firefox, not in Chromium, I mixed this up with the other bug report. So I guess I just close this one?

@krassowski
Copy link
Member

Thanks for confirming! Yup, closing it now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug status:Duplicate status:Needs Triage Applied to new issues that need triage
Projects
None yet
Development

No branches or pull requests

2 participants