[TIMOB-11439] Android: Invalid events triggered
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | High |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2014-08-15T00:59:19.000+0000 |
| Affected Version/s | Release 3.0.0 |
| Fix Version/s | Release 3.1.0, 2012 Sprint 21 API, 2012 Sprint 21 |
| Components | Android |
| Labels | api, module_android, qe-manualtest, qe-port, regression |
| Reporter | Hieu Pham |
| Assignee | Ingo Muschenetz |
| Created | 2012-10-12T22:11:19.000+0000 |
| Updated | 2014-08-15T00:59:19.000+0000 |
Description
View fires 'click' and 'swipe' when perform a swipe action
var win = Ti.UI.createWindow({fullscreen: true});
win.addEventListener('swipe', function(e) {
Ti.API.info("win swiped");
});
win.addEventListener('click', function(e) {
Ti.API.info("win click");
});
var child = Ti.UI.createView({backgroundColor: "red"});
win.add(child);
win.open();
1. Swipe the view
Expected:
win swiped
Actual:
win swiped
win click
PR https://github.com/appcelerator/titanium_mobile/pull/3190 For FR: 1. Run the above test case. 2. Run all the test cases in TIMOB-10463.
backport PR https://github.com/appcelerator/titanium_mobile/pull/3192
Verified on: Studio: 3.0.1.201212181159 SDK: 3.0.2.v20130121140213, 3.1.0.v20130114171802 Android Device: LG P970 (v2.2)