{ "id": "172449", "key": "TIMOB-26458", "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": "10000", "description": "", "name": "Done" }, "resolutiondate": "2018-12-10T06:51:42.000+0000", "created": "2018-10-17T12:46:43.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [], "versions": [], "issuelinks": [], "assignee": null, "updated": "2018-12-10T06:51: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": " Using 7.4.0.GA android textfield.focus() is not working. After running the app, the cursor blinks perfectly but Keypad is not getting popped up.\r\n\r\n*Test Environments:*\r\nAppcelerator Command-Line Interface, version 7.0.6\r\nOperating System\r\n Name = Mac OS X\r\n Version = 10.13.6\r\n Architecture = 64bit\r\n CPUs = 4\r\n Memory = 8589934592\r\nNode.js\r\n Node.js Version = 8.9.1\r\n npm Version = 5.5.1\r\nTitanium CLI\r\n CLI Version = 5.1.1\r\nTitanium SDK\r\n SDK Version = 7.4.0.GA\r\n\r\nDevice: Huawei y9 2018(Android 8),Huawei GR3 (Android 7)\r\n\r\n*Test Steps:*\r\n\r\n1. Open studio\r\n2. Paste the sample code and run\r\n3. After running observe that ,the cursor blinks perfectly but Keypad is not getting popped up.\r\n\r\n*Test code:*\r\n\r\n*index.js*\r\n{code}\r\nfunction winFocus(e) {//winFocus is called on onOpen event\r\nif (OS_IOS) {\r\n$.amountValue.focus();\r\n} else {\r\n$.amountValue.focus();\r\n// $.amountValue.softKeyboardOnFocus = Titanium.UI.Android.SOFT_KEYBOARD_SHOW_ON_FOCUS;\r\n}\r\n}\r\n\r\n$.WindowClass.open();\r\n\r\n{code}\r\n\r\n\r\n\r\n*index.xml*\r\n{code}\r\n\r\n\t\r\n\t\t\r\n\t\r\n\r\n{code}\r\n\r\n\r\n*index.tss*\r\n{code}\r\n\"#amountValue\":{\r\nmaxLength: 6,\r\n// height: '30',\r\nwidth:'80%',\r\nbottom: '0',\r\nfocusable: true,\r\nreturnKeyType: Titanium.UI.RETURNKEY_DONE\r\n}\r\n\".valueText\": {\r\ntop: '0',\r\nleft: '0',\r\nwidth: Ti.UI.FILL,\r\nheight: Titanium.UI.SIZE,\r\n//color: Alloy.Globals.Styles.Colors.plainText,\r\nkeyboardType: Titanium.UI.KEYBOARD_TYPE_DECIMAL_PAD,\r\nbackgroundColor: \"transparent\",\r\nbackgroundImage: \"transparent\"\r\n}\r\n{code}\r\n\r\n*Test Result:*. See the attachment section.", "attachment": [ { "id": "65727", "filename": "Screenshot_20181017-183643.png", "author": { "name": "rmitro", "key": "rmitro", "displayName": "Rakhi Mitro", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2018-10-17T12:46:27.000+0000", "size": 41424, "mimeType": "image/png" } ], "flagged": false, "summary": "Android textfield.focus() is not working", "creator": { "name": "rmitro", "key": "rmitro", "displayName": "Rakhi Mitro", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "rmitro", "key": "rmitro", "displayName": "Rakhi Mitro", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Appcelerator Command-Line Interface, version 7.0.6\r\nOperating System\r\n Name = Mac OS X\r\n Version = 10.13.6\r\n Architecture = 64bit\r\n CPUs = 4\r\n Memory = 8589934592\r\nNode.js\r\n Node.js Version = 8.9.1\r\n npm Version = 5.5.1\r\nTitanium CLI\r\n CLI Version = 5.1.1\r\nTitanium SDK\r\n SDK Version = 7.4.0.GA\r\n\r\nDevice: Huawei y9 2018(Android 8),Huawei GR3 (Android 7)", "comment": { "comments": [], "maxResults": 8, "total": 8, "startAt": 0 } } }