godotengine / godot-proposals

Godot Improvement Proposals (GIPs)
MIT License
1.16k stars 97 forks source link

Add native file dialog to `EditorFileDialog` #10981

Open atirut-w opened 1 month ago

atirut-w commented 1 month ago

Describe the project you are working on

N/A

Describe the problem or limitation you are having in your project

N/A

Describe the feature / enhancement and how it helps to overcome the problem or limitation

Using native file dialogs allows the user to also make use of many convenient native features. For example, on GNOME, you can easily access files on network mounts in a single click. FileDialog already have the ability to use native ones, but this feature seems to be completely absent from editor file dialogs.

Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams

Implement the same functionality in EditorFileDialog OR resolve #6831

If this enhancement will not be used often, can it be worked around with a few lines of script?

EditorFileDialog is core.

Is there a reason why this should be core and not an add-on in the asset library?

N/A

KoBeWi commented 1 month ago

EditorFileDialog does support native dialogs. There is even editor setting for using native dialogs in the editor.

atirut-w commented 1 month ago

Huh, indeed. It's doesn't seem to be documented, though. Do I open a new documentation issue? I also would like the editor to use native file dialogs by default.