{ "id": "144443", "key": "TIMOB-18744", "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": "17706", "name": "Release 5.4.0", "archived": false, "released": true, "releaseDate": "2016-08-11" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-06-02T07:35:29.000+0000", "created": "2015-02-10T15:28:12.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "TCSupportTriage", "button", "label", "qe-5.4.0", "touchEnabled", "view" ], "versions": [], "issuelinks": [], "assignee": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "updated": "2016-07-25T22:50: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": "10224", "name": "TiAPI", "description": "This component is used for cross-platform API work. Specifications are most likely to use this component." } ], "description": "[Documentation says|http://docs.appcelerator.com/titanium/latest/#!/api/Titanium.UI.View-property-touchEnabled] that default value of touchEnabled must be true. This is untrue.\r\n\r\n{code:title=index.xml|borderStyle=solid|xml}\r\n\r\n\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\r\n\r\n{code}\r\n{code:title=index.js|borderStyle=solid|javascript}\r\nfunction doClick(e) {\r\n alert('touchEnabled = '+typeof(e.source.touchEnabled));\r\n}\r\n\r\n$.index.open();\r\n{code}\r\n\r\n\r\n", "attachment": [], "flagged": false, "summary": "touchEnabled not true by default", "creator": { "name": "falko", "key": "falko", "displayName": "Andrey Tkachenko", "active": true, "timeZone": "Europe/Moscow" }, "subtasks": [], "reporter": { "name": "falko", "key": "falko", "displayName": "Andrey Tkachenko", "active": true, "timeZone": "Europe/Moscow" }, "environment": "android, ios, SDK 3.4.1.GA/3.5.0.GA", "closedSprints": [ { "id": 631, "state": "closed", "name": "2016 Sprint 11 SDK", "startDate": "2016-05-21T00:06:10.029Z", "endDate": "2016-06-04T00:06:00.000Z", "completeDate": "2016-06-06T07:30:39.854Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "385728", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/8000\r\n\r\nTest case 1: https://gist.github.com/hansemannn/6d2c919c7e584130dd1dea37b68da38f\r\nTest case 2: https://gist.github.com/hansemannn/19557b8852be1b36a646b7c45cebf2b1", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-05-14T21:58:57.000+0000", "updated": "2016-05-14T22:04:51.000+0000" }, { "id": "385737", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~hansknoechel] and Android? does [~msamah] need to do something here?\r\nI maybe thinking too much into it but, there's no 'breaking' behavior or user experience change we need to be aware of?", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-05-15T15:04:29.000+0000", "updated": "2016-05-15T15:05:54.000+0000" }, { "id": "385738", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "The only change is, that the proxy sets the default value inside the TiUIView. It's more an improvement than a bugfix. The docs could also say \"default: undefined (acts as true)\", but this solution makes the API a bit cleaner. I can check for Android, but as earlier comments state its happening on both platforms, we may need to pre-set it there as well. EDIT: Tested with Android, it's undefined. So we need to update it on Android as well. [~msamah]?", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-05-15T15:13:04.000+0000", "updated": "2016-05-15T19:03:43.000+0000" }, { "id": "386024", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~hansknoechel] I'm a bit skeptical of the usage of userInteractionEnabled property.\r\nAccording to this : https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIView_Class/#//apple_ref/occ/instp/UIView/userInteractionEnabled\r\nIt includes KEYBOARD as well. I'm not sure if there are cases where developers requires views that is touch disabled, but still keyboard enabled :/\r\n\r\nby the way, good catch on the IFDEF AUTOLAYOUT for TiUIView. we should include that fix no matter what.", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-05-18T07:36:54.000+0000", "updated": "2016-05-18T07:36:54.000+0000" }, { "id": "386874", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "PR Merged. (PR was fixed to just set property to true but default.)\r\n[~msamah] can you do a PR for this too please?", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-05-26T08:08:31.000+0000", "updated": "2016-05-26T08:08:31.000+0000" }, { "id": "387076", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Changes assignee to Ash for the Android-part.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-05-28T12:28:01.000+0000", "updated": "2016-05-28T12:28:01.000+0000" }, { "id": "387096", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/8033\r\n[~hpham] for your review.\r\n", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2016-05-30T03:28:20.000+0000", "updated": "2016-05-30T03:28:20.000+0000" }, { "id": "387392", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "PR merged.", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2016-06-02T07:35:23.000+0000", "updated": "2016-06-02T07:35:23.000+0000" }, { "id": "391457", "author": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "body": "Verified as fixed, with both Android & iOS platforms, {{touchEnabled}} property is true by default.\r\n\r\nTested On:\r\niPhone 6S (9.3.2) Device\r\nNexus 6P (6.0.1) Device\r\nMac OSX El Capitan 10.11.5 \r\nTi SDK: 5.4.0.v20160725003348\r\nAppc Studio: 4.7.0.201607111053\r\nAppc NPM: 4.2.7\t\r\nApp CLI: 5.4.0-34\r\nXcode 7.3\r\nNode v4.4.7\r\n\r\n*Closing ticket.*\r\n", "updateAuthor": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "created": "2016-07-25T22:49:48.000+0000", "updated": "2016-07-25T22:50:06.000+0000" } ], "maxResults": 16, "total": 16, "startAt": 0 } } }