You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue #1239 shows a screen capture in which the sidebar shows the folders in the open directory as well as a button for creating a new subdirectory. However, when I run the application, I only see the files immediately in the folder, without subdirectories.
Steps to reproduce
On my system, I can simply open any folder with files and subdirectories, but the sidebar shows only the files immediately in the directory (actual behavior), not the subdirectories (expected).
Comments
This behavior appears when the folder is opened from the application "File" menu, but not when opened from the "Open Folder" button in the sidebar.
Thank you for the report. This was a real bug in MarkText 0.16.x, but the entire sidebar file tree and filesystem watcher implementation has been rewritten since then. In the current codebase, both the "File → Open Folder" menu path and the sidebar "Open Folder" button share the same underlying mechanism: a chokidar watcher with unlimited depth and initial-scan enabled, which fires events for every subdirectory and correctly populates the nested tree. The reported discrepancy no longer exists. Closing as resolved by the rewrite.
Activity
Jocs commentedon Jun 27, 2026
Thank you for the report. This was a real bug in MarkText 0.16.x, but the entire sidebar file tree and filesystem watcher implementation has been rewritten since then. In the current codebase, both the "File → Open Folder" menu path and the sidebar "Open Folder" button share the same underlying mechanism: a chokidar watcher with unlimited depth and initial-scan enabled, which fires events for every subdirectory and correctly populates the nested tree. The reported discrepancy no longer exists. Closing as resolved by the rewrite.