screen jumps in Jupyter while I'm typing

Hello,

I'm using Jupyter notebook in PyCharm on Ubuntu.

I have a cell with some results below it. When I type, PyCharm scrolls to the end of results and when I type another letter it scrolls back.

It's so annoying this way.

Does anyone know how to fix this?

This is what happens:

https://cloud.spryservers.net/s/XQXwo8FzDz48ZRP

9
7 comments

Hello, 

 

thank you for reporting this. I have added the provided screencast in addition to existing bug behaviour https://youtrack.jetbrains.com/issue/DS-2488 , please follow it to be notified once it is fixed.  

0

I also ran into the same issue as Amirhoseinrahmati , I have a fix/work-around that at least works for me.

I don't think it's related to https://youtrack.jetbrains.com/issue/DS-2488 . At least the buggy behavior is different. In our case, the screen scroll-jumps after every character we type at the end of a cell (pretty hard to work like that..)

After some debugging, I think the cause for our issue might be related to the Vim emulation plug-in. Commenting out "set scrolloff=5" from my .vimrc file that I source from .ideavimrc finally did the trick for me.

Perhaps something to fix in https://github.com/JetBrains/ideavim ? But for now I just limit myself to making a copy of my .vimrc (.vimrc_for_jetbrains) with that line removed and sourcing that one from .ideavimrc  ..maybe just adding "set scrolloff=0" at the end of .ideavimrc instead might do the trick as well..

Hope that helps

 

11

Thank you Lws Sago.

Disabling IdeaVim worked for me.

1

set scrolloff=0 in ideavimrc worked for me

3

It’s already 2024, and this issue is still popping up!


I believe the ultimate solution is to allow the .ideavimrc file to support different file types. This way, I can set scrolloff = 0 for ipynb files while keeping the scrolloff setting intact for other file types.

2

Still exist in 2024.2.3, what a pity

1

Please sign in to leave a comment.