{ "id": "122338", "key": "TIMOB-15700", "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": "2018-06-29T20:40:34.000+0000", "created": "2013-11-12T06:38:06.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "Android" ], "versions": [ { "id": "15593", "description": "Release 3.1.3", "name": "Release 3.1.3", "archived": true, "released": true, "releaseDate": "2013-09-18" } ], "issuelinks": [], "assignee": null, "updated": "2018-06-29T20:40:34.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": "h4. Problem Description\r\nSteps to reproduce\r\n1.Run following code \r\n\r\nExpected result:\r\n\r\nAll alert box should appear\r\n\r\nActual result:\r\n\r\nThere is no alert \r\n\r\nh4. Test case\r\n{code}\r\nvar win = Titanium.UI.createWindow({ \r\n title:'Tab 1',\r\n backgroundColor:'#fff'\r\n});\r\nwin.addEventListener('focus', function(){\r\n\tvar a=10;\r\n\tvar b=5;\r\n\tvar c=(a+b)*b;\r\n\talert(a);\r\n\talert(b);\r\n\talert(c);\r\n});\r\nwin.open();\r\n\r\n{code}\r\n\r\n", "attachment": [], "flagged": false, "summary": "ANDROID: focus event not getting triggered in window", "creator": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "CLI version 3.1.2, \r\nTitanium SDK version: 3.1.3 (09/08/13 09:50 b8f209a)\r\nTitanium Studio, build: 3.1.1.201306112235\r\nandroid Device: samsung sduos sdk 4.0.4\r\n OSX 10.8.3\r\n", "comment": { "comments": [ { "id": "279272", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "body": "The following anvil PR's are affected due to this ticket:\nhttps://github.com/appcelerator/titanium_mobile/pull/4806\nhttps://github.com/appcelerator/titanium_mobile/pull/4863\nhttps://github.com/appcelerator/titanium_mobile/pull/4876\nhttps://github.com/appcelerator/titanium_mobile/pull/4943\n \nAs of now we QE will comment these tests during anvil run & when the ticket is fixed will uncomment the tests again.\n\n", "updateAuthor": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-11-13T01:07:57.000+0000", "updated": "2013-11-13T01:07:57.000+0000" }, { "id": "438871", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Unable to reproduce in Titanium 6.0.2. Looks like it was already fixed.\r\nThe window is definitely getting the \"focus\" when opened.", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-06-29T20:40:19.000+0000", "updated": "2018-06-29T20:40:19.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }