{ "id": "62419", "key": "TIMOB-1787", "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": "11234", "name": "Release 1.6.0 M01", "archived": true, "released": true, "releaseDate": "2010-12-20" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:57:10.000+0000", "created": "2011-04-15T03:02:23.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "android", "defect", "release-1.6.0" ], "versions": [], "issuelinks": [], "assignee": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:57:10.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "{html}
If you scroll away (i.e., scroll to the right) from a screen in\nthe ScrollableView that contains a TableView, then scroll back, the\nTableView has disappeared.
\nEasy failcase app.js:
\n\nTitanium.UI.setBackgroundColor('#000');\nvar win = Titanium.UI.createWindow({ \n title:'Test', backgroundColor:'#fff', fullscreen: true\n});\n\nvar views = [];\nfor (var i = 0; i < 5; i++) {\n views.push(\n Ti.UI.createTableView({\n data: [ Ti.UI.createTableViewRow({title: 'Row for view ' + i}) ]\n })\n );\n}\n\nwin.add(Ti.UI.createScrollableView({ views: views }));\nwin.open();
\n
assigned to don for milestone/priority. Refers to this\nhelpdesk item.
This is a manifestation of trying to support infinitely\nscrollable views \ncommit at \nLine 80 releaseViews is getting called. In the case of\nTableView they don't seem to be getting restored.
\nThat seems to stem from crossing the streams between proxies and\nviews \nStarting at line 440 in \ncommit
\nWhen being detaching proxies from views in ScrollableView, it\nshould not destroy the TableView proxy hierarchy. Otherwise, there\nis no way to rebuild the TableView.
Note: this is likely a side-effect of cleanup: when going to\nnext view, we're destroying the views and then they don't get\nrebuilt when going back.
(from [7a8a2333afb959f698e856e0c6f2d484b6b166c4])\n[#1787] drillbit test for tableview disappearing\nin scrollableview bug \nhttps://github.com/appcelerator/titanium_mobile/commit/7a8a2333afb9...
(from [b2c8930d64cc5a9c00c916895432fe529d74fb7e])\n[#1787 state:fixed-in-qa] Don't clear proxies of\ntableview constituents (rows, stuff inside rows, etc.), else can't\nbe reconstructed when tableview is re-shown \nhttps://github.com/appcelerator/titanium_mobile/commit/b2c8930d64cc...
G1 (1.6) droid 1 (2.2.1), confirmed correct behavior on a 4gt\nipod touch. Titanium SDK version: 1.6.0 (01/06/11 08:47 8b2fd0e)\nopening a new bug for a cosmetic issue with scrolling that only\naffects 1.6