Skip to content
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 file filter input to FileOpen dialog #4195

Open
2 tasks done
juja256 opened this issue Aug 25, 2023 · 6 comments · May be fixed by #5144
Open
2 tasks done

Add file filter input to FileOpen dialog #4195

juja256 opened this issue Aug 25, 2023 · 6 comments · May be fixed by #5144
Labels
enhancement New feature or request FileDialog Improvements to the builtin file dialogs

Comments

@juja256
Copy link

juja256 commented Aug 25, 2023

Checklist

  • I have searched the issue tracker for open issues that relate to the same feature, before opening a new one.
  • This issue only relates to a single feature. I will open new issues for any other features.

Is your feature request related to a problem?

I am always frustrated with a lack of ability of file searching in FileOpen dialog, it would be very useful to add this feature to fyne, especially when user have a lot of different files in directory and searching the appropriate one is a bit hard.

Is it possible to construct a solution with the existing API?

No response

Describe the solution you'd like to see.

It would be great to add entry search widget to FileOpen dialog, somewhat like that:
Untitled

@juja256 juja256 changed the title Add file filtering to FileOpen dialog Add file searching to FileOpen dialog Aug 25, 2023
@Jacalz Jacalz added enhancement New feature or request FileDialog Improvements to the builtin file dialogs labels Aug 25, 2023
@andydotxyz
Copy link
Member

As well as what it should look like it would be good to know more about how you think it should work. There are many different things that a search in file dialog could do - especially regarding search vs filter. More details would be helpful thanks!

@juja256
Copy link
Author

juja256 commented Aug 28, 2023

For example, when user have to find some file he needs to search all over the files(sorted lexicographically) manually in a directory, it is a bit inconvenient especially when there is a lot of files. System dialogs usually give ability to search file via Ctrl+F or by clicking at search entry: user types some text into entry, after that new file filter will be applied and the list of files in the directory is refreshed.

@andydotxyz
Copy link
Member

Aha thanks, so this is limiting the results in the current directory not searching across the computer?

@matwachich
Copy link
Contributor

So we should call this "file filtering"

@andydotxyz andydotxyz changed the title Add file searching to FileOpen dialog Add file filter input to FileOpen dialog Aug 28, 2023
@Jacalz
Copy link
Member

Jacalz commented Aug 28, 2023

It is worth noting that the search box in Nautilus (Gnome Files) seems to search in the local directory and recursively down into any sub directories when typing something in to it. I think it is a good way to handle it but in that case I wouldn't call it file filtering.

@juja256
Copy link
Author

juja256 commented Aug 29, 2023

Yeah, it would be great to search in the local directory and recursively down into sub-directories.

@billyb2 billyb2 linked a pull request Sep 13, 2024 that will close this issue
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request FileDialog Improvements to the builtin file dialogs
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants