[TIMOB-2127] context destruction may not occur with nav controller popping
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2017-05-26T17:35:56.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | iOS |
Labels | context, defect, ios, iphone, navigationgroup, tabGroup, tabgroup, tbs-1.7.1 |
Reporter | Stephen Tramer |
Assignee | Ingo Muschenetz |
Created | 2011-04-15T03:11:12.000+0000 |
Updated | 2017-05-26T17:39:46.000+0000 |
Description
It looks like sometimes contexts are not destroyed when popping nav controllers, if the operation is performed fast enough. To witness, run KS->Phone->Play Movie->Embedded Video and immediately click the left nav button. May take a few times to reproduce, but eventually you will get the video playing (you can hear the sound) and no 'complete' message. When the video does stop playing two 'complete' messages will appear.
Probably has something to do with our nav stack management. Confirmed to not just be a problem with the video player, although that's the most obvious way to see the issue.
Watch https://github.com/appcelerator/titanium_mobile/tree/ios_window_refactor"> https://github.com/appcelerator/titanium_mobile/tree/ios_window_ref... for codefixes on this.
(from [19be393421bcfed0f84781520580eb3ebdb7b48c]) [#2127 state:fixed-in-qa] Couldn't recreate either on sim or on device, added debug line to movie_embed.js to make tracking easier. https://github.com/appcelerator/titanium_mobile/commit/19be393421bcfed0f84781520580eb3ebdb7b48c"> https://github.com/appcelerator/titanium_mobile/commit/19be393421bc...
Witnessed this once (on the 5th attempt), but only received a single "movie complete" alert. Killed the app, tried again , 15 attempts not able to reproduce. Killed the app, tried again, unable to reproduce with 20 attempts.
Closing ticket as Invalid as this version of Kitchen Sink is no longer supported.