{ "id": "108059", "key": "TIMOB-12326", "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": "14164", "description": "Release 3.0.2", "name": "Release 3.0.2", "archived": true, "released": true, "releaseDate": "2013-02-19" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" }, { "id": "15079", "description": "2013 Sprint 02 API", "name": "2013 Sprint 02 API", "archived": true, "released": true, "releaseDate": "2013-01-28" }, { "id": "14812", "description": "2013 Sprint 02", "name": "2013 Sprint 02", "archived": true, "released": true, "releaseDate": "2013-01-28" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-01-18T14:51:34.000+0000", "created": "2013-01-17T16:14:32.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "api", "module_android", "qe-testadded" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [ { "id": "24694", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "108108", "key": "TIMOB-12344", "fields": { "summary": "Backport TIMOB-12326 to 3.0.2", "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": "High", "id": "2" }, "issuetype": { "id": "5", "description": "The sub-task of the issue", "name": "Sub-task", "subtask": true } } } } ], "assignee": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-01-24T05:57: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": "hideSoftKeyboard doesn't hide keyboard appropriately.\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow({backgroundColor: '#000000'});\r\n \r\nvar search = Titanium.UI.createSearchBar({\r\n barColor:'#000',\r\n showCancel:true,\r\n height:43,\r\n top:0\r\n});\r\n \r\n// create table view data object\r\nvar data = [\r\n {title:'Row 1', hasChild:true, color:'red', selectedColor:'#fff'},\r\n {title:'Row 2', hasDetail:true, color:'green', selectedColor:'#fff'},\r\n {title:'Row 3', hasCheck:true, color:'blue', selectedColor:'#fff'},\r\n {title:'Row 4', color:'orange', selectedColor:'#fff'},\r\n {title:'Row 5'},\r\n {title:'Row 6'},\r\n {title:'Row 7'},\r\n {title:'Row 8'},\r\n {title:'Row 9'},\r\n {title:'Row 10'},\r\n {title:'Row 11'},\r\n];\r\n \r\n// create table view\r\nvar tableview = Titanium.UI.createTableView({\r\n data:data,\r\n search:search \r\n});\r\n \r\n// add table view to the window\r\nwin.add(tableview);\r\n \r\nsearch.addEventListener('focus', function(e) {\r\n Ti.UI.Android.hideSoftKeyboard();\r\n});\r\n \r\nwin.open();\r\n\r\n{code}\r\n\r\n1. Run code, you should not see keyboard.", "attachment": [], "flagged": false, "summary": "Android: Ti.UI.Android.hideSoftKeyboard not working", "creator": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "234929", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "PR https://github.com/appcelerator/titanium_mobile/pull/3725", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-01-18T10:42:12.000+0000", "updated": "2013-01-18T10:42:12.000+0000" }, { "id": "235686", "author": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with: \r\nSDK:3.1.0.v20130123144204,3.0.2.v20130123192623\r\nStudio:3.0.1.201212181159\r\nDevice: Android nexus7(v 4.1)\r\n\r\nTi.UI.Android.hideSoftKeyboard woks as expected.", "updateAuthor": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-01-24T05:57:42.000+0000", "updated": "2013-01-24T05:57:42.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }