<table><tr><td style="">aleksejshilin created this revision.<br />aleksejshilin added a reviewer: Frameworks.<br />Restricted Application added a project: Frameworks.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D8958" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Since breadcrumb menu is opened on mouse press, it may receive<br />
the corresponding mouse release event which may unintentionally<br />
activate the random item which happens to be under mouse pointer.</p>
<p>This commit makes the menu ignore the first mouse release event<br />
unless the pointer was moved. It fixes the issue and still allows<br />
'Press mouse button' -> 'Move to an item' -> 'Release the button'<br />
usage scenario.</p>
<p>BUG: 380287</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R241 KIO</div></div></div><br /><div><strong>BRANCH</strong><div><div>fix_accidental_breadcrumb_menu_item_activation</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D8958" rel="noreferrer">https://phabricator.kde.org/D8958</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/filewidgets/kurlnavigatormenu.cpp<br />
src/filewidgets/kurlnavigatormenu_p.h</div></div></div><br /><div><strong>To: </strong>aleksejshilin, Frameworks<br /></div>