#Use OS open file dialog

12 messages · Page 1 of 1 (latest)

civic fern
#

It would be much better to use the OS open file dialog instead of the custom one when using the file component. The custom dialog doesn't have recently used files, bookmarked locations, etc.

somber herald
#

Really, it's not hard? Considering that godot doesn't have support for it builtin, and therefore it has to be custom low level code for at least three different OSes (and probably an infinite amount for different linux derivatives) I would highly doubt that.

somber herald
#

It looks like godot4 might finally have support for native file dialogs

crude flare
#

come on if you knew linux youd know xdg-open

somber herald
crude flare
#

i know what you are talking about

somber herald
#

Oh, xdg-open works on windows and mac? Interesting

#

And it opens an easily integrable file chooser dialog that can easily be accessed from godot? I don't see that in the documentation

somber herald
civic fern
# somber herald Really, it's not hard? Considering that godot doesn't have support for it builti...

fwiw I work on native cross platform software. It really isn't that hard to cover all 3 platforms; none of the file dialog APIs are particularly complex. There are also numerous small libraries that do this for you. Looks like it's already been done before: https://github.com/geequlim-godot-related/GodotNativeDialogs. That being said if you're not familiar with native cross-platform development and/or integrating that with godot it could well be more difficult.

somber herald