{ "id": "169687", "key": "TIMOB-25223", "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": "18414", "description": "", "name": "Release 6.2.0", "archived": false, "released": true, "releaseDate": "2017-09-13" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-09-07T01:22:20.000+0000", "created": "2017-09-01T15:56:27.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "android", "automated", "listview", "regression" ], "versions": [ { "id": "18414", "description": "", "name": "Release 6.2.0", "archived": false, "released": true, "releaseDate": "2017-09-13" } ], "issuelinks": [ { "id": "55880", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "169688", "key": "TIMOB-25222", "fields": { "summary": "Android: Nested views with Ti.UI.FILL in width/height is not visible", "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 } } } } ], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-09-15T23:15:40.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": [], "description": "*Summary:*\r\nWhen creating a ListView and adding a loading indicator (view + ActivitiyIndicator) after the ListView, the loading indicator is not visible with 6.2.0.RC\r\n\r\n*Code:*\r\n{code:javascript}\r\nvar win = Ti.UI.createWindow({\r\n\t\tbackgroundColor: 'gray'\r\n\t}),\r\n\tlist = Ti.UI.createListView({\r\n\t\tseparatorColor: \"transparent\",\r\n\t\ttemplates: {\r\n\t\t\ttemplate: {\r\n\t\t\t\tchildTemplates: [{\r\n\t\t\t\t\ttype: 'Ti.UI.View',\r\n\t\t\t\t\tbindId: 'item',\r\n\t\t\t\t\tproperties: {\r\n\t\t\t\t\t\ttop: '5dp',\r\n\t\t\t\t\t\tbottom: '5dp',\r\n\t\t\t\t\t\twidth: '200dp',\r\n\t\t\t\t\t\theight: '50dp',\r\n\t\t\t\t\t\tborderWidth: '8dp',\r\n\t\t\t\t\t\tbackgroundColor: 'green'\r\n\t\t\t\t\t}\r\n\t\t\t\t}]\r\n\t\t\t}\r\n\t\t},\r\n\t\tdefaultItemTemplate: 'template'\r\n\t}),\r\n\tsection = Ti.UI.createListSection(),\r\n\titems = [];\r\n\r\nfor (var i = 0; i < 24; i++) {\r\n\tvar colour = i % 2 ? 'green' : 'yellow';\r\n\titems.push({\r\n\t\titem: {\r\n\t\t\tbackgroundColor: colour,\r\n\t\t\tborderColor: colour\r\n\t\t}\r\n\t});\r\n}\r\n\r\nsection.setItems(items);\r\nlist.setSections([section]);\r\nwin.add(list);\r\n\r\nvar fgview = Ti.UI.createView({\r\n\twidth: Ti.UI.FILL,\r\n\theight: Ti.UI.FILL,\r\n\tbackgroundColor: \"rgba(0,0,0,0.5)\"\r\n});\r\nvar act = Ti.UI.createActivityIndicator({});\r\n\r\nfgview.add(act);\r\nwin.add(fgview);\r\nact.show();\r\nwin.open();\r\n{code}\r\n\r\n*Results:*\r\n6.1.2.GA: Black View + ActivityIndicator shown in front of the ListView\r\n6.2.0.RC: ListView stays in front; black view + ActivityIndicator not visible", "attachment": [], "flagged": false, "summary": "Android: ListView in front of other views (wrong z-order)", "creator": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "closedSprints": [ { "id": 944, "state": "closed", "name": "2017 Sprint 18 SDK", "startDate": "2017-08-27T21:13:39.311Z", "endDate": "2017-09-10T21:13:00.000Z", "completeDate": "2017-09-10T21:24:16.435Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "427542", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "It's not just related to {{ActivityIndicator}}, it's related to the {{height}} of the view. It seems {{Ti.UI.FILL}} is not being calculated correctly?\r\n\r\n*TEST CASE*\r\n{code:js}\r\nvar win = Ti.UI.createWindow({\r\n\t\tbackgroundColor: 'gray'\r\n\t}),\r\n\tlist = Ti.UI.createListView(),\r\n\tsection = Ti.UI.createListSection({\r\n\t\titems: [\r\n\t\t\t{properties: {title: 'Square'}},\r\n\t\t\t{properties: {title: 'Circle'}},\r\n\t\t\t{properties: {title: 'Triangle'}}\r\n\t\t]\r\n\t}),\r\n\tview = Ti.UI.createView({\r\n\t\twidth: Ti.UI.FILL,\r\n\t\theight: 200, //Ti.UI.FILL,\r\n\t\tbackgroundColor: 'red'\r\n\t});\r\n\r\nlist.setSections([section]);\r\nwin.add([list, view]);\r\n\r\nwin.open();\r\n{code}", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-09-04T14:45:46.000+0000", "updated": "2017-09-04T14:57:37.000+0000" }, { "id": "427543", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-09-04T14:50:26.000+0000", "updated": "2017-09-04T14:50:43.000+0000" }, { "id": "427545", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "-master-: https://github.com/appcelerator/titanium_mobile/pull/9397\r\n-6_2_X-: https://github.com/appcelerator/titanium_mobile/pull/9396", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-09-04T16:45:06.000+0000", "updated": "2017-09-06T12:28:18.000+0000" }, { "id": "427620", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Continued by:\r\n\r\nmaster: https://github.com/appcelerator/titanium_mobile/pull/9403\r\n6_2_X: https://github.com/appcelerator/titanium_mobile/pull/9404", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-09-06T12:27:12.000+0000", "updated": "2017-09-06T12:27:12.000+0000" }, { "id": "427662", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR Passed. PR's merged.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-09-07T01:22:03.000+0000", "updated": "2017-09-07T01:22:03.000+0000" }, { "id": "427699", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix in SDK 6.2.0.v20170907070223 & 7.0.0.v20170907070720.\r\nClosing.\r\nStudio Ver: 4.9.1.201707200100\r\nOS Ver: 10.12.3\r\nXcode Ver: Xcode 8.3.3\r\nAppc NPM: 4.2.9\r\nAppc CLI: 6.2.4-9\r\nTi CLI Ver: 5.0.14\r\nAlloy Ver: 1.9.13\r\nNode Ver: 6.11.2\r\nJava Ver: 1.8.0_101\r\nDevices: ⇨ google Nexus 5 — Android 6.0.1\r\n⇨ google Pixel — Android 7.1.1", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-09-07T18:39:52.000+0000", "updated": "2017-09-07T18:39:52.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }