{ "id": "101465", "key": "TIMOB-11050", "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": "15498", "description": "2013 Sprint 12 API", "name": "2013 Sprint 12 API", "archived": true, "released": true, "releaseDate": "2013-06-17" }, { "id": "15110", "description": "2013 Sprint 12", "name": "2013 Sprint 12", "archived": true, "released": true, "releaseDate": "2013-06-17" } ], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2013-06-18T22:12:53.000+0000", "created": "2012-09-18T21:01:53.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "exalture", "ipass1", "tableview" ], "versions": [ { "id": "14137", "description": "Release 2.1.3", "name": "Release 2.1.3", "archived": true, "released": true, "releaseDate": "2012-10-03" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" } ], "issuelinks": [ { "id": "27964", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "113138", "key": "TIDOC-1122", "fields": { "summary": "Android: TableViewRow should not have x & y properties on click event", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "priority": { "name": "Low", "id": "4" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "updated": "2017-03-30T17:26:19.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": "The callback for click event on tableview isn't receiving x & y coords as described in docs on android. Works on iOS just fine. \r\n\r\nhttp://docs.appcelerator.com/titanium/2.1/index.html#!/api/Titanium.UI.TableView-event-click\r\n", "attachment": [ { "id": "31476", "filename": "app.js", "author": { "name": "meeech", "key": "meeech", "displayName": "Mitchell Amihod", "active": true, "timeZone": "America/New_York" }, "created": "2012-09-18T21:01:53.000+0000", "size": 307, "mimeType": "application/x-javascript" }, { "id": "36512", "filename": "Screen Shot 2013-03-21 at 2.45.50 PM.png", "author": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-21T09:21:32.000+0000", "size": 421911, "mimeType": "image/png" }, { "id": "36513", "filename": "Screen Shot 2013-03-21 at 2.46.05 PM.png", "author": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-21T09:21:32.000+0000", "size": 473598, "mimeType": "image/png" } ], "flagged": false, "summary": "Android: x & y of click event aren't passed to callback", "creator": { "name": "meeech", "key": "meeech", "displayName": "Mitchell Amihod", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "meeech", "key": "meeech", "displayName": "Mitchell Amihod", "active": true, "timeZone": "America/New_York" }, "environment": "Android 2.3.3\r\nTitanium SDK 2.1.2GA", "comment": { "comments": [ { "id": "243366", "author": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Issue reproduces \n\nTested with\n\nTitanium Studio, build: 3.0.1.201212181159\nTitanium SDK version: 3.1.0 (03/11/13 15:43 0c88429)\nTitanium SDK version: 3.0.2 (02/07/13 16:46 a4def81)\nDevice: Samsung galaxy s duos Android version: 4.0.4\niOS iPhone Simulator: iOS SDK version: 6.0\njithinpv\n", "updateAuthor": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-21T09:19:42.000+0000", "updated": "2013-03-21T09:19:42.000+0000" }, { "id": "247112", "author": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Filled x,y values in rowClicked \r\nhttps://github.com/appcelerator/titanium_mobile/pull/4145", "updateAuthor": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-04-11T17:59:39.000+0000", "updated": "2013-04-11T17:59:39.000+0000" }, { "id": "248409", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The docs say that this is not supported in 3.X\n\nhttp://docs.appcelerator.com/titanium/latest/#!/api/Titanium.UI.TableView-event-click\n\n\nIF we do implement this, it should match iOS so that the x & y should be relative to the row (most likely bubbled up from the row).", "updateAuthor": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-19T18:46:35.000+0000", "updated": "2013-04-19T18:46:35.000+0000" }, { "id": "248410", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Test case for this:\n\n{code}\nvar win = Titanium.UI.createWindow();\n\nvar table = Ti.UI.createTableView();\nvar row = Ti.UI.createTableViewRow({\n\ttitle : 'rowtitle',\n\thasChild : true\n});\n\nvar row1 = Ti.UI.createTableViewRow({\n\ttitle : 'rowtitle',\n\thasChild : true\n});\nvar row2 = Ti.UI.createTableViewRow({\n\ttitle : 'rowtitle',\n\thasChild : true\n});\nvar row3 = Ti.UI.createTableViewRow({\n\ttitle : 'rowtitle',\n\thasChild : true\n});\nvar label = Ti.UI.createLabel({\n\ttext : 'this is a label',\n\tbackgroundColor : 'yellow'\n});\n\nlabel.addEventListener('click', function(e) {\n\tTi.API.info('---------label------- keys: ' + Object.keys(e));\n\tTi.API.info('--------label--------- x: ' + e.x);\n\tTi.API.info('--------label--------- y: ' + e.y);\n});\n\nrow3.addEventListener('click', function(e) {\n\tTi.API.info('---------row-------- keys: ' + Object.keys(e));\n\tTi.API.info('---------row-------- x: ' + e.x);\n\tTi.API.info('--------row--------- y: ' + e.y);\n});\nrow.add(label);\ntable.setData([row, row1, row2, row3]);\n\ntable.addEventListener('click', function(e) {\n\tTi.API.info('---------table------- keys: ' + Object.keys(e));\n\tTi.API.info('---------table-------- x: ' + e.x);\n\tTi.API.info('--------table--------- y: ' + e.y);\n});\nwin.add(table);\nwin.open();\n{code}", "updateAuthor": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-19T18:47:02.000+0000", "updated": "2013-04-19T18:47:02.000+0000" }, { "id": "258464", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Marking as invalid since those properties aren't documented to work in android.", "updateAuthor": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-18T22:12:53.000+0000", "updated": "2013-06-18T22:12:53.000+0000" }, { "id": "416354", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as invalid.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-30T17:26:19.000+0000", "updated": "2017-03-30T17:26:19.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }