{ "id": "79924", "key": "TIMOB-5188", "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": "15499", "description": "2013 Sprint 13 API", "name": "2013 Sprint 13 API", "archived": true, "released": true, "releaseDate": "2013-07-01" }, { "id": "15111", "description": "2013 Sprint 13", "name": "2013 Sprint 13", "archived": true, "released": true, "releaseDate": "2013-07-01" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-06-20T23:29:06.000+0000", "created": "2011-09-01T08:01:45.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "api", "module_tableview", "qe-testadded" ], "versions": [ { "id": "11570", "description": "", "name": "Release 1.7.2", "archived": true, "released": true, "releaseDate": "2011-07-21" }, { "id": "13272", "description": "Release 2.0.1", "name": "Release 2.0.1", "archived": true, "released": true, "releaseDate": "2012-04-16" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" } ], "issuelinks": [ { "id": "33963", "type": { "id": "10122", "name": "Gantt: start-finish", "inward": "is triggered by", "outward": "is triggering" }, "outwardIssue": { "id": "124090", "key": "TIMOB-16063", "fields": { "summary": "Android: Field Service App crashes with java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Boolean", "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": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "bijuexalture", "key": "bijuexalture", "displayName": "Biju pm", "active": true, "timeZone": "Asia/Kolkata" }, "updated": "2014-02-12T09:38:54.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": "h3.Problem\r\nTouchEnabled property does not work on TableView. We are not able to block the rows from firing the \"click\" event.\r\n\r\nh3.Reproducible Steps\r\n1. Execute attached code\r\n2. Click on any row\r\n3. The \"click\" event was executed however tableView has set a \"touchEnabled: false\" property\r\n\r\nh3.Sample Code\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n title: 'Table' ,\r\n navBarHidden: true\r\n});\r\n\r\nvar tableData = [{title: 'one'}, {title: 'two'}, {title: 'three'}];\r\n\r\nvar tableView = Ti.UI.createTableView({\r\n data: tableData,\r\n touchEnabled: false\r\n});\r\ntableView.addEventListener('click', function(e){\r\n alert(\"Event fired\"); \r\n});\r\n\r\n\r\n\r\nwin.add(tableView);\r\nwin.open();\r\n\r\n{code}\r\n\r\nh3.Associated HelpDesk ticket\r\nhttp://appc.me/a/APP-787515", "attachment": [], "flagged": false, "summary": "Android: TouchEnabled property does not work on TableView", "creator": { "name": "kpomaski", "key": "kpomaski", "displayName": "Karol Pomaski", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "kpomaski", "key": "kpomaski", "displayName": "Karol Pomaski", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Android 2.3.3, Simulator", "comment": { "comments": [ { "id": "164753", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Try using the new form with row proxies and disabling touch on those controls as a workaround.", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-09-01T08:34:52.000+0000", "updated": "2011-09-01T08:34:52.000+0000" }, { "id": "164756", "author": { "name": "kpomaski", "key": "kpomaski", "displayName": "Karol Pomaski", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I already tried Titanium.UI.createTableViewRow but touchEnabled property does not work neither there. My workaround was to open a new transparent view (that cover the screen) when the \"click\" event is fired so next events won't come to the tableview.", "updateAuthor": { "name": "kpomaski", "key": "kpomaski", "displayName": "Karol Pomaski", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-09-01T08:50:07.000+0000", "updated": "2011-09-01T08:50:07.000+0000" }, { "id": "195070", "author": { "name": "nsharma", "key": "nsharma", "displayName": "Nikhil Sharma", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Still bug - tested on Ti SDK 2.0.1 GA2, still an issue.", "updateAuthor": { "name": "nsharma", "key": "nsharma", "displayName": "Nikhil Sharma", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-05-16T14:59:12.000+0000", "updated": "2012-05-17T17:03:37.000+0000" }, { "id": "207999", "author": { "name": "soumyakantikar", "key": "soumyakantikar", "displayName": "Soumya Kanti Kar", "active": true, "timeZone": "America/Havana" }, "body": "I tested this in Mobile SDK 2.1.1 on Galaxy S2 4.0.3 but the issue is still present. The touchEnabled property is having no effect.", "updateAuthor": { "name": "soumyakantikar", "key": "soumyakantikar", "displayName": "Soumya Kanti Kar", "active": true, "timeZone": "America/Havana" }, "created": "2012-07-17T03:39:40.000+0000", "updated": "2012-07-17T03:39:40.000+0000" }, { "id": "226126", "author": { "name": "heenok", "key": "heenok", "displayName": "heenok", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Same issue here ! Nothing new since 1 year on this", "updateAuthor": { "name": "heenok", "key": "heenok", "displayName": "heenok", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-11-05T15:41:04.000+0000", "updated": "2012-11-05T15:41:04.000+0000" }, { "id": "249107", "author": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "body": "issue reproduces\n\nTested with\nTitanium Studio, build: 3.0.1.201212181159\nTitanium SDK version: 3.1.0\nAndroid Emulator: Android SDK version: 2.2 \n\n", "updateAuthor": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-26T08:49:56.000+0000", "updated": "2013-04-26T08:49:56.000+0000" }, { "id": "256393", "author": { "name": "bijuexalture", "key": "bijuexalture", "displayName": "Biju pm", "active": true, "timeZone": "Asia/Kolkata" }, "body": "added touchEnabled property check and manage the touch events \r\n\r\nhttps://github.com/appcelerator/titanium_mobile/pull/4360", "updateAuthor": { "name": "bijuexalture", "key": "bijuexalture", "displayName": "Biju pm", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-06-06T09:42:17.000+0000", "updated": "2013-06-06T09:42:17.000+0000" }, { "id": "275897", "author": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix with:\r\n\r\nAppc-Studio: 3.2.0.201310181700\r\nSdk:3.2.0.v20131018154951\r\nalloy:1.2.2\r\nnpm:1.3.2\r\ntitanium:3.2.0\r\ntitanium-code-processor:1.0.3\r\nDevice:Google Nexus 7(v4.3),iphone5(v7)\r\nXcode: 5\r\n\r\n\r\nClosing since TouchEnabled property working fine on tableView for both the platforms.\r\n", "updateAuthor": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-21T08:34:25.000+0000", "updated": "2013-10-21T08:34:25.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }