Using Scrivener 18.104.22.168 with Windows 7 SP1, I have the issue that there is a severe lag between typing and the words appearing. Depending on how fast one types, it takes around 2-3 seconds before the word appears.
The CPU is a AMD A5-5600k which is certainly quick enough for typing.
Perhaps this is related to the spell checking issue I reported here? I base this idea on the observation that the CPU spikes are most heavy after pressing space when completing a words (when I assume the dictionary is referenced). In case it’s relevant, I use the English (United Kingdom) dictionary.
The bug is especially pronounced when typing in a table; the lag is less when typing normal text (but still there).
Turning off the spell check feature does not stop the lag (at least not when the bug has already occurred); only after closing and restarting Scrivener the problem goes away temporarily.
This problem occurs when typing in a single-document view, but might also happen with two-document view (I don’t use that latter feature less).
I could not find a specific cause of this bug; it happens infrequently (about once per 1-2 days).
If you need more information, let me know. Oh, and please respond.
Is the lag something that just starts out of the blue while you’re working and then occurs until you close and restart Scrivener? Or does it just start and stop throughout a single session?
I’d try running Scrivener in Safe Mode or after a reboot with all your start up items temporarily disabled (via msconfig), to help eliminate conflicts with other software.
What is your text formatting like in the editor? Do you use justified alignment? Do you have invisibles showing?
Is there any difference with the size of the text document, e.g. does the lag occur in long documents but not when typing in shorter ones?
Regarding disabling the spell check, do you mean that if it is disabled when Scrivener starts, then the lag does not happen, but if it is enabled and the bug then occurs, disabling it does not fix the lag? Or will the lag start even if “Check spelling as you type” and “Correct spelling errors as you type” are both disabled from the time Scrivener opens?
As an update, last week it happened once. During that time, I was typing in a table with a single document view. The lag persisted when I afterwards typed outside the table, but was less severe than typing in the table.
The table had 2 columns and 6 rows, and the document was just under 300 words long, so document length can probably ruled out as a contributing factor.
Thanks for the update. I have seen and reproduced some significant typing lag using specific input languages like Thai, also unrelated to document length, but not the severe problem you’re seeing with English. You mentioned the tables before–do you find that the lag starts when you’re in the table and then continues afterward, or do you ever get lag in a document without a table, before you’ve worked in a table at all?
The lag starts when working in a table. Once it starts, it does continue when writing outside the table, but very minor: that lag would probably be 15% of the lag occurring in the table. So it is much more pronounced in the table.
In a document without a table, I do not get a lag. And if a document has a table, but I did not work in it during the current Scrivener session, there is no lag.
If it’s helpful, here’s a screenshot of the Scrivener.exe’s threads when the lag occurs:
Any update on this? As a workaround I always try to work without tables and use Tab to format a table like structure (not productive at all), but today I had to use a table to keep working in Scrivener convenient. And the error immediately reappeared, in the second row of the table.
As was suggested in the screenshot above, it might be related to the resizing of the table in Scrivener. I’ll need to test it further, but it seems that when the total table width is less than 100%, the bug does not occur.
Thanks for the update and trying the different table widths, even though unfortunately that didn’t cut it. I haven’t found any other workaround to suggest, I’m afraid. You could try increasing the auto-save interval, but it didn’t seem to make any difference in my testing. I’ve only been able to reproduce this is very large documents, however, so it could be worth a try. One other question, are you seeing this in tables that you created directly in Scrivener, or are these tables copied or imported from another program?
We’re currently working on some major under-the-hood updates for the next major version, which will impact tables, lists and a lot else. It may be these changes alone will clear up the lag problem, but even if not we’ll be in a better place to address the problem.
It does not happen for me in very large documents (although that depends on what large is). My recent document in which it occurred was 1.987 words and 12.298 characters. The Scrivener project file is, however, somewhat large (87k words, 566k characters).
I create the tables directly in Scrivener with ‘Insert Table’. All content that is pasted in Scrivener is in the document itself (so no ‘Research’ entries) and pasted as without formatting (‘paste and match style’ option).
I was able to get rid of this by changing the “save after period of inactivity” setting.
It defaults to “2 seconds,” which means that every two seconds you don’t touch something, it starts the save process. This will introduce a “lag” feeling, because it’s actually saving the project. Set it to 30 seconds or something reasonable and it should go away.
I’m afraid there’s nothing new to report. We haven’t gotten any additional reports that could shed light on the problem, nor have we been able to reproduce the issue or root out the cause. Since we are updating the framework for the next major, I’m still hopeful that will clear up this problem, but I know that does not help you in the immediate case. Did you ever try testing in Safe Mode to see if it made a difference?
I’ve just started experiencing this bug for the first time today. Adjusting autosave did not correct it and it’s not a file size issue for me, it’s a completely new document with only a few lines in it. Script mode with the US stage play template has it, regular blank template still seems fine. I’m currently typing into a table, where it’s worst. Typing below it still has a delay, but not so pronounced. Is the text perhaps having to be filtered through something when a template or table is used? Please prioritize this. It makes the template completely unusable. It’s taken me well over an hour, even pasting from notepad, to create something that should have taken 10-15 minutes at most.
I just downloaded and started to use v1.8.6 on my laptop for Camp NaNo - the trial setup. When I opened Scrivener to set up a project for next week’s start of Camp, I found there was a really serious delay. I could type ahead and eventually it would display, sometimes with a delay of over 5 seconds.
I was also experiencing a “Not responding” issue with other apps and OS functions (Win 7) so I did a clean boot to try to figure out that issue. In the clean boot run, I had no problem with any delay.
However, I have had similar delays in my Mac version of Scrivener on PPC based Macs, though the delay there lasted only about three seconds and, like my Windows computer, I am having “spinning beachballs” when running two or more programs.
The delays may force me to use a plain text program for Camp.
Did you try upping the autosave interval in the General tab of Tools > Options? That often helps with lag problems from frequent writes to the drive. Also check for any software running that may be intercepting the keyboard input, like text expanders, global macro tools, or antikeyloggers; if you have any, try excluding Scrivener from the programs it monitors.