Skip to content

[BUG] Adding a folder to Folder as Workspace, if the folder contains symbolic links some of the contents to fail to add to the tree #18226

Description

@roie-r

Is there an existing issue (open or closed) for this?

  • I have searched the existing issues

Is the issue reproducible in Notepad++ without plugin?

  • I have tried Notepad++ without plugin

Is the issue reproducible in portable version of Notepad++?

  • I have tried portable version of Notepad++

Does the issue affect SciTE?

  • I have tried SciTE

Description of the Issue

When adding a folder to Folder as Workspace, if the folder contains symbolic links some of the contents to fail to add to the tree, including the links (hard links don't cause the same issue).
This didn't happen in previous versions.

Steps To Reproduce

  1. add a symbolic link to a non-empty folder.
  2. drag the folder over to Folder as Workspace.
  3. profit?
  • when adding a symlink to a folder already present in the workspace, the link will appear correctly, but after restarting N++ the issue will appear.

Current Behavior

When adding a folder to Folder as Workspace, if the folder contains symbolic links some of the contents to fail to add to the tree, including the links

Expected Behavior

having the full list of a folder's contents in the workspace even with symlinks.

Debug Information

Notepad++ v8.9.7   (64-bit)
Build time: Jul 14 2026 - 01:26:22
Scintilla/Lexilla included: 5.6.4/5.5.1
Boost Regex included: 1_90
pugixml included: 1.16
nlohmann JSON included: 3.12.0
Path: C:\Program Files\Notepad++\notepad++.exe
Command Line: 
Admin mode: OFF
Local Conf mode: OFF
Cloud Config: OFF
WinGUp: present
disableNppAutoUpdate.xml: absent
Periodic Backup: ON
Placeholders: OFF
Scintilla Rendering Mode: SC_TECHNOLOGY_DIRECTWRITERETAIN (2)
Multi-instance Mode: monoInst
asNotepad: OFF
File Status Auto-Detection: cdDisabled
Dark Mode: ON
Display Info:
    primary monitor: 2560x1440, scaling 100%
    visible monitors count: 1
    installed Display Class adapters: 
        0000: Description - AMD Radeon RX 6800 XT
        0000: DriverVersion - 32.0.21043.19003
        0001: Description - AMD Radeon(TM) Graphics
        0001: DriverVersion - 32.0.21043.19003
OS Name: Windows 11 Pro (64-bit)
OS Version: 25H2
OS Build: 26200.8875
Current ANSI codepage: 1252
Plugins: 
    BracketsCheck (1.2.2)
    ComparePlus (2.2)
    DSpellCheck (1.5)
    JSMinNPP (25.11.16)
    JsonTools (8.4)
    mimeTools (3.1)
    NppConverter (4.7)
    NppExport (0.4)
    Python Indent (1.0.0.5)
    XMLTools (3.1.1.13)
    _CustomizeToolbar (5.3)

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions