WICG / file-system-access

Expose the file system on the user’s device, so Web apps can interoperate with the user’s native applications.
https://wicg.github.io/file-system-access/
Other
663 stars 65 forks source link

extension code-point limit to 16 chars is too low for modern apps (showSaveFilePicker) #405

Open tiptronic opened 1 year ago

tiptronic commented 1 year ago

For our (native) custom applications we register a couple of file-extensions with the OS. Unfortunately some of these are longer than 16 characters (including the '.').

There seems to be no way to use the showSaveFilePicker method to save any of these files:

The conclusion here is, that for nowadays modern applications, the extension-length limit to 16 character seems too restrictive.

Is there any chance, this restriction is lifted or made a bit more flexible - e.g. let me just enter a suggestedName including extension and have the showSaveFilePicker to not touch the suggestedName? Or allow for longer extensions? Or allow for wildcard extensions?

a-sully commented 12 months ago

FYI some discussion about this is happening over on https://crbug.com/1464953