{ "id": "169626", "key": "TIMOB-25190", "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": [], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-08-25T18:23:42.000+0000", "created": "2017-08-24T02:12:13.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "qe-6.2.0", "regression" ], "versions": [ { "id": "17609", "description": "", "name": "Release 7.0.0", "archived": false, "released": true, "releaseDate": "2017-12-07" }, { "id": "18414", "description": "", "name": "Release 6.2.0", "archived": false, "released": true, "releaseDate": "2017-09-13" } ], "issuelinks": [ { "id": "55854", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "103862", "key": "TIMOB-11856", "fields": { "summary": "Android: touchEnabled false on child view causes longpress event to fire when clicked", "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 } } } } ], "assignee": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-08-25T18:23:42.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": "*This is a regression. Worked fine with 6.1.2.GA*\r\n\r\nDocs : http://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.TableViewRow-property-touchEnabled\r\n\r\nh5.Steps to reproduce:\r\n1. Use the below code in your app.js.\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n });\r\n var data=[];\r\n var table = Ti.UI.createTableView({\r\n top:0,\r\n width: Ti.UI.FILL,\r\n height: Ti.UI.FILL\r\n }); \r\n var row = Ti.UI.createTableViewRow({\r\n\t width: Ti.UI.FILL,\r\n\t // touchEnabled: true, (setting touchEnabled: true works fine) \r\n\t height: 64 (if height or any other property is used the we loose touch)\r\n\t});\r\ndata.push(row);\r\n\r\ntable.addEventListener(\"click\", function (e) {\r\n Ti.API.warn(\"Clicked: \" + JSON.stringify(e.rowData));\r\n});\r\n\r\ntable.data = data; \r\nwin.add(table);\r\nwin.open();\r\n{code}\r\n\r\n2. Build for android device/emulator.\r\n3. After the app launches tap on the tableviewrow.\r\n\r\nh5.Actual results:\r\n1. No click event is fired.\r\n2. If no properties are used for the table view row then click works fine, but if we have a single property the touch/click stops working & needs {{touchEnabled}} to be set to {{true}} to get the touch/click.\r\n\r\nh5.Expected result:\r\n1. Click event is fired.", "attachment": [], "flagged": false, "summary": "Android: touchEnabled is not true by default if we have a property specified for the tableViewRow", "creator": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Studio Ver: 4.9.1.201707200100\r\nSDK Ver: 7.0.0.v20170823165814, 7.0.0.v20170823165814\r\nOS Ver: 10.12.3\r\nXcode Ver: Xcode 8.3.3\r\nAppc NPM: 4.2.9\r\nAppc CLI: 6.2.3\r\nTi CLI Ver: 5.0.14\r\nAlloy Ver: 1.9.13\r\nNode Ver: 6.10.1\r\nJava Ver: 1.8.0_101\r\nDevices: ⇨ google Nexus 5 --- Android 6.0.1\r\n ⇨ google Pixel --- Android 7.1.1\r\n", "comment": { "comments": [ { "id": "427225", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~lchoudhary], [~ybanev],\r\nIt sounds like fix for [TIMOB-11856] is what caused this regression.", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-08-24T22:47:43.000+0000", "updated": "2017-08-24T22:47:43.000+0000" }, { "id": "427232", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This issue is fixed with these PR's:\r\nmaster: https://github.com/appcelerator/titanium_mobile/pull/9353\r\n6_2_X: https://github.com/appcelerator/titanium_mobile/pull/9354", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-08-25T01:50:17.000+0000", "updated": "2017-08-25T01:50:17.000+0000" }, { "id": "427257", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR passed for both master & backport.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-08-25T17:49:22.000+0000", "updated": "2017-08-25T17:49:22.000+0000" }, { "id": "427260", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR's merged.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-08-25T18:20:16.000+0000", "updated": "2017-08-25T18:20:16.000+0000" }, { "id": "427262", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing this as the related ticket has the fix for this & its fixed.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-08-25T18:23:36.000+0000", "updated": "2017-08-25T18:23:36.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }