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
Reading the OpenFile spec I would assume that I should be able to specify a filter, e.g. filter: [('RTFD documents', [(0, '*.rtfd')])] and have it apply to folder chooser mode (directory: true).
The spec itself doesn't seem to clarify either way. It would be good to specify this.
The use case is for apps whose conceptual unit of a "document" is a folder. The best-known example is probably RTFD documents. My use case specifically is for Inform, a development environment that stores its projects in folders named *.inform.
This kind of document is more common on MacOS (where it is transparently supported by the OS) and indeed the Inform folder format originated there, but it would be good for interoperability and software freedom to provide facilities for dealing with these kinds of folders in the Portal spec.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Reading the OpenFile spec I would assume that I should be able to specify a filter, e.g.
filter: [('RTFD documents', [(0, '*.rtfd')])]
and have it apply to folder chooser mode (directory: true
).However I heard on the Nautilus issue tracker that that is a surprising interpretation of the spec.
The spec itself doesn't seem to clarify either way. It would be good to specify this.
The use case is for apps whose conceptual unit of a "document" is a folder. The best-known example is probably RTFD documents. My use case specifically is for Inform, a development environment that stores its projects in folders named
*.inform
.This kind of document is more common on MacOS (where it is transparently supported by the OS) and indeed the Inform folder format originated there, but it would be good for interoperability and software freedom to provide facilities for dealing with these kinds of folders in the Portal spec.
Slightly related is #1419.
Beta Was this translation helpful? Give feedback.
All reactions