Merge pull request #117701 from j20001970/editor-filedialog-sandbox

EditorFileDialog: Document native file dialogs in sandboxed environments
This commit is contained in:
Rémi Verschelde
2026-03-23 12:58:17 +01:00
+1
View File
@@ -7,6 +7,7 @@
[EditorFileDialog] is a [FileDialog] tweaked to work in the editor. It automatically handles favorite and recent directory lists, and synchronizes some properties with their corresponding editor settings.
[EditorFileDialog] will automatically show a native dialog based on the [member EditorSettings.interface/editor/appearance/use_native_file_dialogs] editor setting and ignores [member FileDialog.use_native_dialog].
[b]Note:[/b] [EditorFileDialog] is invisible by default. To make it visible, call one of the [code]popup_*[/code] methods from [Window] on the node, such as [method Window.popup_centered_clamped].
[b]Note:[/b] On Linux and macOS, sandboxed apps always use native dialogs to access the host file system.
</description>
<tutorials>
</tutorials>