{ "id": "79242", "key": "TIMOB-5007", "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": "12075", "description": "", "name": "Sprint 2011-35", "archived": true, "released": true, "releaseDate": "2011-09-05" } ], "resolution": { "id": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2011-08-31T22:42:59.000+0000", "created": "2011-08-15T10:09:16.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "android", "api", "debugger", "parity" ], "versions": [], "issuelinks": [ { "id": "12405", "type": { "id": "10001", "name": "Cloners", "inward": "is cloned into", "outward": "is cloned from" }, "outwardIssue": { "id": "78539", "key": "TIMOB-4949", "fields": { "summary": "iOS: Show all the children of a touchstart event's e.source in debugger", "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" } }, "priority": { "name": "Trivial", "id": "5" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } }, { "id": "12406", "type": { "id": "10020", "name": "Depends", "inward": "is dependent of", "outward": "depends on" }, "inwardIssue": { "id": "79011", "key": "TISTUD-567", "fields": { "summary": "CLONE - Debugger does not show all the children of a touchstart event's e.source", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-07T19:54:15.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": "When debugging a touchstart event, you can not see all the children of e.source.\r\nAndroid only shows \"e.source.backgroundColor\"\r\niOS only shows \"e.source.backgroundColor\", \"e.source.barColor\", \"e.source.barImage\", and \"e.source.orientationModes\".\r\nThere should be more children, \"e.source.center\" for example. As demonstrated in the code.\r\n\r\nStep 1: debug using the code below (iOS and Android)\r\nStep 2: set a breakpoint in the touchstart eventListener\r\nStep 3: click the window\r\nStep 4: inspect the e.source variable\r\nStep 5: notice that \"e.source.center.x\" is displayed in the console but not in the debugger\r\n\r\n{code:title=\"app.js\"}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor: 'blue'\r\n});\r\nwin.addEventListener('touchstart', function(e){\r\n\r\n Ti.API.info(\"Touch Started for view: \" + e.source);\r\n Ti.API.info(\"View Center: \" + e.source.center.x + \",\" + e.source.center.y);\r\n Ti.API.info(\"e.globalPoint: \" + e.globalPoint);\r\n Ti.API.info(\"Start Touch: \" + e.globalPoint.x + \",\" + e.globalPoint.y);\r\n});\r\nwin.open();\r\n{code}\r\n\r\nh3. Associated Helpdesk Ticket\r\nhttp://appc.me/c/APP-115761", "attachment": [], "flagged": false, "summary": "Android: Debugger does not show all the children of a touchstart event's e.source", "creator": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "TiSDK 1.7.2\r\nAndroid Emulator 3.0\r\niOS Simulator 4.3\r\nTitanium Studio, build: 1.0.2.201107130739", "comment": { "comments": [ { "id": "164729", "author": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "body": "For now, there isn't a safe way for us to enumerate all of the properties of a proxy because of threading restrictions.", "updateAuthor": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-08-31T22:42:59.000+0000", "updated": "2011-08-31T22:42:59.000+0000" }, { "id": "409600", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as it will not fix.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-07T19:54:15.000+0000", "updated": "2017-03-07T19:54:15.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }