Thunderbird Hangs When Saving Draft
Last Updated July 2017 · debuggingBeen having an issue lately with Thunderbird hanging, sometimes several times an hour. Always it’s while I’m writing an email. Always the latest (or nearly-latest) version of the email is saved in the Drafts folder, which led me to believe that it had something to do with the process of saving a draft.
Following Mozilla’s testing guidelines, first test was using Thunderbird in Safe Mode. Same problem, so it wasn’t the fault of any extensions. Also excluded Windows Defender from scanning the Thunderbird profile folder, to no avail.
Number 6 on the list mentions the Windows Indexer may be causing the problem, and the linked Bugzilla entry describes the problem as occurring while writing emails, sending emails, or saving drafts. Also, this is apparently particularly a problem in Windows 10. That checks all the boxes!
Solution 1: Hit it with a very large hammer.
Since I use Everything for file search almost exclusively, and Indexing provides questionable benefit on SSDs anyways, I elected to completely disable the Windows Search service.
- Win+R, type “services.msc”
- Right click “Windows Search”, click “Properties”
- Click “Stop”
- Set “Startup Type” to “Disabled”
Problem solved!
…with one gotcha. Apparently Microsoft OneNote relies on Indexing for its search, and I rely on OneNote. What used to be instant is now 10-15 seconds of matching notes slowly trickling in.
Solution 2: Tap It with a Small Hammer.
Ok, re-enabled indexing. Now to chain it to OneNote.
-
Start -> Indexing Options
- Modify
- Uncheck everything except the line starting with “oneindex”
- Click OK
- Repeat steps 2-4 until everything is actually checked and the main window shows zero included locations
Assuming that “oneindex16” is the location for OneNote/OneDrive, since it is prefixed with the word “one”.
If you wanted to be truly precise about this, and wanted to keep Indexing active, you could check everything except for the Thunderbird profile directory. That’d probably still solve the original issue.
After a short while, the number of “items indexed” displayed on the main screen dropped to a relatively small number. As a final test I opened OneNote and searched for a random string - bam, instant response.
Comments