[IPython-dev] Anyone encountering scrolling/"jumpy" issues in the notebook?

Brian Granger ellisonbg at gmail.com
Wed Sep 19 12:34:51 EDT 2012


Dmitry,

Hi,

On Tue, Sep 18, 2012 at 3:42 PM, Dmitry Chichkov <dchichkov at gmail.com> wrote:
> Hello,
>
> I'm consistently encountering a problem that a notebook (dev .13) is very
> 'jumpy'.  That is, after I'm executing some cell and then returning the
> focus to that cell teh notebook scrolls to the start of the cell.
>
> Can be reproduced in the following way:
>  1. add like 100 empty lines to a code cell (so it wouldn't fit into the
> screen);
>  2. add "print" statement;
>  3. run it with ctrl-enter;
>  4. select this print statement with a mouse;
>
> As a result the notebook will scroll to the beginning of the code cell.  And
> _selected_ print statement would _completely_ disappear  from view.
> Could anyone reproduce that? Or is it just me?

This is a combination of your using ctrl-enter and a bug in how cells
are focused.  We think we know how to fix these things (there was a PR
that started to address it), but it is going to require refactoring
our model of how cells are focused and selected.

> If yes, well, as a rule anything selected should never dissapear from view.
> And in general it is a bad idea to scroll, unless user explicitly scrolls...

Yep, for sure.

Cheers,

Brian

> Best,
> Dmitry
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>



-- 
Brian E. Granger
Cal Poly State University, San Luis Obispo
bgranger at calpoly.edu and ellisonbg at gmail.com



More information about the IPython-dev mailing list