{ "id": "145124", "key": "AC-1227", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2015-09-29T02:51:01.000+0000", "created": "2015-02-25T10:26:57.000+0000", "labels": [ "3.5.0GA", "android", "keyboard", "regression", "textfield" ], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:37:36.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "Hi, recently a client complained about not being able to input values on our app on her Galaxy Nexus. I was a bit astonished but then I tested it using an AVD configured as Galaxy Nexus SDK 4.2.2 and found out she was right.\r\n\r\nIt's very easy to reproduce this, create a Hello World app using the classical template and use the below code on your app.js file. Run it against:\r\n\r\n* AVD device Galaxy Nexus, SDK 4.2.2: soft keyboard never shows;\r\n* AVD device Nexus 5, SDK 5: soft keyboard shows up when pressing a textfield (as expected).\r\n\r\n{code:javascript|title=app.js|borderStyle=solid}\r\n// this sets the background color of the master UIView (when there are no windows/tab groups on it)\r\nTitanium.UI.setBackgroundColor('#000');\r\n\r\n//\r\n// create base UI tab and root window\r\n//\r\nvar win1 = Titanium.UI.createWindow({ \r\n title:'Tab 1',\r\n backgroundColor:'#fff'\r\n});\r\n\r\n// Create a TextField.\r\nvar aTextField = Ti.UI.createTextField({\r\n\theight : 35,\r\n\ttop : 10,\r\n\tleft : 40,\r\n\twidth : 240,\r\n\thintText : 'This is hint text 1',\r\n\tsoftKeyboardOnFocus : Ti.UI.Android.SOFT_KEYBOARD_DEFAULT_ON_FOCUS, // Android only\r\n\tkeyboardType : Ti.UI.KEYBOARD_DEFAULT,\r\n\treturnKeyType : Ti.UI.RETURNKEY_DEFAULT,\r\n\tborderStyle : Ti.UI.INPUT_BORDERSTYLE_ROUNDED\r\n});\r\n\r\n// Listen for return events.\r\naTextField.addEventListener('return', function(e) {\r\n\taTextField.blur();\r\n\talert('Input was: ' + aTextField.value);\r\n});\r\n\r\n\r\n// Create a TextField.\r\nvar aTextField2 = Ti.UI.createTextField({\r\n height : 35,\r\n top : 60,\r\n left : 40,\r\n width : 240,\r\n hintText : 'This is hint text 2',\r\n softKeyboardOnFocus : Ti.UI.Android.SOFT_KEYBOARD_DEFAULT_ON_FOCUS, // Android only\r\n keyboardType : Ti.UI.KEYBOARD_DEFAULT,\r\n returnKeyType : Ti.UI.RETURNKEY_DEFAULT,\r\n // borderStyle : Ti.UI.INPUT_BORDERSTYLE_ROUNDED // just to be sure it's not caused by TIMOB-9574\r\n});\r\n\r\n// Listen for return events.\r\naTextField2.addEventListener('return', function(e) {\r\n aTextField2.blur();\r\n alert('Input was: ' + aTextField2.value);\r\n});\r\n\r\n\r\n// Add to the parent view.\r\nwin1.add(aTextField);\r\nwin1.add(aTextField2);\r\n\r\n// open window\r\nwin1.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "Soft Keyboard not showing on textfield focus on Galaxy Nexus 4.2.2", "creator": { "name": "warchild", "key": "warchild", "displayName": "Dário Marcelino", "active": true, "timeZone": "Europe/London" }, "subtasks": [], "reporter": { "name": "warchild", "key": "warchild", "displayName": "Dário Marcelino", "active": true, "timeZone": "Europe/London" }, "environment": "Titanium SDK version: 3.5.0.GA.\r\nAndroid 4.2.2.\r\nPlatform: Galaxy Nexus and AVD configured as Galaxy Nexus", "closedSprints": [ { "id": 126, "state": "closed", "name": "2018 Sprint 05 SDK", "startDate": "2018-02-25T19:38:08.926Z", "endDate": "2018-03-11T18:38:00.000Z", "completeDate": "2018-03-11T22:06:01.520Z", "originBoardId": 100 } ], "comment": { "comments": [ { "id": "345826", "author": { "name": "warchild", "key": "warchild", "displayName": "Dário Marcelino", "active": true, "timeZone": "Europe/London" }, "body": "@Radamantis Torres-Lechuga, any update on this? Thanks", "updateAuthor": { "name": "warchild", "key": "warchild", "displayName": "Dário Marcelino", "active": true, "timeZone": "Europe/London" }, "created": "2015-03-12T14:59:17.000+0000", "updated": "2015-03-12T14:59:17.000+0000" }, { "id": "361101", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hello,\r\n\r\nIts not a bug. Works on updated environment.\r\n\r\n*Testing Environment:*\r\nAppcelerator Studion: 4.2.0.201508062204\r\nTitanium SDK: 4.1.0.GA\r\nOS X Version: 10.9.5\r\nAndroid device: Nexus 7(5.1.1)\r\n\r\nThanks", "updateAuthor": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-08-25T11:35:43.000+0000", "updated": "2015-09-29T02:50:55.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }