when using kickoff's search by simply typing a lineedit appears in the top part of kickoff. this lineedit is incredibly limited it what it can do namely it: - doesn't have a cursor... - can't ctrl+c / ctrl+v / ctrl+x (fwiw, modifiers in general are ignored) - can't Del (this actually adds funny characters to the lineedit with very funy character height) - can't do selection Backspace (i.e. select everythig with mouse, press backspace, it will do a single character backspace rather than clearing the entire selection) Reproducible: Always
Git commit bd3667c04c66d05d8ce457291ad36262fc8e1241 by Sebastian Kügler. Committed on 21/03/2014 at 02:06. Pushed by sebas into branch 'master'. Fix search input interaction This reworks the focus handling of the search input. Previously, the lineedit would never keep focus, the focus always stayed with the root item. This means that the keys for the lineedit needed to be filtered one by one, and the lineedit wouldn't get the proper focus visually. This patch changes the mechanism to switch focus between lineedit and root view / tab view. It makes the lineedit behave as one is used to. As a cherry on top: Kickoff will paste the clipboard content with Control+V even if the search input doesn't have focus. M +1 -0 plasma-desktop/applets/kickoff/package/contents/ui/Header.qml M +15 -24 plasma-desktop/applets/kickoff/package/contents/ui/Kickoff.qml http://commits.kde.org/kde-workspace/bd3667c04c66d05d8ce457291ad36262fc8e1241