{ "id": "102706", "key": "TIMOB-11265", "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": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" }, { "id": "14157", "description": "Sprint 2012-20 API", "name": "Sprint 2012-20 API", "archived": true, "released": true, "releaseDate": "2012-10-08" }, { "id": "14272", "description": "2012 Sprint 20", "name": "2012 Sprint 20", "archived": true, "released": true, "releaseDate": "2012-10-08" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-10-06T00:46:37.000+0000", "created": "2012-10-04T23:35:49.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "api", "module_window", "qe-review", "qe-testadded" ], "versions": [ { "id": "14137", "description": "Release 2.1.3", "name": "Release 2.1.3", "archived": true, "released": true, "releaseDate": "2012-10-03" }, { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [], "assignee": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-06-19T12:43:00.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": "close event is fired twice when closing a window with exitOnClose set to true.\r\n\r\nTesting instructions:\r\n\r\n1. Run this code\r\n{code}\r\nvar win = Ti.UI.createWindow({fullscreen: true, exitOnClose: true});\r\nwin.open();\r\nwin.addEventListener('close', function(e) {\r\n\tTi.API.info('win closed');\r\n});\r\n{code}\r\n\r\n2. Hit the back button, observe log.", "attachment": [], "flagged": false, "summary": "Window close event fired twice when exitOnClose is set to true", "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": "224909", "author": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with:\r\nSDK:3.0.0.v20121024144610\r\nStudio: 3.0.0.201210220122\r\nDevice:HTC Desire V(Android 4.0.3)\r\n\r\nWindow close event is fired once when exitOnClose is set to true.", "updateAuthor": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-25T11:14:02.000+0000", "updated": "2012-10-25T11:14:02.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }