Open requested to merge pdabrowski/kio:phd-KFileWidget-custom-filter-field into master
This is a slight upgrade to the KFileWidget window.
KFileWidget does not provide a FILTER BAR, a feature very useful for quick file search, which is available in Dolphin.
This patchset adds an easily accessible filter bar, which behaves exactly like the one in Dolphin.
Currently there exists limited filtering functionality provided by the file type filter combobox.
- it does not hide directories from view (which is expected for it's purpose, but defies its role as a filter bar)
- it does not reset on directory change (which is also expected from it, but undesired for a proper filter bar)
- it's purpose is to simply limit visible file extensions, not provide quick file search
- being able to do a quick search without messing with file types suggested by default by an app is useful
- I asked a few friends, and nobody is aware that this field can be used to provide at least limited filter bar functionality
So type filter combobox is now not editable by default (but you can simply right click to edit it).
Requires: kcompletion!7 (merged)