{ "id": "151911", "key": "TIMOB-19741", "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": "16997", "name": "Release 5.2.0", "archived": false, "released": true, "releaseDate": "2016-02-23" }, { "id": "17072", "name": "Release 5.1.2", "archived": false, "released": true, "releaseDate": "2016-01-12" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-10-28T20:33:58.000+0000", "created": "2015-10-09T16:42:53.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [ { "id": "16919", "description": "Critical updates", "name": "Release 4.1.1", "archived": true, "released": true, "releaseDate": "2015-07-15" } ], "issuelinks": [], "assignee": { "name": "apetkov", "key": "apetkov", "displayName": "Angel Petkov", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-01-25T18:13:15.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": [], "description": "Hi,\r\n\r\nif you have webViews with html content within a scrollableView, they will disappear when you scroll through the scrollableView. CacheSize of scrollableView does not have any impact to this issue.\r\n\r\nYou can easily reproduce this issue:\r\n1. Create a scrollableView\r\n2. Create 10 Views with a webView in it (put some html into the webview)\r\n3. Put the views into the scrollableView\r\n4. Scroll forward and then backward through the scrollableView\r\n\r\n5.0.0.GA / 5.0.1.GA / 5.0.2.GA, iOS9, xcode 7.0.1\r\n\r\n", "attachment": [ { "id": "57039", "filename": "testcase.zip", "author": { "name": "impacmp", "key": "impacmp", "displayName": "Martin Paul", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-10-16T08:10:04.000+0000", "size": 10293487, "mimeType": "application/zip" } ], "flagged": false, "summary": "iOS: webViews within a scrollableView disappear", "creator": { "name": "impacmp", "key": "impacmp", "displayName": "Martin Paul", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "impacmp", "key": "impacmp", "displayName": "Martin Paul", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "5.0.0.GA / 5.0.1.GA / 5.0.2.GA, iOS9, xcode 7.0.1", "closedSprints": [ { "id": 517, "state": "closed", "name": "2015 Sprint 22 SDK", "startDate": "2015-10-24T00:30:42.059Z", "endDate": "2015-11-07T01:30:00.000Z", "completeDate": "2015-11-09T02:37:29.441Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "366388", "author": { "name": "impacmp", "key": "impacmp", "displayName": "Martin Paul", "active": true, "timeZone": "America/Los_Angeles" }, "body": "If you set the HTML to the webView AFTER the Window opened it works. Maybe this helps you to find the bug.", "updateAuthor": { "name": "impacmp", "key": "impacmp", "displayName": "Martin Paul", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-10-09T17:36:48.000+0000", "updated": "2015-10-09T17:36:48.000+0000" }, { "id": "366990", "author": { "name": "impacmp", "key": "impacmp", "displayName": "Martin Paul", "active": true, "timeZone": "America/Los_Angeles" }, "body": "find attached a full titanium project. The whole code is in the app.js.\r\nJust run it in an iOS9 iPad Air2 Simulator - scroll all 10 views forward, and then scroll some views backward - you will see that at some point the webviews will be empty.", "updateAuthor": { "name": "impacmp", "key": "impacmp", "displayName": "Martin Paul", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-10-16T08:10:45.000+0000", "updated": "2015-10-16T08:10:45.000+0000" }, { "id": "367272", "author": { "name": "ThibZ", "key": "thibz", "displayName": "Thibault Lenclos", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I also found this bug since SDK 4.1.1, not happening in 3.5.1.\r\n\r\nIt seems that the html property of the webview is lost when it goes in the cache.\r\nSee this minimalist code to reproduce the issue:\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow();\r\nvar views = [];\r\nfor (var i=0; i<5; i++) {\r\n views.push(Ti.UI.createWebView({ url: \"

Webview '+i+'

\" }));\r\n}\r\n\r\nvar scrollableView = Ti.UI.createScrollableView({views: views});\r\nwin.add(scrollableView);\r\nwin.open();\r\n{code}", "updateAuthor": { "name": "ThibZ", "key": "thibz", "displayName": "Thibault Lenclos", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-10-20T08:14:49.000+0000", "updated": "2015-10-20T08:27:55.000+0000" }, { "id": "367275", "author": { "name": "ThibZ", "key": "thibz", "displayName": "Thibault Lenclos", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Last changes to iOS webview are in this commit https://github.com/appcelerator/titanium_mobile/commit/0f18c5b8eb3f686f0dfc88b1f295e3dea3b36f87 but sadly I don't really understand it.", "updateAuthor": { "name": "ThibZ", "key": "thibz", "displayName": "Thibault Lenclos", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-10-20T08:36:43.000+0000", "updated": "2015-10-20T08:36:43.000+0000" }, { "id": "368159", "author": { "name": "apetkov", "key": "apetkov", "displayName": "Angel Petkov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR pending: https://github.com/appcelerator/titanium_mobile/pull/7363/files", "updateAuthor": { "name": "apetkov", "key": "apetkov", "displayName": "Angel Petkov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-10-28T18:40:32.000+0000", "updated": "2015-10-28T18:40:32.000+0000" }, { "id": "368175", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR *approved*, thanks!", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2015-10-28T20:34:14.000+0000", "updated": "2015-10-28T20:34:14.000+0000" }, { "id": "368262", "author": { "name": "impacmp", "key": "impacmp", "displayName": "Martin Paul", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Thanks for fixing. In which version will it be fixed?", "updateAuthor": { "name": "impacmp", "key": "impacmp", "displayName": "Martin Paul", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-10-29T08:03:23.000+0000", "updated": "2015-10-29T08:03:23.000+0000" }, { "id": "370413", "author": { "name": "impacmp", "key": "impacmp", "displayName": "Martin Paul", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Problem still exists within the 5.1.0 RC (https://community.appcelerator.com/topic/3976/sdk-5-1-0-rc-and-studio-4-4-0-rc-now-available/2)", "updateAuthor": { "name": "impacmp", "key": "impacmp", "displayName": "Martin Paul", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-11-16T18:25:35.000+0000", "updated": "2015-11-16T18:25:35.000+0000" }, { "id": "370421", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "[~impacmp] This fix is part of the 5.1.1 / 5.2.0 release, since we will already release 5.1.0.GA. ", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2015-11-16T19:26:43.000+0000", "updated": "2015-11-16T19:26:43.000+0000" }, { "id": "371192", "author": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed, using:\r\n\r\nMacOS 10.11.2 (15C47a)\r\nStudio 4.4.0.201511182122\r\nTi SDK 5.1.1.v20151122191220\r\nAppc NPM 4.2.2\r\nAppc CLI 5.1.0\r\nTi CLI 5.0.5\r\nAlloy 1.7.26\r\nArrow 1.3.22\r\nXcode 7.1 (7B91b)\r\nNode v0.12.7\r\nJava 1.7.0_80\r\nproduction\r\n\r\nWebviews do not disappear a display properly when scrolling through scrollableViews and scrollviews. Used the provided test cases.", "updateAuthor": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-11-23T18:36:48.000+0000", "updated": "2015-11-23T18:36:48.000+0000" }, { "id": "373801", "author": { "name": "impacmp", "key": "impacmp", "displayName": "Martin Paul", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Can anybody tell me when version 5.1.2.GA (with this fix here) will be released?", "updateAuthor": { "name": "impacmp", "key": "impacmp", "displayName": "Martin Paul", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-01-05T12:51:04.000+0000", "updated": "2016-01-05T12:51:04.000+0000" }, { "id": "373805", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Most probably this week.", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-01-05T13:15:58.000+0000", "updated": "2016-01-05T13:15:58.000+0000" }, { "id": "375230", "author": { "name": "impacmp", "key": "impacmp", "displayName": "Martin Paul", "active": true, "timeZone": "America/Los_Angeles" }, "body": "testet with 5.1.2.GA - not fixed here, please reopen ticket", "updateAuthor": { "name": "impacmp", "key": "impacmp", "displayName": "Martin Paul", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-01-25T12:09:28.000+0000", "updated": "2016-01-25T12:09:28.000+0000" }, { "id": "375241", "author": { "name": "apetkov", "key": "apetkov", "displayName": "Angel Petkov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Please test with http://builds.appcelerator.com/#5_2_X. The fix is included in that SDK, if the issue still persists please leave a comment and we will re-evaluate the fix. ", "updateAuthor": { "name": "apetkov", "key": "apetkov", "displayName": "Angel Petkov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-01-25T18:13:15.000+0000", "updated": "2016-01-25T18:13:15.000+0000" } ], "maxResults": 17, "total": 17, "startAt": 0 } } }