ubuntu-sdk-bugs team mailing list archive
-
ubuntu-sdk-bugs team
-
Mailing list archive
-
Message #06599
[Bug 1566378] Re: Mouse filter: mousemove event logic does not fire exited / entered signals when needed
This bug was fixed in the package ubuntu-ui-toolkit -
1.3.1984+16.10.20160527.2
---------------
ubuntu-ui-toolkit (1.3.1984+16.10.20160527.2) yakkety; urgency=medium
[ Christian Dywan ]
* Slimmer frame for TextFields: 0.5dp. Fixes LP: #1578190.
[ Albert Astals Cid ]
* Add override
The override specifier (since C++11) specifies that a virtual function
overrides another virtual function. In a member function declaration or
definition, override ensures that the function is virtual and is overriding
a virtual function from the base class.
[ Tim Peeters ]
* Fix reference error in PullToRefreshStyle. Fixes LP: #1582843
* Mark Tab, Tabs, TabBar, PageHeadConfiguration, PageHeadSections,
PageHeadState, ToolbarButton, ToolbarItems as deprecated in the
documentation. Fixes LP: #1566735, LP: #1566741.
[ CI Train Bot ]
* Resync trunk.
-- Zoltan Balogh <zoltan.balogh@xxxxxxxxxxxxx> Fri, 27 May 2016
07:08:44 +0000
** Changed in: ubuntu-ui-toolkit (Ubuntu)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, 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 Canonical System Image:
Fix Committed
Status in ubuntu-ui-toolkit package in Ubuntu:
Fix Released
Status in ubuntu-ui-toolkit package in Ubuntu RTM:
Fix Released
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)
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1566378/+subscriptions
References