Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-11439] Android: Invalid events triggered

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2014-08-15T00:59:19.000+0000
Affected Version/sRelease 3.0.0
Fix Version/sRelease 3.1.0, 2012 Sprint 21 API, 2012 Sprint 21
ComponentsAndroid
Labelsapi, module_android, qe-manualtest, qe-port, regression
ReporterHieu Pham
AssigneeIngo Muschenetz
Created2012-10-12T22:11:19.000+0000
Updated2014-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

Comments

  1. Ping Wang 2012-10-12

    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.
  2. Ping Wang 2012-10-12

    backport PR https://github.com/appcelerator/titanium_mobile/pull/3192
  3. Satyam Sekhri 2013-01-22

    Verified on: Studio: 3.0.1.201212181159 SDK: 3.0.2.v20130121140213, 3.1.0.v20130114171802 Android Device: LG P970 (v2.2)

JSON Source