I was searching for a word which I know must be in a project. Search couldn’t find it.
I went to the /Doc folder and found the .rtf file that contains that word.
But I couldn’t see that Document in the binder.
Then I realized that file was not loaded into the Project.
How can this happen?
PS: I use current version 1.9.7. The project was ancient so Scrivener converted it and created a backup. But the same problem occurs in the backup project.
I rebuilt the search index, to no avail.
The project is 2.3 MB.
The document is not in the Trash.
If the project lost the pointer to that doc, that’s quite a problem. Perhaps as a result of converting older projects to the new versions?
It means it could happen elsewhere. And it’s hard to find out.
If the file is in the Docs subfolder but not listed in the Binder, then the master index file has gotten out of sync with the contents of the project. This most commonly happens as a result of a synchronization error. Are you using Dropbox, OneDrive, or a similar service? Are there any files in the Docs subfolder with “conflicted copy” or something similar in the file name?
This problem can also happen if you save a file to the Docs subfolder using any tool other than Scrivener itself.
You can fix the issue by dragging the file out to another location, such as your Desktop, then using the File -> Import command in Scrivener to bring it back into the project.
I now see that the created date for that document file is listed as more recent than its modified date. The same odd thing happens for other documents in Files/Doc and none of those are loaded in the project.
Something weird must have happened to those files, but it’s my problem now.