D8958: Fix unintentional breadcrumb menu item activation

Алексей Шилин noreply at phabricator.kde.org
Thu Nov 23 00:05:48 UTC 2017


aleksejshilin created this revision.
aleksejshilin added a reviewer: Frameworks.
Restricted Application added a project: Frameworks.

REVISION SUMMARY
  Since breadcrumb menu is opened on mouse press, it may receive
  the corresponding mouse release event which may unintentionally
  activate the random item which happens to be under mouse pointer.
  
  This commit makes the menu ignore the first mouse release event
  unless the pointer was moved. It fixes the issue and still allows
  'Press mouse button' -> 'Move to an item' -> 'Release the button'
  usage scenario.
  
  BUG: 380287

REPOSITORY
  R241 KIO

BRANCH
  fix_accidental_breadcrumb_menu_item_activation

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

AFFECTED FILES
  src/filewidgets/kurlnavigatormenu.cpp
  src/filewidgets/kurlnavigatormenu_p.h

To: aleksejshilin, #frameworks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20171123/8163876b/attachment.html>


More information about the Kde-frameworks-devel mailing list