You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you use FileDialog or EditorFileDialog with the Open File, Open Files or Save mode, you cannot select a folder as your chosen file. However, you can still enter it by pressing the same shortcut as you would have to select the folder. This doesn't work when relying on automatic selection from the file filter:
Here, I press Enter after entering something in the filter that automatically selects the first visible item:
file_dialog_enter.mp4
If I manually focus the item and press Enter, the folder will be entered, but here, nothing happens. In Save mode, the dialog closes instead (likely because it tries to save in the current folder, even though the user's intent would be to enter the folder instead).
Tested versions
System information
Godot v4.4.dev (b3bcb2d) - Fedora Linux 41 (KDE Plasma) on X11 - X11 display driver, Multi-window, 1 monitor - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 4090 (nvidia; 565.57.01) - 13th Gen Intel(R) Core(TM) i9-13900K (32 threads)
Issue description
When you use FileDialog or EditorFileDialog with the Open File, Open Files or Save mode, you cannot select a folder as your chosen file. However, you can still enter it by pressing the same shortcut as you would have to select the folder. This doesn't work when relying on automatic selection from the file filter:
Here, I press Enter after entering something in the filter that automatically selects the first visible item:
file_dialog_enter.mp4
If I manually focus the item and press Enter, the folder will be entered, but here, nothing happens. In Save mode, the dialog closes instead (likely because it tries to save in the current folder, even though the user's intent would be to enter the folder instead).
Note that I tested EditorFileDialog with #98022.
Steps to reproduce
Minimal reproduction project (MRP)
test_pr_98022.zip
The text was updated successfully, but these errors were encountered: