Mouse filter: mousemove event logic does not fire exited / entered signals when needed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
Critical
|
Zoltan Balogh | ||
ubuntu-ui-toolkit (Ubuntu) |
Fix Released
|
Critical
|
Andrea Bernabei | ||
ubuntu-ui-toolkit (Ubuntu RTM) |
Fix Released
|
Critical
|
Andrea Bernabei |
Bug Description
r1921
Test case:
import QtQuick 2.4
import Ubuntu.Components 1.3
MainView {
application
width: units.gu(50)
height: units.gu(40)
Rectangle {
color: "yellow"
MouseArea {
}
}
}
}
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)
Actual outcome (qml log):
qml: Mouse filter entered
qml: Mouse entered
qml: Mouse exited
qml: Mouse entered
Expected log (qml log):
qml: Mouse filter entered
qml: Mouse entered
qml: Mouse filter exited
qml: Mouse exited
qml: Mouse filter entered
qml: Mouse entered
Related branches
- ubuntu-sdk-build-bot: Approve (continuous-integration)
- Zsombor Egri: Approve
-
Diff: 132 lines (+104/-1)3 files modifiedsrc/Ubuntu/Components/plugin/ucmousefilters.cpp (+2/-1)
tests/unit_x11/tst_mousefilters/EnteredExitedOnMouseMove.qml (+32/-0)
tests/unit_x11/tst_mousefilters/tst_mousefilterstest.cpp (+70/-0)
Changed in canonical-devices-system-image: | |
assignee: | nobody → Zoltan Balogh (bzoltan) |
importance: | Undecided → Critical |
Changed in ubuntu-ui-toolkit (Ubuntu RTM): | |
importance: | Undecided → Critical |
Changed in canonical-devices-system-image: | |
milestone: | none → 11 |
Changed in ubuntu-ui-toolkit (Ubuntu RTM): | |
assignee: | nobody → Andrea Bernabei (faenil) |
status: | New → Fix Committed |
Changed in canonical-devices-system-image: | |
status: | New → In Progress |
Changed in canonical-devices-system-image: | |
status: | In Progress → Fix Committed |
Changed in canonical-devices-system-image: | |
status: | Fix Committed → Fix Released |
I'll take this, as it is blocking the Scrollbar refresh ;)