RodZill4 / material-maker

A procedural textures authoring and 3D model painting tool based on the Godot game engine
MIT License
3.44k stars 218 forks source link

Use Native OS File Dialog #643

Open werdnahull opened 10 months ago

werdnahull commented 10 months ago

Feature/enhancement description: Godot's built-in file open/save dialogs are not great. It would be nice to use the native OS dialogs for open, save, and export, which would greatly increase workflow. Something like https://github.com/98teg/NativeDialogs would likely work.

Calinou commented 10 months ago

Godot 4.2 and later has built-in support for native file dialogs as part of the FileDialog node – no need for an extension. Material Maker is being ported to Godot 4, so it'll surely be using 4.2 or later.

u3shit commented 10 months ago

If you implement this, please make this optional. Most native dialog implementation I saw insists on using gtk3 on linux, but gtk3's file selector is so utter crap that literally anything is better than that (even if it's just a simple text box where you can enter a file path, that already has a feature gtk3's file selector doesn't have). (And I really hope godot does load the toolkit library dynamically, I don't want to install gtk3)

RobotRoss commented 9 months ago

+1 to this - The current file dialog works if your computer has a single hard drive, but if you have resources stored across drives or on network shares, it's downright awful.