{ "id": "134991", "key": "AC-1434", "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": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2014-09-04T07:42:42.000+0000", "created": "2014-08-20T00:50:21.000+0000", "labels": [ "TCSupportTriage", "core", "ios" ], "versions": [], "issuelinks": [], "assignee": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "updated": "2016-03-08T07:37:51.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": "There seems to an issue with dynamically populated ScrollView in 3.3.0.GA. The issue is shown when the window is opened and popped on the Nav window. See images below. I have verified that is issue did not arise on SDK 3.2.3.GA. \r\n\r\nLooking at github it is unclear as to the reason why. The last change to ScrollView was back in 2013.\r\n\r\nHere is Alloy definition of my ScrollView and content:\r\n\r\n \r\n \r\n\r\n\".container\":{\r\n bottom: '10dp',\r\n left: '3%',\r\n width: '94%',\r\n height: Ti.UI.SIZE,\r\n layout: 'horizontal'\r\n}\r\n\r\nDynamic content is added to the view page. N number of \"Text\" controllers are created and added to page.\r\n\r\n\r\n \r\n\r\n\".col-4\":{\r\n layout: 'vertical',\r\n width: '99.666666%',\r\n height: Ti.UI.SIZE,\r\n}\r\n\r\n\".text-default\":{\r\n font:{\r\n fontFamily: \"Baskerville\",\r\n fontSize: 20\r\n }\r\n}\r\n\r\n\r\nNote: \r\n\r\nScreen Shot 2014-08-19 at 7.36.30 PM.png - SDK 3.3.0.GA\r\nScreen Shot 2014-08-19 at 7.36.34 PM.png - SDK 3.2.3.GA\r\n\r\nThanks,\r\n\r\nTony", "attachment": [ { "id": "50582", "filename": "Screen Shot 2014-08-19 at 7.36.30 PM.png", "author": { "name": "TNuzzi", "key": "tnuzzi", "displayName": "Tony Nuzzi", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-08-20T00:50:21.000+0000", "size": 941090, "mimeType": "image/png" }, { "id": "50581", "filename": "Screen Shot 2014-08-19 at 7.36.34 PM.png", "author": { "name": "TNuzzi", "key": "tnuzzi", "displayName": "Tony Nuzzi", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-08-20T00:50:21.000+0000", "size": 674416, "mimeType": "image/png" } ], "flagged": false, "summary": "Dynamically Populated ScrollView is causing display issue on 3.3.0.GA", "creator": { "name": "TNuzzi", "key": "tnuzzi", "displayName": "Tony Nuzzi", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "TNuzzi", "key": "tnuzzi", "displayName": "Tony Nuzzi", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "OSX, 3.3.0.GA, iOS", "comment": { "comments": [ { "id": "320055", "author": { "name": "morahman", "key": "morahman", "displayName": "Motiur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hello,\r\nWe have tested this issue with dynamically populated scrollView . But we didn’t reproduce this as like reporter attached image.\r\n\r\nh3.Testing Environment: \r\nTitanium SDK: 3.3.0.GA, 3.2.3.GA\r\nTitanium CLI: 3.3.0,\r\nIOS Simulator: 7.1,\r\nOS X Version: 10.9.4,\r\nAppcelerator Studio: 3.3.0\r\n\r\nh3.Steps to Test:\r\n1. Create an alloy project.\r\n2. Paste this code in index.js and index.xml file.\r\n3. Run this code with the testing environment.\r\n\r\nh3. Test Code\r\n{code:title=index.js}\r\nfunction label(i) {\r\n\tvar test = Ti.UI.createLabel({\r\n\t\ttext : 'Hello how are you?',\r\n\t\tcolor : '#000',\r\n\t\tfont : {\r\n\t\t\tfontFamily : \"Baskerville\",\r\n\t\t\tfontSize : 18\r\n\t\t},\r\n\t\theight : Ti.UI.SIZE,\r\n\t\twidth : Ti.UI.SIZE,\r\n\t\tleft : 2,\r\n\t\ttop : 10\r\n\r\n\t});\r\n\treturn test;\r\n}\r\n\r\nfor (var i = 1; i < 200; i++) {\r\n\tvar view1 = label(i);\r\n\t$.view.add(view1);\r\n};\r\n\r\n$.win.open();\r\n\r\n{code}\r\n\r\n{code:title=index.xml}\r\n\r\n\t\r\n\t\t\r\n\t\t\t\r\n\t\t\r\n\t\r\n\r\n{code}\r\n\r\nThanks.", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2014-08-23T08:17:30.000+0000", "updated": "2014-09-04T07:42:15.000+0000" }, { "id": "321754", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "Will reopen if the reporter produces a runnable testcase. ", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2014-09-04T07:42:42.000+0000", "updated": "2014-09-04T07:42:42.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }