{ "id": "78539", "key": "TIMOB-4949", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "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": [], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2020-02-13T15:13:21.000+0000", "created": "2011-07-29T17:35:32.000+0000", "priority": { "name": "Trivial", "id": "5" }, "labels": [], "versions": [], "issuelinks": [ { "id": "12405", "type": { "id": "10001", "name": "Cloners", "inward": "is cloned into", "outward": "is cloned from" }, "inwardIssue": { "id": "79242", "key": "TIMOB-5007", "fields": { "summary": "Android: 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": "Low", "id": "4" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "12404", "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": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2020-02-13T15:13: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": "10206", "name": "iOS", "description": "iOS 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": "iOS: Show all the children of a touchstart event's e.source in debugger", "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": "161293", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Max, thoughts?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-08-01T09:50:03.000+0000", "updated": "2011-08-01T09:50:03.000+0000" }, { "id": "161354", "author": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "We show everything the debugger host reports to us.\nMarshall, Stephen - your ideas ?", "updateAuthor": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-08-01T13:02:56.000+0000", "updated": "2011-08-01T13:02:56.000+0000" }, { "id": "180508", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Updating severity, as per Studio severity.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-25T06:27:48.000+0000", "updated": "2012-01-25T06:27:48.000+0000" }, { "id": "180528", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "See my comment above. This should probably be marked WON'TFIX or for a distant future version. It would require one of the following:\r\n\r\n* Some serious changes to the debugger to use Obj-C runtime inspection, check against a whitelist, and computation (which may again lead to deadlock)\r\n\r\n* Completely restructuring the internal representation of object properties for the iOS Kroll layer\r\n\r\nNote that \"not all\" properties are available when inspecting a view proxy directly, either.", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-25T09:01:43.000+0000", "updated": "2012-01-25T09:02:35.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }