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
{{ message }}
This repository has been archived by the owner on Jun 3, 2022. It is now read-only.
I've noticed a couple of issues with MacOS's File() (and by extension FileMulti()) functions' file filtering.
The filter argument only works for a single file extension - you can't pass, say, "jpg png" to filter out any non-image files.
The extension filter argument MacOS expects (jpg, for example) isn't the same format as what Linux and Windows takes (*.jpg).
I've submitted a PR to resolve these issues - #13. I also expounded on the documentation to give an idea of what a cross-platform filter argument would look like. I just wanted to create an issue here to explain it a bit in case you had some questions or wanted to discuss it a bit.
The text was updated successfully, but these errors were encountered:
Yes, filters are messy, not just between OSes but also between Qt and GTK (zenity and qarma). My idea was to follow just one style and to handle internally all cases, but never got to do it.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello!
I've noticed a couple of issues with MacOS's File() (and by extension FileMulti()) functions' file filtering.
The filter argument only works for a single file extension - you can't pass, say, "jpg png" to filter out any non-image files.
The extension filter argument MacOS expects (
jpg
, for example) isn't the same format as what Linux and Windows takes (*.jpg
).I've submitted a PR to resolve these issues - #13. I also expounded on the documentation to give an idea of what a cross-platform filter argument would look like. I just wanted to create an issue here to explain it a bit in case you had some questions or wanted to discuss it a bit.
The text was updated successfully, but these errors were encountered: