{ "id": "111315", "key": "TIMOB-13112", "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": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2017-06-26T20:10:11.000+0000", "created": "2013-03-18T17:26:48.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2018-04-04T23:20:16.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": "11500", "name": "MobileWeb", "description": "Mobile Web (HTML) Platform" } ], "description": "*Reproduction steps:*\r\n\r\n Create a TextField.\r\n Call the focus() method of the TextField.\r\n\r\n (or run the test code below / attached project, and press the Focus button)\r\n\r\n*Expected behavior:*\r\n\r\n The keyboard is shown.\r\n\r\n*Actual behavior:*\r\n\r\n The keyboard isn't shown.\r\n\r\n*Additional information:*\r\n\r\n The keyboard will show if the TextField is focused manually by tapping it.\r\n Worked before version 3.\r\n\r\n*Test code:*\r\n\r\n{code}\tvar win = Ti.UI.createWindow({\r\n\t\t\tbackgroundColor:'#FFFFFF'\r\n\t\t}),\r\n\t\ttf1 = Titanium.UI.createTextField({\r\n\t\t\tcolor:'#336699',\r\n\t\t\theight:35,\r\n\t\t\ttop:10,\r\n\t\t\twidth:250,\r\n\t\t}),\r\n\t\tl = Titanium.UI.createLabel({\r\n\t\t\ttop:60,\r\n\t\t\twidth:300,\r\n\t\t\theight:'auto',\r\n\t\t\tcolor:'#000',\r\n\t\t\ttext:'do something like click a button...'\r\n\t\t});\r\n\t\r\n\twin.add(l);\r\n\t\r\n\ttf1.addEventListener('focus',function(e) {\r\n\t\tl.text = 'focus received, val = ' + e.value;\r\n\t});\r\n\t\r\n\ttf1.addEventListener('blur',function(e) {\r\n\t\tl.text = 'blur received, val = ' + e.value;\t\r\n\t});\r\n\t\r\n\twin.add(tf1);\r\n\t\r\n\t//\r\n\t// FOCUS\r\n\t//\r\n\tvar focusLabel = Titanium.UI.createButton({\r\n\t\ttop:100,\r\n\t\theight:40,\r\n\t\twidth:200,\r\n\t\ttitle:'Focus'\r\n\t});\r\n\twin.add(focusLabel);\r\n\tfocusLabel.addEventListener('click', function() {\r\n\t\ttf1.focus();\r\n\t});\r\n\t\r\n\t//\r\n\t// BLUR\r\n\t//\r\n\tvar blurLabel = Titanium.UI.createButton({\r\n\t\ttop:150,\r\n\t\theight:40,\r\n\t\twidth:200,\r\n\t\ttitle:'Blur'\r\n\t});\r\n\twin.add(blurLabel);\r\n\tblurLabel.addEventListener('click', function() {\r\n\t\ttf1.blur();\r\n\t});\r\n\t\r\n\t\t\r\n\twin.open();{code}", "attachment": [ { "id": "36391", "filename": "TestKeyboard.zip", "author": { "name": "ypidstryhach_gl", "key": "ypidstryhach_gl", "displayName": "Yaroslav Pidstryhach", "active": true, "timeZone": "Europe/Helsinki" }, "created": "2013-03-18T17:26:48.000+0000", "size": 1552436, "mimeType": "application/zip" } ], "flagged": false, "summary": "MobileWeb: keyboard is not shown when TextField is programmatically focused", "creator": { "name": "ypidstryhach_gl", "key": "ypidstryhach_gl", "displayName": "Yaroslav Pidstryhach", "active": true, "timeZone": "Europe/Helsinki" }, "subtasks": [], "reporter": { "name": "ypidstryhach_gl", "key": "ypidstryhach_gl", "displayName": "Yaroslav Pidstryhach", "active": true, "timeZone": "Europe/Helsinki" }, "environment": "sdk version 3.0.2.v20130207164659", "comment": { "comments": [ { "id": "242911", "author": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "body": "Hello, what device(s) are you testing on? Does it work on the browser for you?", "updateAuthor": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-03-19T15:31:57.000+0000", "updated": "2013-03-19T15:31:57.000+0000" }, { "id": "242912", "author": { "name": "ypidstryhach_gl", "key": "ypidstryhach_gl", "displayName": "Yaroslav Pidstryhach", "active": true, "timeZone": "Europe/Helsinki" }, "body": "Can be reproduced in Android 4 (emulator and actual device) by loading the MobileWeb app in the browser.\r\n\r\nThis bug can also be seen in a compiled Android application (this will be a separate issue though).", "updateAuthor": { "name": "ypidstryhach_gl", "key": "ypidstryhach_gl", "displayName": "Yaroslav Pidstryhach", "active": true, "timeZone": "Europe/Helsinki" }, "created": "2013-03-19T15:37:00.000+0000", "updated": "2013-03-19T15:38:08.000+0000" }, { "id": "242923", "author": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "body": "I actually do see the same issue with 2.1.4: would you confirm that?", "updateAuthor": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-03-19T16:41:59.000+0000", "updated": "2013-03-19T16:41:59.000+0000" }, { "id": "300766", "author": { "name": "99redballoons", "key": "99redballoons", "displayName": "99 Red Balloons", "active": true, "timeZone": "Asia/Shanghai" }, "body": "Have also encountered this issue on Titanium SDK 3.2.2.GA. Any workaround for this? On iOS and Anroid, it's working fine.", "updateAuthor": { "name": "99redballoons", "key": "99redballoons", "displayName": "99 Red Balloons", "active": true, "timeZone": "Asia/Shanghai" }, "created": "2014-04-14T05:12:38.000+0000", "updated": "2014-04-14T05:12:38.000+0000" }, { "id": "422814", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Marking ticket as \"Won't Fix\" as MobileWeb has been deprecated.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-06-26T20:10:11.000+0000", "updated": "2017-06-26T20:10:11.000+0000" }, { "id": "436309", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as will not fix.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-04-04T23:20:16.000+0000", "updated": "2018-04-04T23:20:16.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }