{ "id": "128960", "key": "AC-986", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2014-04-17T05:54:31.000+0000", "created": "2014-04-13T17:54:59.000+0000", "labels": [ "android" ], "versions": [], "issuelinks": [ { "id": "36690", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "119982", "key": "TIMOB-15634", "fields": { "summary": "Android: convertPointToView returns null for Views inside of a ListView", "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": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:37:18.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": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "convertPointToView returns wrong result in android when views inside of a ListView. This function working good in IOS but not working in Android.\r\n", "attachment": [], "flagged": false, "summary": "convertPointToView returns null for Views inside of a ListView", "creator": { "name": "youngtt", "key": "youngtt", "displayName": "Young", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "youngtt", "key": "youngtt", "displayName": "Young", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Tested on Android Simulator 4.0.3 and Kindle Fire HD device\r\nHost Os: Mac OS X 10.8.4\r\nTitanium SDK version: 3.1.2 (08/14/13 12:45 5ceaff8)", "comment": { "comments": [ { "id": "300803", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Please provide a simple runnable test case to reproduce the issue and we would be happy to investigate further.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-04-14T16:57:58.000+0000", "updated": "2014-04-14T16:57:58.000+0000" }, { "id": "300810", "author": { "name": "youngtt", "key": "youngtt", "displayName": "Young", "active": true, "timeZone": "America/Los_Angeles" }, "body": "*Test Code*\r\n{code:title=index.xml}\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n{code}\r\n\r\n{code:title=index.js}\r\n\r\nfunction doClick(e)\r\n{\r\n if (isAndroid)\r\n {\r\n var pt = {x: e.x, y: e.y};\r\n // The next line seems to return null no matter what destination view I choose $.win, $.listView, $.scoresTab\r\n pt = e.source.convertPointToView(pt, $.win);\r\n if (pt == null)\r\n Titanium.API.info('pt is null');\r\n else\r\n Titanium.API.info('working');\r\n }\r\n}\r\n{code}\r\n\r\n*Step to reproduce*\r\nCreate new Alloy Project\r\nUpdate index.xml and index.js file\r\nRun on Android Emulator/Device\r\nClick on listView\r\nCheck console its print \"pt is null\"\r\nExpected Result\r\nConsole will print \"working\"\r\n", "updateAuthor": { "name": "youngtt", "key": "youngtt", "displayName": "Young", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-04-14T17:12:42.000+0000", "updated": "2014-04-14T17:15:52.000+0000" }, { "id": "300824", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Resolving it as a duplicate of TIMOB-15634. Please follow along that ticket for further updates.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-04-14T17:51:22.000+0000", "updated": "2014-04-17T05:54:18.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }