More info: This is what QQuickMouseArea does in Qt5.4 (which is what we're using) https://github.com/qtproject/qtdeclarative/blob/5.4/src/quick/items/qquickmousearea.cpp#L667
-- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to ubuntu-ui-toolkit in Ubuntu. https://bugs.launchpad.net/bugs/1566378 Title: Mouse filter: mousemove event logic does not fire exited / entered signals when needed Status in ubuntu-ui-toolkit package in Ubuntu: Fix Committed Bug description: r1921 Test case: import QtQuick 2.4 import Ubuntu.Components 1.3 MainView { applicationName: "test" width: units.gu(50) height: units.gu(40) Rectangle { anchors.fill: parent color: "yellow" MouseArea { anchors.fill: parent anchors.margins: units.gu(10) hoverEnabled: true onEntered: console.log("Mouse entered") onExited: console.log("Mouse exited") Mouse.enabled: true Mouse.onEntered: console.log("Mouse filter entered") Mouse.onExited: console.log("Mouse filter exited") Rectangle { anchors.fill: parent color: "blue" } } } } How to reproduce: 1) qmlscene testcase.qml 2) move the mouse inside the blue rectangle 3) press and hold the left button of the mouse 4) WITHOUT RELEASING the button, move the mouse outside the blue rectangle 5) (optional) move the mouse back inside the blue rectangle (still without releasing the button) Expected outcome (qml log): qml: Mouse filter entered qml: Mouse entered qml: Mouse exited qml: Mouse entered Actual log (qml log): qml: Mouse filter entered qml: Mouse entered qml: Mouse filter exited qml: Mouse exited qml: Mouse filter entered qml: Mouse entered To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1566378/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp

