damianavila / RISE

RISE: "Live" Reveal.js Jupyter/IPython Slideshow Extension
Other
3.67k stars 416 forks source link

Weird behaviour when exiting a presentation #485

Closed srcoulombe closed 5 years ago

srcoulombe commented 5 years ago

Hi, I'm really digging RISE, and I'm trying to use it whenever I can to do presentations with live coding! I keep coming across a weird thing when I exit presentation mode though; the entire notebook seems to be shifted up & to the left - sorry for the poor description, this gif is a better explanation.

I'm using firefox btw.

rise_exit_problem

parmentelat commented 5 years ago

thanks for reporting this

if you can, answers to the following questions may help pinpointing the issue

srcoulombe commented 5 years ago

python=3.7.0, rise=5.5.0, notebook=5.7.8,

I'm seeing this with all my notebooks that use RISE.

Yup, the "split cells notebook" extension is the one.

Sorry I've never looked at the javascript console :( If you have a tutorial/link that could show me how, I'd be super down to learn more about it and how to use it for debugging.

Here's a notebook with that weird behaviour: https://github.com/srcoulombe/weird-rise-behaviour/blob/master/3.%20Collections.ipynb

Thanks a ton for your work man! I really really enjoy using RISE!

parmentelat commented 5 years ago

hey thanks for the report

as far as the javascript console, on a mac you would toggle the developer tools with command-alt-i
then look for the 'Console' tab
there are plenty tutorials on the internet that, the information is really easy to find

I have been able to play the nb that you point at and could not reproduce the issue; well I'm using the devel version 5.6.0.dev3 instead of the stable 5.5.0 one, but I can't see any change in the meanwhile that could explain that

how exactly do you get out of the reveal mode ?

srcoulombe commented 5 years ago

I'd exit the presentation mode by clicking the (x) icon at the top left of the screen.

Ok I ended up deleting the notebook.json, rise.json, and reveal.json from my .jupyter/nbconfig directory and relaunching jupyter. Since that worked, I'm guessing that I'd messed up one of those files and that's why I was getting the error. All's good now, the notebook.json file was remade, and adding extensions through the Nbextensions configuration manager works as well.

Thanks!