Repository navigation
Description
Description
Hi Oleksandr,
thanks for FSNotes. I use it daily, with notes synced across two Macs and iOS. After updating to 7.6.0, one Mac stopped showing deeper subfolders in the sidebar after a restart, while the same files look fine on iOS and on my other Mac. Downgrading to 7.5.1 fixed it, so it looks like a regression in 7.6.0.
Notes inside the missing folders are still indexed: they show in the parent's note list ("nested folders content") and in search. Only the sidebar entries are missing. Folders created while FSNotes is running appear immediately (via the file watcher), but vanish again after the next restart.
Storage: iCloud Drive (iCloud~co~fluder~fsnotes/Documents). Happens with both the App Store and the GitHub build of 7.6.0 (744).
To Reproduce
- In the storage root, create
A/B/C/D/with a note insideD, e.g.A/B/C/D/test.md.Bmay contain notes;Chas no notes of its own. - The folders appear in the sidebar right away.
- Quit FSNotes (⌘Q) and relaunch.
- Deeper folders are missing from the sidebar. In my case:
a/docs/*lost all its subfolders (docsshows, but no disclosure arrow)b/infra/zz-depthsurvives, butb/infra/zz-depth/zz-subdisappears
Expected behavior
The full folder tree (A › B › C › D) is shown in the sidebar after a restart, as in 7.5.1.
FSNotes version
7.6.0 (744). Works correctly in 7.5.1.
macOS/iOS version
macOS 27.2.1 (26B131). iOS works fine with the same files.
Additional context
Startup log (7.6.0): only folders up to two levels deep are loaded via From disk: …, lbl: … (26 of 166 directories). There are no errors and no Project exist messages.
Ruled out
- Full reset: preferences, container, caches and saved state removed; reinstalled
- Permissions, BSD flags, xattrs (no
es.fsnot.hidden.dir),.DS_Store, hidden.claudefolders - Folder count (
maxChildDirsraised to 2000, tree has 166 dirs) - Folder name or path (renaming
docsdoesn't help after a restart) - Recreating the folders with
ditto(they only show until the next restart)
Possibly related: commit fbfe9a3 (after 7.6.0) changes fetchAllDirectories in Project.swift/Storage.swift, so the scan code has changed since this release.
Note: I'm not a macOS developer. I diagnosed this with the help of Claude (Anthropic's AI assistant), which also helped write this report, including reading the FSNotes source. Happy to run further tests if you need anything.
Activity
mvanhorn commentedon Nov 23, 2026
Both
fetchAllDirectoriesmethods inFSNotesCore/Business/Project.swiftandFSNotesCore/Business/Storage.swiftnow prefetch.isDirectoryKeyand.isPackageKeyand skip non-directories before evaluating exclusions, soskipDescendants()is only called on directories and packages.#2055