{ "id": "170994", "key": "TIMOB-25734", "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": "20060", "description": "", "name": "Release 7.0.2", "archived": false, "released": true, "releaseDate": "2018-02-09" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2018-02-06T22:42:01.000+0000", "created": "2018-01-29T07:12:42.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "escalation" ], "versions": [ { "id": "19988", "description": "", "name": "Release 7.0.1", "archived": false, "released": true, "releaseDate": "2017-12-21" } ], "issuelinks": [ { "id": "56288", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "170985", "key": "AC-5553", "fields": { "summary": "Android: TextField do not fire touch events", "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" } }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2018-02-07T22:25:10.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": "Click event is not firing on click of text field using with 7.0.X SDK\r\n\r\n*Sample code:*\r\n\r\n{code}\r\nvar window = Ti.UI.createWindow({\r\n\tbackgroundColor : 'white'\r\n});\r\nvar osname = Ti.Platform.osname;\r\nTi.App.IS_ANDROID = (osname === 'android');\r\nif (Ti.App.IS_ANDROID) {\r\n\twindow.windowSoftInputMode = Ti.UI.Android.SOFT_INPUT_STATE_ALWAYS_HIDDEN;\r\n}\r\nvar textfield = Ti.UI.createTextField({\r\n\tcolor : 'black',\r\n\thintText : 'sample text',\r\n\thintTextColor : 'blue'\r\n});\r\ntextfield.addEventListener('click', function() {\r\n\tTi.API.info('in text field click');\r\n});\r\n\r\nwindow.add(textfield);\r\nwindow.open();\r\n{code}\r\n\r\n\r\n*Test Environment:*\r\nAppcelerator Command-Line Interface, version 7.0.1\r\nOperating System Mac OS X,Version 10.13.2,Architecture 64bit,\r\n CPUs 4,Memory 8.0GB\r\n Node.js Version = 8.9.1\r\n npm Version = 5.5.1\r\n Appcelerator CLI 4.2.11\r\n Core Package 7.0.1\r\n Titanium CLI 5.0.14\r\n node-appc Version 0.2.41\r\n Titanium SDK 7.0.1.GA\r\nAndroid Device: Samsung Galaxy J7\r\n*Steps to reproduce: *\r\n1. Create a sample classic app. \r\n2. Replace app.js with the attached app.js file \r\n3.Run the app in android device. \r\n4.Click on textfield \r\n\r\n*Output:* Click event is not firing\r\n\r\n*Console logs:*\r\n{code}\r\n\r\n[WARN] : TextView: TextView does not support text selection. Selection cancelled.\r\n[INFO] : I/InputDispatcher( 2853): Delivering touch to : action: 0x0, toolType: 1\r\n[INFO] : I/InputDispatcher( 2853): Delivering touch to : action: 0x1, toolType: 1\r\n[WARN] : TextView: TextView does not support text selection. Selection cancelled.\r\n[INFO] : I/InputDispatcher( 2853): Delivering touch to : action: 0x0, toolType: 1\r\n[INFO] : I/InputDispatcher( 2853): Delivering touch to : action: 0x1, toolType: 1\r\n[WARN] : TextView: TextView does not support text selection. Selection cancelled.\r\n{code}", "attachment": [], "flagged": false, "summary": "Android : TextField Click event is not firing with 7.0.X SDK", "creator": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "subtasks": [], "reporter": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "environment": "Appcelerator Command-Line Interface, version 7.0.1\r\nOperating System Mac OS X,Version 10.13.2,Architecture 64bit,\r\nCPUs 4,Memory 8.0GB\r\nNode.js Version = 8.9.1\r\nnpm Version = 5.5.1\r\nAppcelerator CLI 4.2.11\r\nCore Package 7.0.1\r\nTitanium CLI 5.0.14\r\nnode-appc Version 0.2.41\r\nTitanium SDK 7.0.1.GA\r\nAndroid Device: Samsung Galaxy J7", "closedSprints": [ { "id": 997, "state": "closed", "name": "2018 Sprint 03 SDK", "startDate": "2018-01-28T16:23:12.178Z", "endDate": "2018-02-11T16:23:00.000Z", "completeDate": "2018-02-12T04:22:49.354Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "433914", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "master: https://github.com/appcelerator/titanium_mobile/pull/9785\r\n7_0_X: https://github.com/appcelerator/titanium_mobile/pull/9786", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-02-01T00:14:54.000+0000", "updated": "2018-02-01T00:14:54.000+0000" }, { "id": "433961", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR Passed.\r\nBackport PR merged.\r\n\r\nWaiting for master merge to be enabled.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-02-01T23:46:09.000+0000", "updated": "2018-02-01T23:46:09.000+0000" }, { "id": "434133", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Master PR merged.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-02-06T22:41:55.000+0000", "updated": "2018-02-06T22:41:55.000+0000" }, { "id": "434202", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix in SDK 7.1.0.v20180207124118 & 7.0.2.v20180207022213.\r\n\r\nNo issues.\r\nClosing.\r\n\r\nStudio Ver: 5.0.0.201712081732\r\nOS Ver: 10.13.2\r\nXcode Ver: Xcode 9.2\r\nAppc NPM: 4.2.12-2\r\nAppc CLI: 7.0.2-master.8\r\nDaemon Ver: 1.0.1\r\nTi CLI Ver: 5.0.14\r\nAlloy Ver: 1.11.0\r\nNode Ver: 8.9.1\r\nNPM Ver: 5.5.1\r\nJava Ver: 1.8.0_101\r\nDevices: ⇨ google Nexus 6P --- Android 7.1.2\r\n ⇨ google Nexus 5 --- Android 6.0.1", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-02-07T22:25:03.000+0000", "updated": "2018-02-07T22:25:03.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }