When a user finishes typing some text in search field, nothing happens, and user should press key enter to start search process, it would great if a little button is added to right side of search field to make it easy for user to click on it to start searching, or enable some kind of automatic search when user stops typing text for a little time (e.g >500ms).
It should be constantly updating the filter as you type
(In reply to David Edmundson from comment #1) > It should be constantly updating the filter as you type I don't mean the widgets explorer that appears at left side of screen, but the one that appears when you click on "Get New Widgets" button.
(In reply to David Edmundson from comment #1) > It should be constantly updating the filter as you type That's a good point yes - it can't just fire it all the time (it's an expensive internetty sort of operation), but having a timer that does the searching in a slightly postponed sort of manner would definitely be good. Hmm, on which note... this seems like perhaps the sort of thing that Kirigami's search field might actually usefully do for us. KNewStuff's not the only place where this would be a useful sort of thing to do, and having it in that component, it would suddenly become available in a consistent manner to any consumer of that component. Marking as confirmed and tagging in Marco for a comment on whether he would support that (i'll offer to write the patch, just to make sure it won't be vetoed outright) :)
yes, should update constantly with an event compression timer so that if you type fast enough it will search only one time. also should be possible to disable as you don't know how much expensive the search operation will be
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kirigami/-/merge_requests/266
Git commit b735312ae714fad828e399ec73b8cdd4b0c03061 by Dan Leinir Turthra Jensen. Committed on 31/03/2021 at 09:17. Pushed by leinir into branch 'master'. Auto fire SearchField's accepted, with optional extra delay Without this, the SearchField requires the user to press either enter or return to signify that a search should happen. This change ensures that the search will happen if the user just inputs search terms into the field, the way search fields seem expected to function today. M +49 -0 src/controls/SearchField.qml https://invent.kde.org/frameworks/kirigami/commit/b735312ae714fad828e399ec73b8cdd4b0c03061