{ "id": "169973", "key": "TIMOB-25376", "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": "19906", "description": "", "name": "Release 6.3.0", "archived": false, "released": true, "releaseDate": "2017-11-01" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-10-12T18:14:15.000+0000", "created": "2017-10-09T16:27:41.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "android", "listview", "qe-6.3.0" ], "versions": [ { "id": "19542", "description": "", "name": "Release 6.2.2", "archived": false, "released": true, "releaseDate": "2017-09-19" } ], "issuelinks": [ { "id": "56031", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "169982", "key": "TIMOB-25381", "fields": { "summary": "ListView with Ti.UI.SIZE rows don't maintain size after scrolling", "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": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "56033", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "134939", "key": "TIMOB-17512", "fields": { "summary": "Android: ListView ListItems disappear on scrolling when height set as TI.UI.SIZE", "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": "Low", "id": "4" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-10-20T17:07:34.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "Hi,\r\n\r\nIn our app we have a list view where list template consists of views, labels. On scroll of list view , list item is not rendering properly(a view is occupying entire list view width and height).\r\n\r\nIt is working fine with 6.1.2 GA whereas we are having this issue with 6.2.X SDK. Even tried with 6.3.0.v20170929040536 but having the same issue.\r\nNote: It is an issue with Android.\r\n\r\nTest Code\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n\twidth : Ti.UI.FILL,\r\n\theight : Ti.UI.FILL,\r\n\tbackgroundColor : 'black'\r\n});\r\nvar listWithNetworkTemplate = {\r\n\tchildTemplates : [{// AddressView\r\n\t\ttype : 'Ti.UI.View',\r\n\t\tbindId : 'addressView',\r\n\t\tproperties : {\r\n\t\t\tlayout : 'vertical',\r\n\t\t\tleft : 8,\r\n\t\t\twidth : '84%',\r\n\t\t\ttouchEnabled : false,\r\n\t\t\theight : Ti.UI.SIZE,\r\n\t\t\ttop : 10\r\n\t\t},\r\n\t\tchildTemplates : [{// Title\r\n\t\t\ttype : 'Ti.UI.Label',\r\n\t\t\tbindId : 'title',\r\n\t\t\tproperties : {\r\n\t\t\t\tcolor : 'black',\r\n\t\t\t\ttouchEnabled : false,\r\n\t\t\t\tleft : 5\r\n\t\t\t}\r\n\t\t}, {// netWorkView\r\n\t\t\ttype : 'Ti.UI.View',\r\n\t\t\tbindId : 'netWorkView',\r\n\t\t\tproperties : {\r\n\t\t\t\twidth : Ti.UI.SIZE,\r\n\t\t\t\theight : Ti.UI.SIZE,\r\n\t\t\t\tleft : 5,\r\n\t\t\t\tbottom : 2,\r\n\t\t\t\ttop : 2,\r\n\t\t\t\tborderWidth : 1,\r\n\t\t\t\tborderColor : '#00AFD8',\r\n\t\t\t\ttouchEnabled : false\r\n\t\t\t},\r\n\t\t\tchildTemplates : [{\r\n\t\t\t\t// Image NetWork\r\n\t\t\t\ttype : 'Ti.UI.Label',\r\n\t\t\t\tbindId : 'networkImage',\r\n\t\t\t\tproperties : {\r\n\t\t\t\t\tcolor : '#00AFD8',\r\n\t\t\t\t\ttouchEnabled : false,\r\n\t\t\t\t\twidth : Ti.UI.SIZE,\r\n\t\t\t\t\theight : Ti.UI.SIZE,\r\n\t\t\t\t\ttop : 2,\r\n\t\t\t\t\tbottom : 2,\r\n\t\t\t\t\tleft : 6,\r\n\t\t\t\t\tright : 6\r\n\t\t\t\t}\r\n\t\t\t}]\r\n\t\t}, {// subTitle\r\n\t\t\ttype : 'Ti.UI.Label',\r\n\t\t\tbindId : 'subTitle',\r\n\t\t\tproperties : {\r\n\t\t\t\ttouchEnabled : false,\r\n\t\t\t\tcolor : 'blue',\r\n\t\t\t\tleft : 5,\r\n\t\t\t\tbottom : 10\r\n\t\t\t}\r\n\t\t}]\r\n\t}]\r\n};\r\nvar listTemplates = {\r\n\t'listWithNetworkTemplate' : listWithNetworkTemplate,\r\n};\r\nfunction createListViewItems(data) {\r\n\tvar listItems = [];\r\n\tfor (var i = 0,\r\n\t j = 15; i < j; i++) {\r\n\t\tlistItems.push({\r\n\t\t\ttemplate : 'listWithNetworkTemplate',\r\n\t\t\ttitle : {\r\n\t\t\t\ttext : \"title\"\r\n\t\t\t},\r\n\t\t\tsubTitle : {\r\n\t\t\t\ttext : \"distance\",\r\n\t\t\t},\r\n\t\t\tviewProfile : {\r\n\t\t\t\ttext : \"VIEW_PROFILE\" + '\\n'\r\n\t\t\t},\r\n\t\t\tnetworkImage : {\r\n\t\t\t\ttext : \"NETWORK PROVIDER\"\r\n\t\t\t},\r\n\t\t\tproperties : {\r\n\t\t\t\theight : Ti.UI.SIZE,\r\n\t\t\t\tbackgroundColor : 'white'\r\n\t\t\t}\r\n\t\t});\r\n\t}\r\n\treturn listItems;\r\n}\r\n\r\nvar tableItems = createListViewItems();\r\nvar tableSection = Ti.UI.createListSection({\r\n\titems : tableItems\r\n});\r\nvar table = Ti.UI.createListView({\r\n\ttemplates : listTemplates,\r\n\tfooterDividersEnabled : true,\r\n\tseparatorColor : 'blue',\r\n\tdefaultItemTemplate : 'listWithNetworkTemplate',\r\n\tsections : [tableSection]\r\n});\r\nwin.add(table);\r\nwin.open();\r\n{code}\r\n\r\nSteps to reproduce:\r\n1. Run the attached app on Android device\r\n2.Scroll the list view\r\n\r\n\r\nThanks", "attachment": [ { "id": "63396", "filename": "0-sa-d1-d2012903e81dae4be49e96a4c642b49e.jpg", "author": { "name": "aislam", "key": "aislam", "displayName": "Aminul Islam", "active": false, "timeZone": "Etc/GMT-6" }, "created": "2017-10-09T16:29:06.000+0000", "size": 80172, "mimeType": "image/jpeg" }, { "id": "63397", "filename": "0-sa-d4-a61a0fb98f222c8439c0d821051a02b7.jpg", "author": { "name": "aislam", "key": "aislam", "displayName": "Aminul Islam", "active": false, "timeZone": "Etc/GMT-6" }, "created": "2017-10-09T16:29:06.000+0000", "size": 38147, "mimeType": "image/jpeg" } ], "flagged": false, "summary": "Android:List item is not rendering properly with 6.2.X and above", "creator": { "name": "aislam", "key": "aislam", "displayName": "Aminul Islam", "active": false, "timeZone": "Etc/GMT-6" }, "subtasks": [], "reporter": { "name": "aislam", "key": "aislam", "displayName": "Aminul Islam", "active": false, "timeZone": "Etc/GMT-6" }, "environment": "Operating System\r\n Name = Mac OS X\r\n Version = 10.11.6\r\n Architecture = 64bit\r\n # CPUs = 4\r\n Memory = 8589934592\r\nNode.js\r\n Node.js Version = 4.4.4\r\n npm Version = 2.15.1\r\nTitanium CLI\r\n CLI Version = 5.0.14\r\nTitanium SDK\r\n SDK Version = 6.2.2.GA", "closedSprints": [ { "id": 959, "state": "closed", "name": "2017 Sprint 21 SDK", "startDate": "2017-10-08T20:38:15.130Z", "endDate": "2017-10-22T20:38:00.000Z", "completeDate": "2017-10-24T23:55:56.605Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "428893", "author": { "name": "ybanev", "key": "ybanev", "displayName": "Yordan Banev", "active": true, "timeZone": "Europe/Athens" }, "body": "I believe this is the very same problem as the ticket I just linked.", "updateAuthor": { "name": "ybanev", "key": "ybanev", "displayName": "Yordan Banev", "active": true, "timeZone": "Europe/Athens" }, "created": "2017-10-10T14:51:25.000+0000", "updated": "2017-10-10T14:51:25.000+0000" }, { "id": "428918", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR (master): https://github.com/appcelerator/titanium_mobile/pull/9517\r\nPR (6.3.x): https://github.com/appcelerator/titanium_mobile/pull/9518", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-10-11T01:17:52.000+0000", "updated": "2017-10-11T01:17:52.000+0000" }, { "id": "429040", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR passed for both PR's.\r\nMerged backport PR, waiting for merge button to be enabled to merge master PR.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-10-12T18:14:04.000+0000", "updated": "2017-10-12T18:14:04.000+0000" }, { "id": "429343", "author": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "body": "Verified ticket List items are now rendered correctly.\r\n\r\nENV:\r\n\r\n{noformat}\r\nmacOS High Sierra 10.13\r\nNexus 5X(6.0.1)\r\nGoogle Pixel Xl (8.0)\r\nandroid emulator (4.4.2, 6.0)\r\nTi SDK: 6.3.0.v20171018084007\r\nAppc NPM: 4.2.10-2\r\nApp CLI: 6.3.0-master.15\r\nNode v6.11.4\r\n{noformat}\r\n\r\n*Closing Ticket.*", "updateAuthor": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "created": "2017-10-20T17:07:14.000+0000", "updated": "2017-10-20T17:07:14.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }