Merge lp:~faenil/ubuntu-ui-toolkit/addIgnoreSynthesizedEventsToMouseFilter into lp:ubuntu-ui-toolkit/staging
Proposed by
Andrea Bernabei
Status: | Merged |
---|---|
Approved by: | Zsombor Egri |
Approved revision: | 1738 |
Merged at revision: | 1742 |
Proposed branch: | lp:~faenil/ubuntu-ui-toolkit/addIgnoreSynthesizedEventsToMouseFilter |
Merge into: | lp:ubuntu-ui-toolkit/staging |
Diff against target: |
274 lines (+166/-2) 6 files modified
components.api (+1/-0) src/Ubuntu/Components/plugin/ucmouse.h (+6/-0) src/Ubuntu/Components/plugin/ucmousefilters.cpp (+61/-1) tests/unit_x11/tst_mousefilters/FilterSynthesizedEvents.qml (+34/-0) tests/unit_x11/tst_mousefilters/tst_mousefilters.pro (+2/-1) tests/unit_x11/tst_mousefilters/tst_mousefilterstest.cpp (+62/-0) |
To merge this branch: | bzr merge lp:~faenil/ubuntu-ui-toolkit/addIgnoreSynthesizedEventsToMouseFilter |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot | continuous-integration | Approve | |
Zsombor Egri | Approve | ||
Review via email: mp+279464@code.launchpad.net |
Description of the change
add the ignoreSynthesiz
When the property is enabled, the Mouse filter ignores any synthesized mouse event, such as those created by the touch-to-mouse events synthesis.
Enabling this property makes it possible to only trigger the hovering logic ONLY when using a mouse, and not when using a touchscreen (as it happens when using MouseArea).
To post a comment you must log in.
PASSED: Continuous integration, rev:1738 jenkins. qa.ubuntu. com/job/ ubuntu- sdk-team- ubuntu- ui-toolkit- staging- ci/2564/ jenkins. qa.ubuntu. com/job/ ubuntu- sdk-team- ubuntu- ui-toolkit- staging- vivid-amd64- ci/1292 jenkins. qa.ubuntu. com/job/ ubuntu- sdk-team- ubuntu- ui-toolkit- staging- vivid-armhf- ci/1294 jenkins. qa.ubuntu. com/job/ ubuntu- sdk-team- ubuntu- ui-toolkit- staging- vivid-armhf- ci/1294/ artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ ubuntu- sdk-team- ubuntu- ui-toolkit- staging- vivid-i386- ci/1291
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/ubuntu- sdk-team- ubuntu- ui-toolkit- staging- ci/2564/ rebuild
http://