MouseArea on GridView delegate - onExit doesn't fire if GridView dragged and released outside
-
wrote on 18 Jun 2015, 10:55 last edited by
I have a
GridView
, and its delegate is covered by aMouseArea
. I have attached events to the MouseArea'sonExit
signal. The problem is that when I click on a delegate and drag (to scroll the GridView), and release the mouse button after dragging outside the GridView component, I have exited the MouseArea, butonExit
has never fired. I could attach an event to the GridView'sonMovementEnded
signal, but to do anything useful there I'd need to find out if the cursor is on one of the delegates or not - is that even possible? Why isonExit
not fired if I move the cursor outside of the GridView that contains all the MouseAreas? -
wrote on 18 Jun 2015, 13:40 last edited by
This problem occurs in qt 5.4 under linux. I just checked, and it doesn't occur under 5.3 - there,
onExit
is correctly triggered even on drag-release outside theGridView
.
2/2