Update hovered selection on mouse clicks as well as hoverMove events

Review Request #129959 - Created Feb. 20, 2017 and discarded

Information
David Edmundson
dolphin
Reviewers
dolphin

Scenario:
- user right clicks an item
- a context menu appears, and because it's a context menu grabs all
mouse events at an X level
- user moves mouse over another item, but Dolphin doesn't get any
events
- user clicks to dismiss menu
- without moving the user clicks again

The context menu is for the wrong item.

This patch splits updating the hovered index into a new method, then
calls from that method from hoverMove which had the code before and also into
mousePress/doubleDoubleClick

Right clicked on item with known actions
Using steps above clicked on an item with different known actions
Confirmed menu was correct

David Edmundson
Review request changed

Status: Discarded

Loading...