{ "id": "62593", "key": "TIMOB-1961", "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": "11225", "name": "Release 1.5.0", "archived": true, "released": true, "releaseDate": "2010-12-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:57:40.000+0000", "created": "2011-04-15T03:06:34.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "1.4.2", "change", "d1", "defect", "ios", "iphone", "orientation" ], "versions": [], "issuelinks": [], "assignee": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:57:40.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" } ], "description": "{html}
On the iPhone, sdk 4.x and 1.4.2 (and earlier) the orientation\nchange only fires once.
\nsee this ticket for code and history.
\nhttp://developer.appcelerator.com/helpdesk/view/45371
Strongly recommending that the engineering team discuss this\nbehavior. There is a major problem with resolving this bug, namely\nthat we need to make sure that behavior is consistent across both\niPhone and Android platforms when dealing with event listeners at\nthe module level.
\nSecondly, we will need to retain any possible contexts which\ninvolve event listeners, and listeners will affect ONLY those\ncontexts, i.e. they may not work as expected for variables with the\nsame name across contexts. Resolving this issue could take major\nchanges to how Kroll callbacks work within Titanium and will\nrequire that some critical resources are never released (contexts\nfor closed pages).
\nGoing to mark needs-more-info and begin discussion with\nengineering.
Two separate things here:
\nMarking this ticket resolved as a result.