{ "id": "169688", "key": "TIMOB-25222", "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:21:19.000+0000", "created": "2017-09-01T23:26:03.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "android", "automated", "layout" ], "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" }, "outwardIssue": { "id": "169687", "key": "TIMOB-25223", "fields": { "summary": "Android: ListView in front of other views (wrong z-order)", "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:16:01.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": "*Summary:*\r\n\r\nAdding two views with width/height `Ti.UI.FILL` inside a view with fixed width/height only shows one view in 6.2.0.RC\r\n\r\n*Expected*\r\n\r\nBoth images should be visible\r\n\r\n*Workaround*\r\n\r\nSet the inner views width/height to the outer view width/height.\r\n\r\n*Code*\r\n*correct* in 6.1.2.GA\r\n*broken* in 6.2.0.RC\r\n\r\n{code:javascript}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor: '#fff'\r\n});\r\n\r\nvar v1 = Ti.UI.createView({\r\n\twidth: 100,\r\n\theight: 100,\r\n\tborderWidth: 1,\r\n\tborderColor: \"#000\"\r\n});\r\n\r\nvar v3 = Ti.UI.createView({\r\n\twidth: Ti.UI.FILL,\r\n\theight: Ti.UI.FILL,\r\n\tbackgroundImage: \"assets/images/tab2.png\"\r\n})\r\nvar v2 = Ti.UI.createView({\r\n\twidth: Ti.UI.FILL,\r\n\theight: Ti.UI.FILL,\r\n\tbackgroundImage: \"assets/images/tab1.png\"\r\n})\r\n\r\nv1.add(v3);\r\nv1.add(v2);\r\nwin.add(v1);\r\nwin.open();\r\n{code}\r\n\r\n*Code (Work-Around)*\r\n*correct* in 6.2.0.RC\r\n*correct* in 6.1.2.GA\r\n{code:javascript}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor: '#fff'\r\n});\r\n\r\nvar v1 = Ti.UI.createView({\r\n\twidth: 100,\r\n\theight: 100,\r\n\tborderWidth: 1,\r\n\tborderColor: \"#000\"\r\n});\r\n\r\nvar v3 = Ti.UI.createView({\r\n\twidth: 100,\r\n\theight: 100,\r\n\tbackgroundImage: \"assets/images/tab2.png\"\r\n})\r\nvar v2 = Ti.UI.createView({\r\n\twidth: 100,\r\n\theight: 100,\r\n\tbackgroundImage: \"assets/images/tab1.png\"\r\n})\r\n\r\nv1.add(v2);\r\nv1.add(v3);\r\nwin.add(v1);\r\nwin.open();\r\n{code}", "attachment": [ { "id": "63167", "filename": "correct.png", "author": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-09-01T23:25:20.000+0000", "size": 67982, "mimeType": "image/png" }, { "id": "63166", "filename": "wrong.png", "author": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-09-01T23:25:20.000+0000", "size": 54074, "mimeType": "image/png" } ], "flagged": false, "summary": "Android: Nested views with Ti.UI.FILL in width/height is not visible", "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, "comment": { "comments": [ { "id": "427594", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This will be fixed by TIMOB-25223 [#9397|https://github.com/appcelerator/titanium_mobile/pull/9397]", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-09-05T16:15:28.000+0000", "updated": "2017-09-05T16:15:28.000+0000" }, { "id": "427661", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR Passed, PR's merged in TIMOB-25223", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-09-07T01:21:06.000+0000", "updated": "2017-09-07T01:21:06.000+0000" }, { "id": "427698", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as TIMOB-25223 is resolved & closed.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-09-07T18:33:31.000+0000", "updated": "2017-09-07T18:33:31.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }