[Differential] [Request, 22 lines] D3255: Documentation: small UI fix

antonanikin (Anton Anikin) noreply at phabricator.kde.org
Fri Nov 4 09:23:33 UTC 2016


antonanikin created this revision.
antonanikin added a reviewer: KDevelop.
antonanikin added a subscriber: kdevelop-devel.

REVISION SUMMARY
  This patch fix `Return` key catching during documentation search. Current version process this key pressing only when user select some item in popup list. If no item is selected, then `Retrun` key does nothing:
  
  1. Open CMake documentation
  2. Type `set` in the search line edit.
  3. Completer will show popup with `set` keyword at beginning.
  4. Press `Return` - nothing happens.
  
  It seems to be right to use first popup item as active item when `Return` is pressed.

TEST PLAN
  Tested on master branch.

REPOSITORY
  rKDEVPLATFORM KDevPlatform

BRANCH
  help_enter_key

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

AFFECTED FILES
  documentation/documentationview.cpp
  documentation/documentationview.h

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: antonanikin, #kdevelop
Cc: kdevelop-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20161104/5f14295c/attachment.html>


More information about the KDevelop-devel mailing list