{ "id": "93676", "key": "TIMOB-9722", "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": "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": "2013-02-26T11:47:43.000+0000", "created": "2012-06-22T03:05:23.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "api", "qe-and060112" ], "versions": [ { "id": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" } ], "issuelinks": [], "assignee": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-03-14T02:57:29.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": "This is not a regression.It exists as far as 1.8.2.\r\nIt occurs only on android 4.0.2 samsung galaxy nexus.\r\nThis is working fine on android 2.2 and android 3.2 \r\n\r\nSteps to reproduce:\r\n1) Use the code below:\r\n{code}\r\nvar win = Ti.UI.createWindow();\r\nwin.backgroundColor='red';\r\n\t\tvar tf1 = Titanium.UI.createTextField({\r\n\t\t\t\tbackgroundColor: \"#fff\",\r\n\t\t\t\twidth : 250,\r\n\t\t\t\theight : 80,\r\n\t\t\t\tfocusable : true,\r\n\t\t\t});\r\n\t\t\twin.add(tf1);\r\n\t\t\t\r\n\t\t\ttf1.addEventListener('focus', function() {\r\n\t\t\t\talert('Focus fired');\r\n\t\t\t});\r\n\twin.open();\r\n{code}\r\n2) Run the app.\r\n3) Click 'ok'on the alert displayed and again click the textfield.\r\n4) Press 'done' on the soft keyboard.\r\n\r\nExpected result:\r\n2) After step 2,app should be running and an alert should be displayed stating 'Focus fired'.\r\n3) The soft keyboard should be invoked.\r\n4) The soft keyboard should get dismissed without any alerts.\r\n\r\nActual result:\r\n2) After step 2,app should be running and an alert should be displayed stating 'Focus fired'.\r\n3) The soft keyboard should be invoked.\r\n4) The soft keyboard should get dismissed but a focus alert 'Focus fired' is displayed.\r\n\r\nFocus event should not get fired.", "attachment": [], "flagged": false, "summary": "Android: Textfield:Focus event is fired when soft keyboard 'done' button is pressed.", "creator": { "name": "sbhadauria", "key": "sbhadauria", "displayName": "Shyam Bhadauria", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "sbhadauria", "key": "sbhadauria", "displayName": "Shyam Bhadauria", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Tested with Titanium SDK: 2.1.0.v20120621184154\r\nTested with Titanium  Studio: 2.1.0.201206211609\r\nDevice - Android 4.0 Samsung galaxy nexus\r\nMachine OS - MAC 10.7.3", "comment": { "comments": [ { "id": "239788", "author": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The problem cannot reproduce with master release 3.1.0 and latest version 3.0.2", "updateAuthor": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-02-26T11:47:43.000+0000", "updated": "2013-02-26T11:47:43.000+0000" }, { "id": "240678", "author": { "name": "sbhadauria", "key": "sbhadauria", "displayName": "Shyam Bhadauria", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Issue is not reproducing with reported as well as latest sdk(3.1.x).So closing it.", "updateAuthor": { "name": "sbhadauria", "key": "sbhadauria", "displayName": "Shyam Bhadauria", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-05T09:13:13.000+0000", "updated": "2013-03-05T09:13:13.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }