Skip to content
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

[macOS] Option to use system file selector #274

Closed
gingerbeardman opened this issue Jun 25, 2020 · 8 comments
Closed

[macOS] Option to use system file selector #274

gingerbeardman opened this issue Jun 25, 2020 · 8 comments
Labels
platform-specific Related to specific platforms

Comments

@gingerbeardman
Copy link

I find the built-in file selector very difficult to use, because it has few of the features and benefits that the system file selector has.

So, it would be nice to have the Option to use system file selector on macOS.

Thanks!

@Schweini07
Copy link
Contributor

@OverloadedOrama This may be possible, see: https://godotengine.org/qa/4312/is-there-a-way-to-open-the-os-file-manager

@OverloadedOrama OverloadedOrama added the platform-specific Related to specific platforms label Jun 26, 2020
@OverloadedOrama
Copy link
Member

I tried using OS.shell_open("file://") but it just opens a window of the system file explorer, not the system file selector. AFAIK, I don't think OS.shell_open() can return a file path either. The PR linked in the answer also seem irrelevant to the issue. Is there some other way to do this, or am I doing something wrong?

@gingerbeardman
Copy link
Author

That code just opens the directory in Finder (file manager) rather than opening a file selector/picker window.

I looked into it and apparently not possible/refused to be implemented by Godot

godotengine/godot#13177

@gingerbeardman
Copy link
Author

gingerbeardman commented Jun 26, 2020

So my main issue is that when I open the file selector it is at the filesystem root.

I expect it to be at my home directory root.

Once a file has been opened the file selector opens to that location, which is good.

@gingerbeardman
Copy link
Author

@Schweini07 not sure I follow. the request is not for file manager to pop up

but for system file picker to be used instead of godot file picker.

Anyway, see above, Godot will not allow this.

Closing, I guess...

@Schweini07
Copy link
Contributor

Yes, saw this right now, followed the conversation wrong ^^.

@gingerbeardman
Copy link
Author

gingerbeardman commented Jun 26, 2020

@OverloadedOrama OverloadedOrama changed the title Option to use system file selector on macOS [macOS] Option to use system file selector Jul 23, 2020
@gingerbeardman
Copy link
Author

Almost added to godot: godotengine/godot#47499

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform-specific Related to specific platforms
Projects
None yet
Development

No branches or pull requests

3 participants