-
Notifications
You must be signed in to change notification settings - Fork 89
Add file_list
to Get
interface
#179
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
Conversation
I think it would probably be best if we returned As a secondary question: Do I understand that the primary use case for this is to receive a list of file paths that have been drag-and-dropped into an app's window? So for macOS we'd be looking for |
Not just for drag and drop, e.g. when trying to copy a file from file explorer, this is the data placed in the clipboard. |
Ah right, thanks for clarifying 👍. |
255ad9d
to
cd2efdd
Compare
I can't test osx code, so I would like to know if like on Linux file paths are prefixed with |
I tested the OSX code this morning using a modified example and confirmed it returns file paths, with no prefixes:
This is because you're using the |
Thank you for testing |
Upon further testing on Linux, since file paths are exposed as |
That sounds good to me.
No, the
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the delay, this looks good now.
Thanks for the work!
Released in v3.5.0 on crates.io. |
Opening as a draft since osx and wayland are still to do.
While Windows would simply return file paths, X11 returns a uri-list, should we maybe decide a single format to use in all platforms?
Close #51