{ "id": "151266", "key": "TIMOB-19999", "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": null, "resolutiondate": null, "created": "2015-09-18T09:40:40.000+0000", "priority": null, "labels": [ "coverflowview", "engTriage", "ios" ], "versions": [], "issuelinks": [], "assignee": null, "updated": "2019-12-09T18:41:31.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [], "description": "*Issue:*\r\nWhen setting the images array property and then clearing it and setting a new images array property causes a UI glitch in where the old images array is put behind the new images array.\r\n\r\n*Sample Code*\r\n{code}\r\nvar arr = [];\r\nfor(var i=1;i<8;i++){\r\n\tvar image = Ti.UI.createImageView({\r\n\t\timage: '/images/image' + i + '.png',\r\n\t\theight: 300,\r\n\t\twidth: 220\r\n\t});\r\n\tarr.push(image.toImage());\r\n}\r\n\r\n$.coverFlow.images = arr;\r\nfunction doClick(){\r\n\tarr = [];\r\n\t\r\n\tfor(var i=1;i<6;i++){\r\n\t\tvar image = Ti.UI.createImageView({\r\n\t\t\timage: '/images/image' + i + '.png',\r\n\t\t\theight: 300,\r\n\t\t\twidth: 220\r\n\t\t});\r\n\t\tarr.push(image.toImage());\r\n\t}\r\n\t\r\n\t$.coverFlow.selected = $.coverFlow.images.length;\r\n\t$.coverFlow.images = [];\r\n\t$.coverFlow.images = arr;\r\n\t$.coverFlow.selected = 0;\r\n}\r\n$.index.open();\r\n\r\n{code}", "attachment": [ { "id": "56759", "filename": "thumb_IMG_0042_1024.jpg", "author": { "name": "trd.hero", "key": "trd.hero", "displayName": "Heroaki Anthony N. Lawas", "active": true, "timeZone": "Asia/Singapore" }, "created": "2015-09-18T09:39:31.000+0000", "size": 157572, "mimeType": "image/jpeg" } ], "flagged": false, "summary": "CoverflowView UI glitch when refreshing images array property", "creator": { "name": "trd.hero", "key": "trd.hero", "displayName": "Heroaki Anthony N. Lawas", "active": true, "timeZone": "Asia/Singapore" }, "subtasks": [], "reporter": { "name": "trd.hero", "key": "trd.hero", "displayName": "Heroaki Anthony N. Lawas", "active": true, "timeZone": "Asia/Singapore" }, "environment": "Titanium SDK: 3.5.1, 4.0.0, 4.1.0, 5.0.2.GA\r\nOS: Mac\r\nDevice: Iphone 5", "comment": { "comments": [], "maxResults": 2, "total": 2, "startAt": 0 } } }