{ "id": "169561", "key": "TIMOB-25173", "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-08-22T19:20:45.000+0000", "created": "2017-08-15T23:15:42.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "android", "layout" ], "versions": [ { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "issuelinks": [ { "id": "55823", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "139095", "key": "TIMOB-17984", "fields": { "summary": "TextArea set to FILL not wrapping correctly inside a horizontal layout with another sibling", "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": "55825", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "142072", "key": "TIMOB-19598", "fields": { "summary": "Bug with Ti.UI.SIZE for view height on android", "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": "55826", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "152318", "key": "TIMOB-19814", "fields": { "summary": "TI.UI.FILL does not work on Android and Mobile Web", "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": "55819", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "87928", "key": "TIMOB-7993", "fields": { "summary": "Android: Parity: Child view with fill behavior should recursively look at parents for width/height constraint when direct parent has size behavior", "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": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "55824", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "137344", "key": "TIMOB-19536", "fields": { "summary": "Android: When Multiple Views in horizontal layout, \"SIZE\" constrains to the full container size, not the remaining available width", "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": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "55820", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "110823", "key": "TIMOB-12996", "fields": { "summary": "Android: Unexpected layout when adding images and labels to TableViewRow", "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 } } } }, { "id": "55821", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "119306", "key": "TIMOB-15097", "fields": { "summary": "Android: Ti.UI.FILL stretches parent views beyond absolutely-sized parent", "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 } } } }, { "id": "55822", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "134004", "key": "TIMOB-17628", "fields": { "summary": "Android: - ListView: different behavior while calculating height on Android and iOS (parity issue)", "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": "None", "id": "6" }, "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-08-22T23:14:36.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\nAndroid does not resolve a parent Ti.UI.SIZE and child Ti.UI.FILL conflict in the same manner as iOS and Windows Phone. The issue is that the parent wants to auto-size itself based on the child and the child wants to auto-size itself based on the parent. iOS and Windows resolves this by increasing the size of the child to fit the parent's parent. Android resolves this by shrinking the parent to just-fit the child's minimum size. Android should be changed to match iOS and Windows' behavior for portability.\r\n\r\n*Cause:*\r\nTitanium uses the Android MATCH_PARENT setting for Ti.UI.FILL. Unfortunately, the native Android behavior does not match iOS and Windows's behavior. Because of this, we cannot use this setting.\r\n\r\n*Work-Around:*\r\nInstead of using Ti.UI.FILL, you can use \"100%\" instead for vertical and composite layouts. However, this work-around will not work well in a horizontal layout if their are multiple views on the same row.\r\n\r\n*Tests to reproduce:*\r\nPlease see the attached JavaScript files for testing:\r\n- [^ListViewFillTest.js] \r\n- [^SizeFillConflictTest.js] \r\n- [^VerticalFillTest.js] \r\n- [^HorizontalFillTest.js] \r\n- [^HorizontalPinningTest.js] \r\n\r\nThere are also attached screenshots for each test script above. The \"Bad\" screenshots show the buggy behavior on Android. The \"Good\" screenshots are the expected results.\r\n", "attachment": [ { "id": "63068", "filename": "HorizontalFill-Bad.png", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-08-15T23:14:05.000+0000", "size": 72804, "mimeType": "image/png" }, { "id": "63067", "filename": "HorizontalFill-Good.png", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-08-15T23:14:05.000+0000", "size": 83435, "mimeType": "image/png" }, { "id": "63075", "filename": "HorizontalFillTest.js", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-08-15T23:11:14.000+0000", "size": 6942, "mimeType": "application/x-javascript" }, { "id": "63107", "filename": "HorizontalPinning-Bad.png", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-08-18T02:23:52.000+0000", "size": 110986, "mimeType": "image/png" }, { "id": "63106", "filename": "HorizontalPinning-Good.png", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-08-18T02:23:52.000+0000", "size": 111091, "mimeType": "image/png" }, { "id": "63105", "filename": "HorizontalPinningTest.js", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-08-18T02:23:52.000+0000", "size": 3592, "mimeType": "application/x-javascript" }, { "id": "63074", "filename": "ListViewFill-Bad.png", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-08-15T23:13:40.000+0000", "size": 23609, "mimeType": "image/png" }, { "id": "63073", "filename": "ListViewFill-Good.png", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-08-15T23:13:40.000+0000", "size": 28240, "mimeType": "image/png" }, { "id": "63078", "filename": "ListViewFillTest.js", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-08-15T23:10:11.000+0000", "size": 611, "mimeType": "application/x-javascript" }, { "id": "63072", "filename": "SizeFillConflict-Bad.png", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-08-15T23:13:51.000+0000", "size": 22159, "mimeType": "image/png" }, { "id": "63071", "filename": "SizeFillConflict-Good.png", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-08-15T23:13:51.000+0000", "size": 25258, "mimeType": "image/png" }, { "id": "63077", "filename": "SizeFillConflictTest.js", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-08-15T23:10:36.000+0000", "size": 611, "mimeType": "application/x-javascript" }, { "id": "63070", "filename": "VerticalFill-Bad.png", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-08-15T23:13:58.000+0000", "size": 24987, "mimeType": "image/png" }, { "id": "63069", "filename": "VerticalFill-Good.png", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-08-15T23:13:58.000+0000", "size": 29073, "mimeType": "image/png" }, { "id": "63076", "filename": "VerticalFillTest.js", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-08-15T23:11:02.000+0000", "size": 1414, "mimeType": "application/x-javascript" } ], "flagged": false, "summary": "Android: Size/Fill layout conflicts are not handled the same as iOS and Windows", "creator": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 939, "state": "closed", "name": "2017 Sprint 17 SDK", "startDate": "2017-08-13T23:08:29.095Z", "endDate": "2017-08-27T23:08:00.000Z", "completeDate": "2017-08-27T21:10:54.125Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "426765", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR (master): https://github.com/appcelerator/titanium_mobile/pull/9320\r\nPR (6.2.x): https://github.com/appcelerator/titanium_mobile/pull/9321\r\n", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-08-16T04:10:35.000+0000", "updated": "2017-08-16T04:10:35.000+0000" }, { "id": "427048", "author": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Passed FR. PR merged. Changes are seen in SDK versions:\r\n6.2.0.v20170822113609\r\n7.0.0.v20170822142802", "updateAuthor": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-08-22T19:20:36.000+0000", "updated": "2017-08-22T23:14:14.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }