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
Horizontal scrollbar hides cell's last line on Firefox #5364
Comments
One of @jdfreder's favourite bugs. Which version of IPython are you using? |
I'm using 2.0.0beta1 on Python 3. |
IIRC I've seen this happen when zoomed in more than 100% before. Are you able to get this with just a really long line every time? Also, what is your monospace font set to? |
I have tried again with IPython 1.2 and I am unable to reproduce this (the global horizontal scrollbar appears at the bottom of the browser), whereas every single time I put a long line the per-cell scrollbar hides the last one. In both Firefox and Chromium the rendered font is DejaVu Sans Mono, but the failure appears only in Firefox. |
I wrote this JS fiddle that reproduces the behavior (see the red box): This is behavior is caused by this line: Which fixes this bug: Which I still can't reproduce in Firefox 25+. If I was able to reproduce #3549, I would write a fiddle and open an issue with CodeMirror. Pinging @juhasch and @minrk since they were able to reproduce #3549 . |
I need to add: It is exactly the same with |
Hmmm. I do see that the Looking at the code that the element inspector shows, it's interesting that that is the only changing variable (I'm looking at it too). |
I just want to report I am having this same problem as well with IPython version 2.0, Firefox version 28. When I switch to using Chrome, this is not a problem. |
#5446 should fix it |
I get this on IPython 2.0, ubuntu and firefox 28.0. It's a real pain, because whenever I resize the window (e.g. to have a notebook open on the right half of the screen), I lose most of the last line in any cell with decent line length. |
I can confirm that #5446 (jdreder's scrollbar branch) fixes this. |
The bug being worked around appears to be fixed either in CodeMirror or Firefox (tested with FF 29). Importantly, the workaround appears to *introduce* incorrect behavior closes ipython#5192 closes ipython#5364
The bug being worked around appears to be fixed either in CodeMirror or Firefox (tested with FF 29). Importantly, the workaround appears to *introduce* incorrect behavior closes ipython#5192 closes ipython#5364
Same problem, Firefox 29, IPython 2.0, Ubuntu 12.04.4. |
This should be fixed in IPython 2.1, released a week or so ago. |
Just an FYI that this problem seems to exist in firefox (29.0.1) on OSX (10.8.5). A little different here, as the scrollbar is invisible until you scroll. I recall some other odd behavior with horisontal scrolling too (can't recall right now), been meaning to put in a bug, but have been busy with other things.. |
The bug being worked around appears to be fixed either in CodeMirror or Firefox (tested with FF 29). Importantly, the workaround appears to *introduce* incorrect behavior closes ipython#5192 closes ipython#5364
In Firefox under Linux, when the cell contents are too wide the horizontal scrollbar hides the last line:
The text was updated successfully, but these errors were encountered: