D16988: [Kickoff] Make the visible search field unfocused by default

Roman Gilg noreply at phabricator.kde.org
Mon Nov 19 14:10:03 GMT 2018


romangg added a comment.


  In D16988#362160 <https://phabricator.kde.org/D16988#362160>, @rooty wrote:
  
  > (1) Kicker takes the focus off the search field when you go through the results by either mouse or keyboard. This makes it easy to go back to the search field by typing or using the arrow keys (to add more words etc.)
  
  
  Why does it make it easy?
  
  > (2) Krunner becomes unfocused if you use the arrow keys, **but not if you hover over the search results with your mouse**, and it's still possible in either case to append your search same as in Kickoff.
  >  (3) Kickoff (the old, the master and this patch) seems to leave the search field focused at all times while you go through the results, and it's possible to add more characters to the search like in (1) and (2).
  >  (4) Clipboard behaves pretty much like this patch except //pressing the Esc key doesn't make it unfocused again//.
  
  Every applet does it differently. Great.
  
  I would propose:
  
  - By default search field looks unactivated but has focus. Arrow up/down sets focus to the item selected, but typing to start a search is still possible.
  - While typing input field and current top item look activated, but focus shall not lie on the input field but on the item which would get started when Enter is pressed (this item could change while continuing to type).
  - When moving in the search results with arrow keys up/down the search field stays activated (but still the focus lies on the currently selected item).
  - One does not need to go back to the search field with arrow keys to add/remove characters (and also should not be able to do that like in Kicker).

REPOSITORY
  R119 Plasma Desktop

REVISION DETAIL
  https://phabricator.kde.org/D16988

To: rooty, #plasma, #vdg, romangg, ngraham, davidedmundson
Cc: gladhorn, chempfling, filipf, plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20181119/cf30b44b/attachment-0001.html>


More information about the Plasma-devel mailing list