[TIMOB-1961] Orientation change event only fires once
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:57:40.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.5.0 |
Components | iOS |
Labels | 1.4.2, change, d1, defect, ios, iphone, orientation |
Reporter | ctredway |
Assignee | Blain Hamon |
Created | 2011-04-15T03:06:34.000+0000 |
Updated | 2011-04-17T01:57:40.000+0000 |
Description
On the iPhone, sdk 4.x and 1.4.2 (and earlier) the orientation change only fires once.
see this ticket for code and history.
http://developer.appcelerator.com/helpdesk/view/45371">http://developer.appcelerator.com/helpdesk/view/45371
Strongly recommending that the engineering team discuss this behavior. There is a major problem with resolving this bug, namely that we need to make sure that behavior is consistent across both iPhone and Android platforms when dealing with event listeners at the module level.
Secondly, we will need to retain any possible contexts which involve event listeners, and listeners will affect ONLY those contexts, i.e. they may not work as expected for variables with the same name across contexts. Resolving this issue could take major changes to how Kroll callbacks work within Titanium and will require that some critical resources are never released (contexts for closed pages).
Going to mark needs-more-info and begin discussion with engineering.
Two separate things here:
Marking this ticket resolved as a result.