-
-
Notifications
You must be signed in to change notification settings - Fork 21.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add filename filter field to FileDialog #88673
Conversation
4c28a4c
to
347e80c
Compare
5fcec1b
to
c003b8a
Compare
I've got an error saying that |
c003b8a
to
3a9a7e2
Compare
With |
3a9a7e2
to
7017682
Compare
That's weird because it worked with |
Yes it's an alternative syntax, but it's not allowed (and fails on MSVC) |
7017682
to
9d60e18
Compare
MSVC do support alternative syntax, but require inclusion of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same for the second dialog.
Note: This feature will be impossible to implement in the native dialogs (on any of the supported platforms). But native dialogs usually have search functionality of their own.
48fe190
to
1b433d1
Compare
@bruvzg EDIT: Fixed, my fault |
I still can't get the autoselect behavior to work in FileDialog, I need to use Shift + Tab to focus the file list then select a file: filedialog_no_autoselect_after_filter.mp4This behavior only works in EditorFileDialog for me: editorfiledialog_autoselect_after_filter.mp4Also, this is printed in the console every time I enter a character in the file filter if there are no visible files in the current folder in EditorFileDialog (e.g. because of the file type filter):
|
so this isn't the final commit after all 😅, sorry for that |
The same behavior works fine in EditorFileDialog. You can have the ItemList/Tree select an item without giving focus to the ItemList/Tree in question. |
as said here #88673 (comment) , I struggle figuring out why it works in editor version but not in regular one, since it's implemented the same way 2024-08-11.02-50-47.mp4 |
The file focusing doesn't appear to work on the non-editor file dialog in my end. Calinou also reported the same on the dev chat. |
how can I have the latest version of godot source into my branch without adding any commit from my account? |
https://docs.godotengine.org/en/stable/contributing/workflow/pr_workflow.html#updating-your-branch |
thanks |
9d88e54
to
30aa10a
Compare
@bruvzg thanks for your help man |
@bruvzg as written in the review, I made the changes you recommended, but now the editor filename filter doesn't select the firdt item anymore |
d2cf3d3
to
ab4e272
Compare
ab4e272
to
aa4c448
Compare
Could someone please restart the checks, it seems like a network error occured |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added possibility to filter files and folders through a text entry.
aa4c448
to
62edb4e
Compare
Thanks! |
Added possibility to filter files and folders through a text entry.
The text entry is hidden by default, and can be opened by pressing Ctrl+F or by clicking the appropriate filter button.
Closes godotengine/godot-proposals#9099
This Pull Request features a filter bar for

FileDialog
.It enables to search a specific term in the current folder. The matching subdirectories are first displayed alphabetically, and then the same happens to files.
2024-02-29.15-08-45.mp4