-
Notifications
You must be signed in to change notification settings - Fork 567
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
Fix GTK folder selection with filters. #957
Conversation
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.
I think we should log a warning in case someone tries to do this.
Also I think it would make sens to either enforce this on all platforms, or add documentation that there is no guarantee for filters to work with folders on any platform (besides macOS)?
After looking more deeply into it, filters don't really work on directories even on macOS. They work on packages instead. I cleaned up the API and added better docs in #960. This PR now focuses on matching the newly documented API in behavior.
|
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.
Considering #960 this seems reasonable to me.
This PR disables file filters when opening folders, because the filter makes it impossible to traverse in the folder structure.
Fixes #947.