{ "id": "88964", "key": "TIMOB-8331", "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": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" }, { "id": "13405", "description": "Sprint 2012-09 API", "name": "Sprint 2012-09 API", "archived": true, "released": true, "releaseDate": "2012-05-06" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-05-04T11:58:38.000+0000", "created": "2012-03-27T13:00:02.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "api", "module_window", "parity", "qe-testadded" ], "versions": [ { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" }, { "id": "13070", "description": "Release 1.8 Service Pack 2", "name": "Release 1.8.2", "archived": true, "released": true, "releaseDate": "2012-02-29" } ], "issuelinks": [], "assignee": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-12-02T09:14:53.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "attachment": [], "flagged": false, "summary": "iOS: HW window fires open and focus events in wrong order", "creator": { "name": "bitshftr", "key": "bitshftr", "displayName": "Shawn Lipscomb", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "bitshftr", "key": "bitshftr", "displayName": "Shawn Lipscomb", "active": true, "timeZone": "America/New_York" }, "environment": "- Titanium SDK 1.8.2\r\n- Titanium SDK 2.0.0.v20120325213306\r\n- iOS 5.0 (simulator)", "comment": { "comments": [ { "id": "188897", "author": { "name": "bitshftr", "key": "bitshftr", "displayName": "Shawn Lipscomb", "active": true, "timeZone": "America/New_York" }, "body": "What's up with the styling/markup in JIRA now? The \\{code} markup used to show a block of code in a box with a title on it. Now it just shows line numbers and a monospaced font.", "updateAuthor": { "name": "bitshftr", "key": "bitshftr", "displayName": "Shawn Lipscomb", "active": true, "timeZone": "America/New_York" }, "created": "2012-03-27T13:01:35.000+0000", "updated": "2012-03-27T13:01:35.000+0000" }, { "id": "188909", "author": { "name": "jyounus", "key": "jyounus", "displayName": "Junaid Younus", "active": true, "timeZone": "Europe/London" }, "body": "I was unable to reproduce this issue with the latest CI build: 2.0.0.v20120326211803\r\n\r\nIt seems to work fine for the iOS simulator. I have contacted Shawn via the help desk ticket, waiting for him to confirm.\r\n\r\nWill open again, if necessary.\r\n\r\n\r\n@Shawn, the reason why it looks different is because we recently changed the style of the JIRA code formatter. This is the new standard behavior now. :)", "updateAuthor": { "name": "jyounus", "key": "jyounus", "displayName": "Junaid Younus", "active": true, "timeZone": "Europe/London" }, "created": "2012-03-27T13:49:52.000+0000", "updated": "2012-03-27T13:49:52.000+0000" }, { "id": "188964", "author": { "name": "bitshftr", "key": "bitshftr", "displayName": "Shawn Lipscomb", "active": true, "timeZone": "America/New_York" }, "body": "Sorry, I posted the wrong test code. Try this one, which uses the *url* property to make the new window from another js context. Using SDK 2.0.0.v20120325213306:\r\n\r\napp.js:\r\n{code}\r\nvar win1 = Titanium.UI.createWindow({\r\n url:'win1.js',\r\n navBarHidden:true,\r\n backgroundColor:'#fff'\r\n});\r\nwin1.open();\r\n{code}\r\n\r\nwin1.js:\r\n{code}\r\nvar win1=Ti.UI.currentWindow;\r\n\r\nfunction OnFocus()\r\n{\r\n Ti.API.info('** focus event');\r\n}\r\n\r\nfunction OnOpen()\r\n{\r\n Ti.API.info('** open event');\r\n}\r\n\r\nwin1.addEventListener('focus',OnFocus);\r\nwin1.addEventListener('open',OnOpen);\r\n{code}\r\n", "updateAuthor": { "name": "bitshftr", "key": "bitshftr", "displayName": "Shawn Lipscomb", "active": true, "timeZone": "America/New_York" }, "created": "2012-03-28T04:36:25.000+0000", "updated": "2012-03-28T04:36:25.000+0000" }, { "id": "188969", "author": { "name": "bitshftr", "key": "bitshftr", "displayName": "Shawn Lipscomb", "active": true, "timeZone": "America/New_York" }, "updateAuthor": { "name": "bitshftr", "key": "bitshftr", "displayName": "Shawn Lipscomb", "active": true, "timeZone": "America/New_York" }, "created": "2012-03-28T06:02:07.000+0000", "updated": "2012-03-28T06:02:07.000+0000" }, { "id": "189006", "author": { "name": "jyounus", "key": "jyounus", "displayName": "Junaid Younus", "active": true, "timeZone": "Europe/London" }, "body": "I updated the original ticket description to reflect the new code. I was able to reproduce the issue with 1.8.2.", "updateAuthor": { "name": "jyounus", "key": "jyounus", "displayName": "Junaid Younus", "active": true, "timeZone": "Europe/London" }, "created": "2012-03-28T10:03:34.000+0000", "updated": "2012-03-28T10:03:34.000+0000" }, { "id": "190029", "author": { "name": "bitshftr", "key": "bitshftr", "displayName": "Shawn Lipscomb", "active": true, "timeZone": "America/New_York" }, "body": "HD ticket: http://support.appcelerator.com/tickets/APP-545824", "updateAuthor": { "name": "bitshftr", "key": "bitshftr", "displayName": "Shawn Lipscomb", "active": true, "timeZone": "America/New_York" }, "created": "2012-04-05T13:11:36.000+0000", "updated": "2012-04-05T13:11:36.000+0000" }, { "id": "191318", "author": { "name": "bitshftr", "key": "bitshftr", "displayName": "Shawn Lipscomb", "active": true, "timeZone": "America/New_York" }, "body": "Still a problem in SDK 2.1.0.v20120416160358.", "updateAuthor": { "name": "bitshftr", "key": "bitshftr", "displayName": "Shawn Lipscomb", "active": true, "timeZone": "America/New_York" }, "created": "2012-04-17T06:24:08.000+0000", "updated": "2012-04-17T06:24:08.000+0000" }, { "id": "193761", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Fixed by PR 2106", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-05-04T11:58:38.000+0000", "updated": "2012-05-04T11:58:38.000+0000" }, { "id": "199168", "author": { "name": "bitshftr", "key": "bitshftr", "displayName": "Shawn Lipscomb", "active": true, "timeZone": "America/New_York" }, "body": "Verified fixed in SDK 2.1.0.v20120608174150. Thanks!", "updateAuthor": { "name": "bitshftr", "key": "bitshftr", "displayName": "Shawn Lipscomb", "active": true, "timeZone": "America/New_York" }, "created": "2012-06-19T13:41:23.000+0000", "updated": "2012-06-19T13:41:56.000+0000" }, { "id": "201248", "author": { "name": "tsmolich", "key": "tsmolich", "displayName": "Tamila Smolich", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as fixed. Verified with:\r\nTitanium Studio, build: 2.1.1.201206291424\r\nTitanium SDK: 2.1.0.v20120628121617\r\niOS 5.0 Simulator", "updateAuthor": { "name": "tsmolich", "key": "tsmolich", "displayName": "Tamila Smolich", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-02T14:21:58.000+0000", "updated": "2012-07-02T14:21:58.000+0000" } ], "maxResults": 10, "total": 10, "startAt": 0 } } }