D24951: [KOpenWithDialog] Automatically select the result if the model filter has only one match

Ahmad Samir noreply at phabricator.kde.org
Sat Oct 26 20:30:59 BST 2019


ahmadsamir added a comment.


  The user typing 'arc' then pressing Enter, and getting the file opened with wireshark is broken behaviour form the user's POV, that's the crux of the bug report in question.
  
  That combobox uses KCompletion and not having the up/down arrow keys navigate through the possible completions in the popup menu, when the mode[1] is CompletionPopup or CompletionPopupAuto, would be broken behaviour too, and unexpected by the user; e.g. in Dolphin, typing a path, there's popup list with possible completions, the arrow keys navigate through that list.
  
  KRunner is a different beast, it can search files, execute commands, invoke kcm modules, manage open windows... etc.
  
  Besides, we are talking about a corner case, 9 out of 10 times you'll only get 1 match.
  
  [1] https://api.kde.org/frameworks/kcompletion/html/classKCompletion.html#a927c284d89e41d976412201b68ca67e9

REPOSITORY
  R241 KIO

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

To: ahmadsamir, dfaure, ngraham
Cc: ngraham, kde-frameworks-devel, LeGast00n, GB_2, michaelh, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20191026/cf629e56/attachment.html>


More information about the Kde-frameworks-devel mailing list