{ "id": "170532", "key": "TIMOB-25583", "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": null, "resolutiondate": null, "created": "2017-12-04T09:58:37.000+0000", "priority": null, "labels": [ "SearchBar,", "engSchedule", "focus" ], "versions": [ { "id": "19906", "description": "", "name": "Release 6.3.0", "archived": false, "released": true, "releaseDate": "2017-11-01" }, { "id": "20432", "name": "Release 8.0.1", "archived": false, "released": true, "releaseDate": "2019-05-15" } ], "issuelinks": [], "assignee": null, "updated": "2019-05-28T17:42:53.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "On a button click, I called the SearchBar focus method, it shows the focus cursor but keyboard do not popup. ", "attachment": [], "flagged": false, "summary": "Calling focus method on searchbar does not show the keyboard.", "creator": { "name": "efrancis", "key": "efrancis", "displayName": "Emmanuel Francis", "active": true, "timeZone": "Asia/Kolkata" }, "subtasks": [], "reporter": { "name": "efrancis", "key": "efrancis", "displayName": "Emmanuel Francis", "active": true, "timeZone": "Asia/Kolkata" }, "environment": "SDK 6.3.0\r\niOS 11\r\n", "comment": { "comments": [ { "id": "431657", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hello [~efrancis],\r\nThanks for sharing with us. Please provide a full sample test code that regenerates the issue. Better to provide a sample app as an attachment here. We will test the issue in our environment. Also, provide the environment details you are testing on. \r\nThanks.", "updateAuthor": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2017-12-04T11:48:42.000+0000", "updated": "2017-12-04T11:48:42.000+0000" }, { "id": "431666", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "[~vijaysingh] Can you check on this one?", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-12-04T13:46:47.000+0000", "updated": "2017-12-04T13:46:47.000+0000" }, { "id": "431693", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello [~hknoechel], I was able to reproduce the issue with the below code\r\n{code}\r\nvar win = Ti.UI.createWindow();\r\nvar search = Titanium.UI.createSearchBar({\r\n\tbarColor : '#000',\r\n\tshowCancel : true,\r\n\theight : 43,\r\n\ttop : 0,\r\n});\r\n\r\nvar button = Titanium.UI.createButton({\r\n\ttitle : 'Hello',\r\n\ttop : 100,\r\n\twidth : 100,\r\n\theight : 50\r\n});\r\n\r\nbutton.addEventListener('click', function(e) {\r\n\tTitanium.API.info(\"You clicked the button\");\r\n\tsearch.focus();\r\n});\r\n\r\nwin.add(search);\r\nwin.add(button);\r\nwin.open(); \r\n{code}\r\n\r\nWith searchbar focus, the soft keyboard does not show. Tested with iOS 11.1 simulator with SDK 6.3.0.GA. Moving to TIMOB. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2017-12-04T20:15:52.000+0000", "updated": "2017-12-04T20:17:17.000+0000" }, { "id": "431694", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Well, this seems to happen for Android too. In Android, searchbar is already focused on open. But the keyboard is not showing. Also, button clicks to focus the searbar also not show the keyboard. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2017-12-04T20:24:36.000+0000", "updated": "2017-12-04T20:24:36.000+0000" }, { "id": "431709", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I verified the give test code on iPhone X (iOS 11.1), iPhone 5s (iOS 11.1) simulator and iPhone 5s (11.0.1) device with 6.3.0.GA. For me it is working fine . Keyboard is getting opened , when I click on \"Hello\" button. \r\n[~sdarda] Is there any particular iOS simulator it is not working on? Can you please check once again. Thanks!", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-12-05T04:02:48.000+0000", "updated": "2017-12-05T04:02:48.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }