{ "id": "88689", "key": "TIMOB-8728", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "14164", "description": "Release 3.0.2", "name": "Release 3.0.2", "archived": true, "released": true, "releaseDate": "2013-02-19" } ], "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2013-03-02T10:57:39.000+0000", "created": "2012-03-24T10:05:29.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "core", "qe-and040912" ], "versions": [ { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" } ], "issuelinks": [], "assignee": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-17T18:37:21.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "TOUCHSTART event is being fired on parent instead of child. \r\n\r\n*Not a regression, the behavior exists as far back as 1.8.2 at least*\r\n\r\nSteps to reproduce:\r\n1. Run the sample code below\r\n{code}\r\n\r\nvar window = Ti.UI.createWindow({\r\n backgroundColor: 'white'\r\n});\r\n\r\nfunction parentEventHandler(e) {\r\n\t\t\tTi.API.info('parent received ' + e.type.toUpperCase() + ' event. Source: ' + e.source.id);\r\n\t\t}\r\n\r\n\t\tvar sampleParentView = Ti.UI.createView({\r\n\t\t\tbottom : 0,\r\n\t\t\twidth : 150,\r\n\t\t\theight : 150,\r\n\t\t\tbackgroundColor : 'yellow',\r\n\t\t\tid : 'parent'\r\n\t\t});\r\n\r\n\t\tvar sampleChildView = Ti.UI.createView({\r\n\t\t\twidth : 100,\r\n\t\t\theight : 100,\r\n\t\t\tbackgroundColor : 'red',\r\n\t\t\tid : 'child'\r\n\t\t});\r\n\r\n\t\tsampleParentView.addEventListener('touchstart', parentEventHandler);\r\n sampleParentView.add(sampleChildView);\r\n \r\n window.add(sampleParentView);\r\nwindow.open();\r\n{code} \r\n2. Press the red box.\r\n\r\nExpected result\r\nIn the console the output should show \"parent received TOUCHSTART event. Source: child\".\r\n\r\nActual result\r\nThe console displayed the output \"parent received TOUCHSTART event. Source: parent\"", "attachment": [], "flagged": false, "summary": "Android : Titanium.UI.View: V8 and Rhino - Touch event is being fired from parent instead of child.", "creator": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium SDK version: 2.0.0.v20120323221800\r\nPlatform & version: Android (v 2.2.3)\r\nDevice Details: Droid (v 2.2.3)\r\nHost Operating System: OSX 10.7.2\r\nTitanium Studio version: 2.0.0.201203221554  ", "comment": { "comments": [ { "id": "240452", "author": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Issue does not reproduces with\r\n\r\nTitanium Studio, build: 3.0.1.201212181159\r\nTitanium SDK version: 3.1.0 (03/11/13 15:43 0c88429)\r\nTitanium SDK version: 3.0.2 (02/07/13 16:46 a4def81)\r\n\r\nAndroid Emulator: Android SDK version: 2.2", "updateAuthor": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-02T10:57:39.000+0000", "updated": "2013-03-02T10:57:39.000+0000" }, { "id": "413566", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as the issue cannot be reproduced.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-17T18:37:21.000+0000", "updated": "2017-03-17T18:37:21.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }