Scrivener slowed down by footnotes

Hello,

Has anyone experienced extremely sluggish functionning of Scrivener (>5 seconds to select a page + white screen/“Scrivener not responding” every minute when writing) ?
This seems to be caused by footnotes (around 50 for a 3.000 word documents, without photos or other media) since the sluggishness ceases as soon as I hide them - curiously, changing to inline footnotes seems to make it a little better, but without solving the issue alltogether. Moreover, I would very much like to write with inspector notes, which are a lot more comfortable.

Thanks in advance !

1 Like

EDIT : inline footnotes actually enable Scrivener to go more smoothly from one page to another, but make it alot worse when writing (white screen every 10 seconds).

Same thing happens to me, since I use a lot of footnotes and comments. I believe this is something common in Scrivener.

1 Like

Yes, this is an issue we already have good data on. In our testing even just closing the inspector tab can improve performance, rather than fully converting to an inline workflow.

Along those lines, try disabling the Open comments in inspector option (which applies to footnotes too) in the Editing: Options tab of File ▸ Options.... This will prefer using a pop-up for viewing and editing notes, so long as the inspector is not already viewing the Footnotes & Comments tab.

I’ve never seen dramatic performance issues with inline annotations or footnotes (way more annotations for me, but that really shouldn’t make a difference as they are virtually identical in terms of tech), so I’m not sure if everything is exactly the same. Are there any other conditions that might stress the text engine, like using a more “expensive” view mode like Page View, Scrivenings editing mode, line numbering, or even just having lots of images in the editor?

2 Likes

Thank you for your reply !

Closing the inspector solves the problem alltogother, but it is extremely slow to open/close and I do need to work with notes regularly. Unfortunately, disabling the “Open comments in inspector” option does not change anything and, as I mentionned, inline footnotes make it significantly worse (white screen every 10 seconds). I have tried whitelisting Scrivener as well, as indicated on the other thread, to no avail.

I absolutely need to work with footnotes visible (since I must add some and edit others frequently) on a double screen and going from one screen to another takes 5+ seconds each way - this is the least sluggish option but still makes Scrivener barely usable.

Are there other technical solutions I may try ? Or practical/organizational ones in order to work with footnotes ?

EDIT : I do not believe I use other conditions such as Page View, etc.

As I have read the issue was specific to version 3., I have downloaded version 1. and the problem is gone. Maybe this could help to find what is wrong ? Moreover, what would be the downsides to working on this earlier version ? Also, my current licence for version 3. does not seem to work for version 1.9.

Unfortunately, disabling the “Open comments in inspector” option does not change anything…

Could you clarify this one a bit? For myself, if I disable that option so that the inspector does not open when clicking on a footnote highlight, so that the only thing that loads is that one footnote I clicked on, then I get no UI lag from doing so, nor any lag when switching between items (since the inspector is closed).

That said, it sounds like you may have more than just this one specific issue…

Are there other technical solutions I may try ? Or practical/organizational ones in order to work with footnotes ?

As for the main issue itself, unfortunately not. We mainly only have notes on what makes it worse, and only the inspector tip for avoiding it.

But again the inline marking feature should in and of itself cause no dramatic slow-downs, so something is a bit odd there and perhaps worth exploring further. I have never seen a problem like you describe, where the whole program stops responding to the OS and goes grey, because of inline notation of any kind—and I use inline annotations a lot. There can be many dozens of them in one scrivenings session at a time. Also worth noting is that this is running Scrivener in a Windows 10 virtual machine, with ~3GB of RAM allocated to it and only two CPU cores. If anything it should be magnifying every performance issue (and generally it does).

Have a look at the test project I am attaching:

footnote_speed_tests.zip (168.5 KB)

  • The project should load to ‘section b’, which uses inline annotations exclusively, and with the inspector closed. So the project should open swiftly.
  • All four of the test sections are identical by the way in terms of content. They each contain 36 footnotes and a more than average amount of text.
  • “section a” has had its footnotes converted to inspector notes.

Clicking on “section a” in the binder loads it immediately, again with my really horrible virtual machine specs.

I for the moment have the aforementioned Editing options disabled so that clicked footnotes open in a pop-up individually. This also reacts immediately, as does using the < and > buttons to flip through notes (you may note it periodically fails to keep itself open; that’s a bug).

Clicking on Draft, which is set up to load in Scrivenings mode, is essentially instantaneous. I see the “building” progress bar for maybe 200ms.

Now at this point we have 36 × 3, or 108 inline footnotes in the view, and 36 footnote highlights. Putting the cursor into the second section (below the empty “Red Book” divider), and adding a new paragraph operates at full typing speed for me. I specifically pressed return twice at the end of a paragraph to add a new one (sorry, Markdown writing habits in this test), and then typed for long enough to invoke word-wrapping a few times. This tests pushing all of the adornments and links around in the view in different ways.

You will find a “Notation” entry in document templates. These copies were just spammed from that, so each use of that will add another 36 inline annotations to test with. You could also select the Red and Black book folders and duplicate then until running into performance issues when editing in scrivenings in the Draft folder. Naturally it will get longer to load if you duplicate enough—no way to speed up loading hundreds of thousands of words.

1 Like

Thank you so much for your help !

I had misunterstood your suggestion - now that I have hidden the inspector, the problem is gone, thank you ! This makes it a lot smoother, the only downside being that I cannot view all footnotes, which is a bit of a shame but I think I will get used to it.

Concerning inline footnotes, I do not have issues on your file and I see no difference with mine in terms of lenth / number of footnotes (and I do not believe I am using any other feature), but this probably means the problem is on my end and since your suggestion works and inline footnotes are a bit too heavy, I will go with it.

Is there any chance of resolving the issue in future updates ? Anyway, thank you very much for your help !

1 Like

Hey, sorry to interfere, but I’m having this same problem. Disabling the Open comments in Inspector option would solve my problem, except that I also have to use metadata and other parts of the Inspector. Is there any way to access these other parts of the Inspector without having to load the comments and footnotes? That would help a lot.
Thank you :heart:

No, and that is definitely part of what goes into optimising this feature! :slight_smile: There is no reason to be loading footnotes and comments if the tab isn’t showing. I mean ideally it shouldn’t take 5 or whatever seconds to load 30 notes into rectangles to begin with, ideally it shouldn’t matter, but even so it is bad practice to, for example, load all of that into graphical rectangles you can’t even see, when right-clicking on the item in the binder.

But get familiar with the shortcuts for the inspector! They are very useful, and I very rarely leave it open even though I also very often use it (though more often the Bookmarks tab than the metadata tab). I just flick it open and off all day, and not to avoid this problem (I don’t use inspector notes much); just because I prefer only having UI open while I’m using it directly.

I also have this question…

I’m sorry, I don’t know what I could add that isn’t already in the other thread on this (that is has been filed). I’ve only left this one open and un-merged only because there appears to be other problems with responsiveness that are unrelated to inspector notes.

For any further notes or queries on that matter specifically, please use the existing bug report thread.