{ "id": "92280", "key": "TIMOB-9221", "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": [], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2012-07-31T22:20:09.000+0000", "created": "2012-05-24T07:36:45.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "api" ], "versions": [ { "id": "13272", "description": "Release 2.0.1", "name": "Release 2.0.1", "archived": true, "released": true, "releaseDate": "2012-04-16" } ], "issuelinks": [], "assignee": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-20T20:38:45.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": "h6.Problem\r\nWhen scrolling views in Scrollable View a lag / jittery is briefly shown - almost noticeable.\r\n\r\nh6.Tested on\r\niOS 5 simulator\r\niPod 5.1\r\n\r\nh6.Expected behavior \r\nScrolling run smoothly\r\n\r\nh6.Steps to reproduce\r\n1. Load attached project into Studio IDE \r\n2. Build & Run\r\n3. Start scrolling images - a brief-short lag is noticeable while scrolling views \r\n\r\n", "attachment": [ { "id": "27899", "filename": "1iPad.zip", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-05-24T07:36:46.000+0000", "size": 10066282, "mimeType": "application/zip" }, { "id": "27900", "filename": "ScrollableView.jpg", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-05-24T07:36:46.000+0000", "size": 101378, "mimeType": "image/jpeg" } ], "flagged": false, "summary": "iOS: ScrollableView lag while scrolling views", "creator": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Titanium SDK: Mobile 2.0.1\r\nPlatform OS: iOS\r\nPlatform OS Version: 5", "comment": { "comments": [ { "id": "210794", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Scrollable view has a chacheSize property which basically controls the number of views rendered and kept in cache. The lag/jitter is actually because of the backgroundImage loading and scaling (happens on the UI thread). At this point the device processing power comes into play.\r\n\r\nWays to mitigate\r\nUse smaller resources for smaller form factor devices(The images in the project are all 640x960 which is obviously too large for anything other that an iPAD).\r\n\r\nWays to fix\r\nSet the cacheSize to number of views which ensures all views are always rendered.", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-07-31T12:21:11.000+0000", "updated": "2012-07-31T12:21:11.000+0000" }, { "id": "413944", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as invalid.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-20T20:38:45.000+0000", "updated": "2017-03-20T20:38:45.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }