Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to Drag Hidden Files (Dot-Prefixed) into App on macOS #12

Open
wjx opened this issue Dec 8, 2024 · 1 comment
Open

Unable to Drag Hidden Files (Dot-Prefixed) into App on macOS #12

wjx opened this issue Dec 8, 2024 · 1 comment

Comments

@wjx
Copy link

wjx commented Dec 8, 2024

On macOS, files with names that begin with a dot (hidden files) cannot be dragged and dropped into the application.

Payload app version: 0.2.8
MacOS: Sequoia 15.1.1

@betamos
Copy link
Owner

betamos commented Dec 30, 2024

Thanks for the report. All dot-files are ignored during the directory traversal in order to avoid unintentional privacy leaks (e.g. for .git or .env). This is exacerbated since there's no way to expand directories in the UI at the moment, which can hide them from the user.

There are also metadata files that should not leave the local drive (macOS has several of these, like .AppleDouble .DS_Store etc, and that also needs some consideration).

In this case, you have clear intent to directly use a specific file, so there should be a way to do that. I will treat this as a feature request for file filters in general including dot files/hidden that live in sub-directories.

If you've run into more use-cases involving hidden/dot-files, please let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants