{ "id": "93492", "key": "TIMOB-9643", "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": "14621", "description": "2012 Sprint 23 API", "name": "2012 Sprint 23 API", "archived": true, "released": true, "releaseDate": "2012-11-19" }, { "id": "14623", "description": "2012 Sprint 23 JS", "name": "2012 Sprint 23", "archived": true, "released": true, "releaseDate": "2012-11-19" } ], "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": "2012-11-06T23:10:41.000+0000", "created": "2012-06-19T14:55:32.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "api" ], "versions": [ { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" }, { "id": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" }, { "id": "13272", "description": "Release 2.0.1", "name": "Release 2.0.1", "archived": true, "released": true, "releaseDate": "2012-04-16" } ], "issuelinks": [], "assignee": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-11-07T18:50:07.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": "Test Case: \r\n{code}\r\nvar win = Ti.UI.createWindow({backgroundColor: 'red'});\r\nvar button = Ti.UI.createButton({title: 'click me'});\r\nbutton.addEventListener('click', function() {\r\n var t_win = Ti.UI.createWindow({fullscreen:true});\r\n t_win.addEventListener('close', function() {\r\n var win2 = Ti.UI.createWindow({backgroundColor: 'blue'});\r\n win2.open();\r\n });\r\n t_win.open();\r\n});\r\nwin.add(button);\r\nwin.open();\r\n{code}\r\n\r\n1. Click on button\r\n2. Click back button. Now we should see a blue window, but we don't.", "attachment": [], "flagged": false, "summary": "Android: Opening a LW window inside a \"close\" event handler does not work", "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": "226400", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This works fine in 3.0.X and master.", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-11-06T23:09:41.000+0000", "updated": "2012-11-06T23:09:41.000+0000" }, { "id": "250965", "author": { "name": "djha", "key": "djha", "displayName": "Dhirendra Jha", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified this issue using the above code. Now shows the blue window on tapping back key.\nTested with\nAppcelerator Studio build: 3.1.1.201305072102\nTitanium SDK version: 3.1.0 (GA), 3.1.1.v20130508001914\nDevice: Samsung Galaxy (v2.3.6)\nHence closing this issue.", "updateAuthor": { "name": "djha", "key": "djha", "displayName": "Dhirendra Jha", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-09T09:07:35.000+0000", "updated": "2013-05-09T09:07:35.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }