3
$\begingroup$

I use Mma notebooks to present in the classroom, so for me this is a serious problem. Before starting a class, I close all the sections, subsections, and subsubsections. During a lecture, I open these and close them back down as I move through the notebook. I will be merrily moving through my notebook, when suddenly I can no longer scroll. (Both the scroll keys and the scroll bar stop working.) I have had this problem occasionally in past versions, but I seem to be seeing it more than every in 10.2. Is it worse, or have I just become unlucky?

I think the problem occurs most often when I open a closed subsection. I can sometimes fix the problem by reducing the notebook magnification. (My recollection is that reducing it to 100% used to be a nearly sure-fire fix, but this no longer seems to be the case; sometimes even lower magnifications do the trick.) Sometimes this change in magnification fixes things: I can even restore the magnification, and continue to scroll. Other times, I have to close the "offending" subsection, and if I am lucky, I can reopen it and continue to scroll. In the worst case, I cannot scroll with the subsection open, forcing me to either close Mma and reopen it (usually works) or skip prepared material. I would appreciate hints/clues for how to deal with this situation in real time when it arises.

$\endgroup$
  • 1
    $\begingroup$ Try selecting the cell bracket and use the arrow keys. Or delete graphics output (from Plot3D etc) that you don't need anymore. I've only noticed it on notebooks that are fairly large. If they are large notebooks, consider dividing your lecture into several notebooks. It hasn't seemed worse in 10.2. My guess is that large amounts of data hidden in cells (e.g. graphics) confuses the mechanism that predicts how a scrollbar position maps to a file position. (That's an uninformed wild guess, though.) $\endgroup$ – Michael E2 Sep 2 '15 at 23:14
  • 1
    $\begingroup$ Can you record a screenshot gif of the behavior? $\endgroup$ – M.R. Sep 3 '15 at 2:27
  • $\begingroup$ I have also seen this in version 10.1 on Mac OS X, in a notebook with several hundred cells, even though it contained only a few images (total size less than 20MB). I was able to get it "unstuck" by trial and error, but don't have enough data points to know what's really going on. It could be the combination of large cell count and some large images. So instead of being worse in later versions, maybe it's just worse because your notebook has grown larger. Anyway, I'm just guessing, but agree that there is an issue. Could you add what OS you're using? $\endgroup$ – Jens Sep 3 '15 at 5:07
  • 1
    $\begingroup$ I have also been annoyed by this problem for a long time in all my Versions (5.2/8.0/10.1) There are two things I try: 1) reduce the size of the display (Strg+Mousewheel back in Windows) 2) shift the scroll bar on the right hand side. Here some patience is required in waiting for a reaction, but I have observed that once there was a reaction also the other scrolling mechanisms work. $\endgroup$ – Dr. Wolfgang Hintze Sep 3 '15 at 11:29
  • 1
    $\begingroup$ Try turning off the Predictive interface $\endgroup$ – David Creech Sep 3 '15 at 13:05
2
$\begingroup$

I have been plagued with unreliable scrolling of large notebooks for several years, and several versions of Mathematica, up through the latest 10.3. This past week, I stumbled onto what may be a clue. My troubles have been on iMacs, using the Apple Bluetooth Magic Mouse. When I switch to a USB M100 Logitech mouse, with a scroll wheel, the scrolling performance on the iMac (running OS X 10.11.1) is vastly improved. This suggests the Mathematica Front End is not playing nice with Bluetooth on the Mac - because other apps work beautifully with the Apple Bluetooth mouse.

Correction: I found that a Mathematica Version 11.0 notebook (1.4 MB) containing only code (no graphics), would exhibit erratic scrolling and Text searching behaviour on the 27" Retina iMac using the Apple Bluetooth Mouse. This notebook was found to contain a line of code which was colored Red (using a StyleBox). When I removed the styling of this single cell, the overall scrolling and searching functions reverted to what I consider normal for a notebook of this size. Oddly this notebook contains hundreds of StyleBoxes where the font is Bolded, so it seems that the presence of StyleBox per se is not the issue.

$\endgroup$
  • $\begingroup$ Bluetooth needlessly radiates/microwaves your brain and other bits, when a fixed wire would do the job far better (as you note). Ditch the bluetooth, and make popcorn with your microwave. $\endgroup$ – wolfies Jan 16 '16 at 16:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.