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

Scrolling in RTC session difficult when cell updates #314

Open
asteppke opened this issue May 17, 2024 · 3 comments
Open

Scrolling in RTC session difficult when cell updates #314

asteppke opened this issue May 17, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@asteppke
Copy link
Contributor

asteppke commented May 17, 2024

With the current jupyter-collaboration 2.1.0 (and earlier) and jupyter lab 4.18 scrolling through the notebook becomes very difficult if there is a cell running with a lot of output in the "primary" jupyter lab.

To reproduce in a new notebook create the following example cell:

import time
for i in range(100_000_000):
    print(f"{i}, ", end="")
    time.sleep(0.05)

and open the notebook in a collaborative session in a second window / computer.

If the cursor is at the end of the notebook scrolling is nearly impossible. If the cell is collapsed the scroll bar jumps as in the following screencast:

GIF 17-05-2024 15-38-47

The user interface in the "primary" jupyter lab that executed the cell shows no issues.

This looks very similar to #310, only that the collapsing of the cell gets temporarily reversed.

@asteppke asteppke added the bug Something isn't working label May 17, 2024
@davidbrochart
Copy link
Collaborator

cc @afshin

@krassowski
Copy link
Member

@asteppke is this still happening in 4.2.x?

@asteppke
Copy link
Contributor Author

@krassowski: I tried with jupyterlab-collaboration 3.0.0a2 and jupyterlab 4.2.2 and it is definitely better. It seems to me that in this combination #310 is fixed and this helps here as well but does not fix the issue of the collapsing.

The scrollbar of the notebook can now be used again, the rapid collapsing and uncollapsing of the output as in the screencast above still occurs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants