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

Test: Toggle notebook output scrolling #180761

Closed
3 tasks done
amunger opened this issue Apr 24, 2023 · 2 comments
Closed
3 tasks done

Test: Toggle notebook output scrolling #180761

amunger opened this issue Apr 24, 2023 · 2 comments

Comments

@amunger
Copy link
Contributor

amunger commented Apr 24, 2023

Refs: #174951

Complexity: 3

Authors: @amunger, @rebornix

Create Issue


  1. Create a new notebook file
  2. Run a few cells with large outputs, examples below
  3. while focused in a cell with large output, toggle the scrollability with the command Notebook: toggle scroll cell output, hotkey ctrl+k ctrl+y, and the link in the truncation message.
  4. Use the settings link to find notebook output related settings and try to update them (changing the global scroll setting will determine how cells are initially rendered)

Some examples to try

Streaming output

Output will continuously update but is still able to toggle scrollability

import time
for i in range(200):
    time.sleep(.1)
    print(i)

Longer than the hard limit of 5000 lines

for i in range(5005):
    print(i)
@vscodenpa vscodenpa added this to the April 2023 milestone Apr 24, 2023
@ulugbekna
Copy link
Contributor

ulugbekna commented Apr 25, 2023

This is very cool!

hotkey ctrl+k ctrl+y

just a typo probably, but it seems to be ctrl+k y

@ulugbekna ulugbekna removed their assignment Apr 25, 2023
@bamurtaugh
Copy link
Member

bamurtaugh commented Apr 25, 2023

I can't seem to get ctrl+k y or ctrl+k + ctrl y to work:

image

image

I'm using Jupyter pre-release v2023.4.1011171100. Am I missing something? The other methods (i.e. Notebook: toggle scroll cell output) work for me. Let me know if I should file an issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants