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

FilePicker should display the home directory of the user on MacOS in a sandbox environement #1542

Open
stephane-archer opened this issue Jul 5, 2024 · 1 comment
Labels
macos new issue An issue that hasn't yet been seen from the maintainer stale

Comments

@stephane-archer
Copy link
Collaborator

When using String? selectedDirectory = await FilePicker.platform.getDirectoryPath(); on MacOS with the security sandbox enabled (necessary for shipping on the AppStore) the home directory is replaced by a Data folder located in ~/Library/Containers/MyAppName/Data/

This is the home environment set by the OS for the container, allowing the app to access only files in this container and selected files by the user (using FilePicker)

Screenshot 2024-07-05 at 12 33 49

FilePicker is a dialog for the users that allows the user to access any file, it should not care if the app is in a sandbox environment and should display the user's home directory, not the sandbox home directory

@stephane-archer stephane-archer added the new issue An issue that hasn't yet been seen from the maintainer label Jul 5, 2024
@github-actions github-actions bot added stale and removed stale labels Jul 13, 2024
@github-actions github-actions bot added stale and removed stale labels Jul 22, 2024
@github-actions github-actions bot added stale and removed stale labels Aug 1, 2024
@github-actions github-actions bot added stale and removed stale labels Aug 9, 2024
@github-actions github-actions bot added the stale label Aug 23, 2024
@github-actions github-actions bot closed this as completed Sep 6, 2024
Repository owner deleted a comment from github-actions bot Dec 16, 2024
Repository owner deleted a comment from github-actions bot Dec 16, 2024
Repository owner deleted a comment from github-actions bot Dec 16, 2024
Repository owner deleted a comment from github-actions bot Dec 16, 2024
Repository owner deleted a comment from github-actions bot Dec 16, 2024
Repository owner deleted a comment from github-actions bot Dec 16, 2024
@github-actions github-actions bot added the stale label Jan 16, 2025
Repository owner deleted a comment from github-actions bot Jan 16, 2025
Copy link

This issue is stale because it has been open for 7 days with no activity.

@github-actions github-actions bot added the stale label Feb 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
macos new issue An issue that hasn't yet been seen from the maintainer stale
Projects
None yet
Development

No branches or pull requests

1 participant