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
On MacOS, there is a type of folder that is called a “package” that is usually treated like a file from the user’s perspective. Examples of such packages are (Not limited to):
Applications
Apple Photos Library
Framework or SDK
At the moment, when calling openDirectoryPicker, a “package” cannot be selected. Making it impossible for users to select photos or files under an application. I believe that it should be selectable.
For the FileSystemAccess API, I believe that Safari’s behavior in the File and Directory Entries API should be the standard one. This means that when calling openDirectoryPicker a package should be selectable but not browsable.
The text was updated successfully, but these errors were encountered:
On MacOS, there is a type of folder that is called a “package” that is usually treated like a file from the user’s perspective. Examples of such packages are (Not limited to):
At the moment, when calling
openDirectoryPicker
, a “package” cannot be selected. Making it impossible for users to select photos or files under an application. I believe that it should be selectable.Comparing existing behaviors
Since
openDirectoryPicker
is not implemented in Safari and Firefox, to compare the existing behavior, we have to look at Directory Picker from the File and Directory Entries API,Here’s how each browser behaves for this API:
Safari
Package selectable, not browsable
Firefox & Chromium
Package not selectable.
Proposal
For the FileSystemAccess API, I believe that Safari’s behavior in the File and Directory Entries API should be the standard one. This means that when calling
openDirectoryPicker
a package should be selectable but not browsable.The text was updated successfully, but these errors were encountered: