Skip to content

no subdirs shown in sidebar #2038

Closed
Closed

Description

@brainchild0

Description

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.

Versions

  • Mark Text: 0.16.2
  • Operating system: Linux Mint 19.3; Cinnamon 4.4.8

Activity

  1. added
    🐛 bug
    🪲 pri/major
    on May 16, 2026
  2. Jocs commented on Jun 27, 2026

    @Jocs
    Member

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    🪲 pri/major🐛 bug🔭 area/ui

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions