{ "id": "65716", "key": "TIMOB-4221", "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": "11330", "description": "Planning Week", "name": "Sprint 2011-21", "archived": true, "released": true, "releaseDate": "2011-05-30" }, { "id": "12075", "description": "", "name": "Sprint 2011-35", "archived": true, "released": true, "releaseDate": "2011-09-05" } ], "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2011-09-01T15:01:13.000+0000", "created": "2011-05-24T11:22:49.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "enterprise", "ios", "release-1.7.0" ], "versions": [ { "id": "11244", "name": "Release 1.7.0", "archived": true, "released": true, "releaseDate": "2011-06-13" } ], "issuelinks": [], "assignee": { "name": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-28T17:12:58.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": "h1. Memory Warnings Unload Tabs\r\nIf you have a tab group with two active tabs, and a memory warning happens, the inactive tab will \"Black Screen of Death\".\r\n\r\nh2. Sample Code\r\n{code:title=app.js}\r\nvar tabGroup = Ti.UI.createTabGroup();\r\ntabGroup.addTab(Ti.UI.createTab({\r\n title: '4. Switch to Me',\r\n window: Ti.UI.createWindow({\r\n backgroundColor: 'purple',\r\n title: '1. Look at my BG Color'\r\n })\r\n}));\r\ntabGroup.addTab(Ti.UI.createTab({\r\n title: '2. Switch to Me',\r\n window: Ti.UI.createWindow({\r\n backgroundColor: 'orange',\r\n title: '3. Simulate a Memory Warning'\r\n })\r\n}));\r\ntabGroup.open();\r\n{code}\r\n\r\nh2. How To Reproduce\r\nFollow the steps on screen in the sample code (1 through 4). Generally, you'll do this:\r\n# Look at the purple background color of the first tab.\r\n# Click on the second tab.\r\n# Simulate a memory warning.\r\n# Switch back to the first tab.\r\n# Look at the black background -- the tab has been unloaded.\r\n\r\nh2. Console Log\r\n{code}\r\n2011-05-25 15:05:56.409 PlaygroundMobile[18905:40b] Received simulated memory warning.\r\n[INFO] Due to memory conditions, 0 of 0 image cache entries were unloaded from cache.\r\n{code}\r\n\r\nh2. Tested On\r\nSee environment.\r\n\r\nh2. Associated Helpdesk Ticket\r\nhttp://appc.me/c/APP-241843", "attachment": [ { "id": "22706", "filename": "crash_log_1_8_run2", "author": { "name": "asiddiqui@appcelerator.com", "key": "asiddiqui@appcelerator.com", "displayName": "Asim Siddiqui", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-08-26T17:17:42.000+0000", "size": 104995, "mimeType": "application/octet-stream" }, { "id": "22705", "filename": "crash_log_1_8_run2", "author": { "name": "asiddiqui@appcelerator.com", "key": "asiddiqui@appcelerator.com", "displayName": "Asim Siddiqui", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-08-26T17:17:29.000+0000", "size": 104995, "mimeType": "application/octet-stream" }, { "id": "22707", "filename": "info vic events.zip", "author": { "name": "asiddiqui@appcelerator.com", "key": "asiddiqui@appcelerator.com", "displayName": "Asim Siddiqui", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-08-26T17:19:29.000+0000", "size": 2087319, "mimeType": "application/zip" } ], "flagged": false, "summary": "iOS: Memory Warnings Unload Tabs", "creator": { "name": "flobby", "key": "flobby", "displayName": "florian bergmann", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "environment": "Tested on iOS 4.1 - 4.3.3 on iPad 1, iPad 2, iPhone 3GS, iPhone 4, and Simulator...\r\nTitanium SDK Version 1.7.0 and master (nightly builds from today, but also appeared in earlier versions)", "comment": { "comments": [ { "id": "134288", "author": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "body": "Editing the ticket now for additional clarity and reproducibility...", "updateAuthor": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "created": "2011-05-25T15:09:30.000+0000", "updated": "2011-05-25T15:09:30.000+0000" }, { "id": "134294", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Last remnants of the great Memory Change; Tab groups weren't remembering/forgetting tabs.", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-05-25T16:13:36.000+0000", "updated": "2011-05-25T16:13:36.000+0000" }, { "id": "134352", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "THis is still failing in the simulator with Titanium Studio, build: 1.0.0.201105260623, Titanium SDK version: 1.7.X r5e4f9c7e", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-05-26T17:57:41.000+0000", "updated": "2011-05-26T17:57:41.000+0000" }, { "id": "134356", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "We were prematurely unloading viewcontrollers.", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-05-26T18:56:41.000+0000", "updated": "2011-05-26T18:56:41.000+0000" }, { "id": "164231", "author": { "name": "asiddiqui@appcelerator.com", "key": "asiddiqui@appcelerator.com", "displayName": "Asim Siddiqui", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This issue was reproduced with 1.8 build on iPad 1 running iOS 4.3.5(8L1)\n\nversion=1.8.0\ntimestamp=08/19/11 14:25\ngithash=56b54a2...\n\nAttaching Logs\nAttaching zip of application.\n\nTo reproduce run many applications to take start taking up memory resources. Run the application and it will show a black screen and the logs show \"unloading windows\"", "updateAuthor": { "name": "asiddiqui@appcelerator.com", "key": "asiddiqui@appcelerator.com", "displayName": "Asim Siddiqui", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-08-26T17:16:21.000+0000", "updated": "2011-08-26T17:16:21.000+0000" }, { "id": "164233", "author": { "name": "asiddiqui@appcelerator.com", "key": "asiddiqui@appcelerator.com", "displayName": "Asim Siddiqui", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Project Attached", "updateAuthor": { "name": "asiddiqui@appcelerator.com", "key": "asiddiqui@appcelerator.com", "displayName": "Asim Siddiqui", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-08-26T17:19:29.000+0000", "updated": "2011-08-26T17:19:46.000+0000" }, { "id": "164836", "author": { "name": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Shak,\n\nPlease follow up with Asim on his further attachments to this issue, validate and open a new bug if necessary.", "updateAuthor": { "name": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-09-01T15:01:13.000+0000", "updated": "2011-09-01T15:01:13.000+0000" }, { "id": "170966", "author": { "name": "ka2n", "key": "ka2n", "displayName": "Katsuma Ito", "active": true, "timeZone": "Asia/Tokyo" }, "body": "Reproduced with 1.7.4 release on iPod touch 4g (4.3.3) and iPhone Simulator (5.0) and iPhone4(4.3.2).\r\nNot with 1.7.3 release.\r\n\r\n1.7.3.mov\r\nhttp://cl.ly/0a2H2R3o1W1G421K3D3v\r\n\r\n1.7.4.mov\r\nhttp://cl.ly/3s3y3p3q2F1f19343F1U", "updateAuthor": { "name": "ka2n", "key": "ka2n", "displayName": "Katsuma Ito", "active": true, "timeZone": "Asia/Tokyo" }, "created": "2011-10-31T15:20:09.000+0000", "updated": "2011-10-31T15:20:09.000+0000" }, { "id": "178398", "author": { "name": "jasonsznol", "key": "jasonsznol", "displayName": "Jason Sznol", "active": true, "timeZone": "America/New_York" }, "updateAuthor": { "name": "jasonsznol", "key": "jasonsznol", "displayName": "Jason Sznol", "active": true, "timeZone": "America/New_York" }, "created": "2012-01-06T13:54:22.000+0000", "updated": "2012-01-06T13:54:22.000+0000" }, { "id": "178399", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This may not be reproducible in 1.8.0.1. Please upgrade your SDK and confirm that the bug is no longer present.", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-06T14:05:44.000+0000", "updated": "2012-01-06T14:05:44.000+0000" }, { "id": "178405", "author": { "name": "jasonsznol", "key": "jasonsznol", "displayName": "Jason Sznol", "active": true, "timeZone": "America/New_York" }, "body": "This has been fixed in 1.8.0.1, we have been reluctant to upgrade due to other issues with the 1.8.0.1 release and our app.", "updateAuthor": { "name": "jasonsznol", "key": "jasonsznol", "displayName": "Jason Sznol", "active": true, "timeZone": "America/New_York" }, "created": "2012-01-06T14:40:37.000+0000", "updated": "2012-01-06T14:40:37.000+0000" }, { "id": "178416", "author": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Correction: We continue to support 1.7.x release but we do not backport non critical issues to this branch. This particular fix is pretty involved and it would be better to upgrade to 1.8.0.1 release not only to get this fix but also to get many other fixes and enhancements.", "updateAuthor": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-06T16:07:23.000+0000", "updated": "2012-01-06T16:07:23.000+0000" }, { "id": "182602", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "closing based on Steve's comments", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-02-09T11:11:26.000+0000", "updated": "2012-02-09T11:11:26.000+0000" }, { "id": "416008", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket with reference to the comments above.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-28T17:12:58.000+0000", "updated": "2017-03-28T17:12:58.000+0000" } ], "maxResults": 15, "total": 15, "startAt": 0 } } }