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
{{ message }}
Repository navigation
[Feature]: Support adding files from symlinked directories when choosing to open a folder #252
I'm not too sure if this is a Feature Request of a Bug Report, but currently Frame does not follow symlinked folders. I currently have it installed through Flatpak with access allowed for both my Musics folder and the symlinked folders' target that resides on a second storage.
Proposed solution
As long as Frame has access to the target location, it should support following the symlinked folder so it can see and add the files present there automatically when choosing a directory with symlinked folders inside of it.
Workflow and media context
No response
Relevant platforms
Linux
Alternatives considered
No response
Additional context
No response
Checklist
I searched the existing issues and did not find a duplicate request.
Reproduced on master @ 8fe5aa1: choosing a folder containing a symlinked subdirectory adds nothing from the symlink target. The cause is in frame-app/src/file_filters.rs — supported_source_paths_in_directory uses DirEntry::file_type(), which does not follow symlinks, so a symlinked directory reports neither is_dir() nor is_file() and is silently skipped (same for symlinked files).
I'll fix the discovery to follow symlinks, with cycle protection so symlink loops and repeated targets terminate without duplicates. Regression tests discover_supported_source_paths_follows_symlinked_directories and discover_supported_source_paths_skips_symlink_loops_and_duplicate_targets are written and both currently fail on base.
Thanks for reporting this, and thanks @Huyvux12 for the proposed fix in #253.
The limitation is confirmed. During review, I found that the proposed traversal can revisit the same directory through different symlinks and generate thousands of duplicate entries. That needs to be addressed before merging.
The fix isn't included in 0.35.0. This issue stays open until we have bounded traversal, regression coverage, and verification of the reported Flatpak scenario.
Activity
Huyvux12 commentedon Nov 14, 2026
Reproduced on master @ 8fe5aa1: choosing a folder containing a symlinked subdirectory adds nothing from the symlink target. The cause is in
frame-app/src/file_filters.rs—supported_source_paths_in_directoryusesDirEntry::file_type(), which does not follow symlinks, so a symlinked directory reports neitheris_dir()noris_file()and is silently skipped (same for symlinked files).I'll fix the discovery to follow symlinks, with cycle protection so symlink loops and repeated targets terminate without duplicates. Regression tests
discover_supported_source_paths_follows_symlinked_directoriesanddiscover_supported_source_paths_skips_symlink_loops_and_duplicate_targetsare written and both currently fail on base.66HEX commentedon Nov 16, 2026
Thanks for reporting this, and thanks @Huyvux12 for the proposed fix in #253.
The limitation is confirmed. During review, I found that the proposed traversal can revisit the same directory through different symlinks and generate thousands of duplicate entries. That needs to be addressed before merging.
The fix isn't included in 0.35.0. This issue stays open until we have bounded traversal, regression coverage, and verification of the reported Flatpak scenario.