{ "id": "120623", "key": "AC-2391", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2013-10-01T14:44:51.000+0000", "created": "2013-09-30T15:17:45.000+0000", "labels": [ "ScrollableView", "delay", "ios", "slow" ], "versions": [], "issuelinks": [ { "id": "32249", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "119446", "key": "TIMOB-15095", "fields": { "summary": "iOS: ScrollableView's manageCache causing lag halfway through page", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "updated": "2016-03-08T07:41:25.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": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "i ran the below code on both devices running android and iOS 6.1\r\nScrollableView scrolling is smooth on android, unlike iOS which hangs and sometimes freezes. see below code.\r\nnote that i am using iOS SDK 7.0 when compiling.\r\n\r\nTi.UI.setBackgroundColor('white');\r\n\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor : 'white',\r\n exitOnClose : true,\r\n fullscreen : false\r\n});\r\n\r\nfunction getSetOfViews() {\r\n var cView = Ti.UI.createView({\r\n width : Ti.UI.SIZE,\r\n height : Ti.UI.SIZE,\r\n layout : 'horizontal'\r\n });\r\n for (var i = 0, j = 5; i < j; i++) {\r\n var boxView = Ti.UI.createView({\r\n width : 25,\r\n height : 25,\r\n backgroundColor : 'red'\r\n });\r\n cView.add(boxView);\r\n };\r\n\r\n return cView;\r\n}\r\n\r\nfunction generatePage() {\r\n var page = Ti.UI.createView({\r\n width : Ti.UI.FILL,\r\n height : Ti.UI.FILL,\r\n layout : 'vertical'\r\n });\r\n for (var i = 0, j = 15; i < j; i++) {\r\n page.add(getSetOfViews());\r\n };\r\n return page;\r\n}\r\n\r\nvar pageViews = [];\r\nfor (var i = 0, j = 10; i < j; i++) {\r\n pageViews.push(generatePage());\r\n};\r\n\r\nvar scrollabkeView = Ti.UI.createScrollableView({\r\n views : pageViews,\r\n backgroundColor : 'white',\r\n showPagingControl : true,\r\n cacheSize : 10\r\n\r\n});\r\n\r\nwin.add(scrollabkeView);\r\n\r\nwin.open();\r\n", "attachment": [], "flagged": false, "summary": "iOS: Slow and poor performance for ScrollableView", "creator": { "name": "sameeh.harfoush", "key": "sameeh.harfoush", "displayName": "Sameeh Harfoush ", "active": true, "timeZone": "Asia/Beirut" }, "subtasks": [], "reporter": { "name": "sameeh.harfoush", "key": "sameeh.harfoush", "displayName": "Sameeh Harfoush ", "active": true, "timeZone": "Asia/Beirut" }, "environment": "Application type: mobile Titanium SDK: 3.1.3.GA, Platform & version: iOS 6.1 iPod touch Device, Host Operating System: OSX 10.8.4, iOS SDK:7.0", "comment": { "comments": [ { "id": "273488", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Resolving as a duplicate. No need to open a new ticket in the future--just add your notes onto the original ticket.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-01T14:44:45.000+0000", "updated": "2013-10-01T14:44:45.000+0000" }, { "id": "273579", "author": { "name": "sameeh.harfoush", "key": "sameeh.harfoush", "displayName": "Sameeh Harfoush ", "active": true, "timeZone": "Asia/Beirut" }, "body": "sorry Ingo, i saw the other ticket after posting this one. \nthanks", "updateAuthor": { "name": "sameeh.harfoush", "key": "sameeh.harfoush", "displayName": "Sameeh Harfoush ", "active": true, "timeZone": "Asia/Beirut" }, "created": "2013-10-02T04:22:49.000+0000", "updated": "2013-10-02T04:22:49.000+0000" }, { "id": "280642", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "DUP of TIMOB-15095", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2013-11-21T23:53:11.000+0000", "updated": "2013-11-21T23:53:11.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }